summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/histogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/histogram.h')
-rw-r--r--src/mesa/main/histogram.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mesa/main/histogram.h b/src/mesa/main/histogram.h
index ece6f11ed2d..548e0ba3839 100644
--- a/src/mesa/main/histogram.h
+++ b/src/mesa/main/histogram.h
@@ -1,3 +1,12 @@
+/**
+ * \file histogram.h
+ * Histogram.
+ *
+ * \if subset
+ * (No-op)
+ *
+ * \endif
+ */
/*
* Mesa 3-D graphics library
@@ -30,6 +39,7 @@
#include "glheader.h"
#include "mtypes.h"
+#if _HAVE_FULL_GL
extern void
_mesa_update_minmax(GLcontext *ctx, GLuint n, const GLfloat rgba[][4]);
@@ -58,4 +68,19 @@ extern void _mesa_ResetHistogram(GLenum target);
extern void _mesa_ResetMinmax(GLenum target);
+extern void
+_mesa_update_minmax(GLcontext *ctx, GLuint n, const GLfloat rgba[][4]);
+
+extern void
+_mesa_update_histogram(GLcontext *ctx, GLuint n, const GLfloat rgba[][4]);
+
+extern void _mesa_init_histogram( GLcontext * ctx );
+
+#else
+
+/** No-op */
+#define _mesa_init_histogram( c ) ((void) 0)
+
+#endif
+
#endif