histogram.h revision 01e04c3f
17117f1b4Smrg/**
27117f1b4Smrg * \file histogram.h
37117f1b4Smrg * Histogram.
47117f1b4Smrg *
57117f1b4Smrg * \if subset
67117f1b4Smrg * (No-op)
77117f1b4Smrg *
87117f1b4Smrg * \endif
97117f1b4Smrg */
107117f1b4Smrg
117117f1b4Smrg/*
127117f1b4Smrg * Mesa 3-D graphics library
137117f1b4Smrg *
147117f1b4Smrg * Copyright (C) 1999-2003  Brian Paul   All Rights Reserved.
157117f1b4Smrg *
167117f1b4Smrg * Permission is hereby granted, free of charge, to any person obtaining a
177117f1b4Smrg * copy of this software and associated documentation files (the "Software"),
187117f1b4Smrg * to deal in the Software without restriction, including without limitation
197117f1b4Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
207117f1b4Smrg * and/or sell copies of the Software, and to permit persons to whom the
217117f1b4Smrg * Software is furnished to do so, subject to the following conditions:
227117f1b4Smrg *
237117f1b4Smrg * The above copyright notice and this permission notice shall be included
247117f1b4Smrg * in all copies or substantial portions of the Software.
257117f1b4Smrg *
267117f1b4Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
277117f1b4Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
287117f1b4Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
29af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
30af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
31af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
32af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE.
337117f1b4Smrg */
347117f1b4Smrg
357117f1b4Smrg
367117f1b4Smrg#ifndef HISTOGRAM_H
377117f1b4Smrg#define HISTOGRAM_H
387117f1b4Smrg
3901e04c3fSmrg#include "glheader.h"
403464ebd5Sriastradh
417117f1b4Smrg
42af69d88dSmrgvoid GLAPIENTRY
43af69d88dSmrg_mesa_GetnMinmaxARB(GLenum target, GLboolean reset, GLenum format,
44af69d88dSmrg                    GLenum type, GLsizei bufSize, GLvoid *values);
45af69d88dSmrgvoid GLAPIENTRY
46af69d88dSmrg_mesa_GetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type,
47af69d88dSmrg                GLvoid *values);
48af69d88dSmrgvoid GLAPIENTRY
49af69d88dSmrg_mesa_GetnHistogramARB(GLenum target, GLboolean reset, GLenum format,
50af69d88dSmrg                       GLenum type, GLsizei bufSize, GLvoid *values);
51af69d88dSmrgvoid GLAPIENTRY
52af69d88dSmrg_mesa_GetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type,
53af69d88dSmrg                   GLvoid *values);
54af69d88dSmrgvoid GLAPIENTRY
55af69d88dSmrg_mesa_GetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
56af69d88dSmrgvoid GLAPIENTRY
57af69d88dSmrg_mesa_GetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
58af69d88dSmrgvoid GLAPIENTRY
59af69d88dSmrg_mesa_GetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
60af69d88dSmrgvoid GLAPIENTRY
61af69d88dSmrg_mesa_GetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
62af69d88dSmrgvoid GLAPIENTRY
63af69d88dSmrg_mesa_Histogram(GLenum target, GLsizei width, GLenum internalFormat,
64af69d88dSmrg                GLboolean sink);
65af69d88dSmrgvoid GLAPIENTRY
66af69d88dSmrg_mesa_Minmax(GLenum target, GLenum internalFormat, GLboolean sink);
67af69d88dSmrgvoid GLAPIENTRY
68af69d88dSmrg_mesa_ResetHistogram(GLenum target);
69af69d88dSmrgvoid GLAPIENTRY
70af69d88dSmrg_mesa_ResetMinmax(GLenum target);
717117f1b4Smrg
727117f1b4Smrg
734a49301eSmrg#endif /* HISTOGRAM_H */
74