aboutsummaryrefslogtreecommitdiff
path: root/mesalib/include/GL/osmesa.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-19 07:53:39 +0100
committermarha <marha@users.sourceforge.net>2013-11-19 07:53:39 +0100
commitf75616ac3e99a6bb814803c823cb34533b9fc328 (patch)
tree83e9fff2bbf6c94df686a938d00858e0a06adcf0 /mesalib/include/GL/osmesa.h
parentcb043e6091c966fa8b772ec86fbc026ddcac9d87 (diff)
parent73db05c85f7a8cf2439f7c333ede6ff2dc4877d7 (diff)
downloadvcxsrv-f75616ac3e99a6bb814803c823cb34533b9fc328.tar.gz
vcxsrv-f75616ac3e99a6bb814803c823cb34533b9fc328.tar.bz2
vcxsrv-f75616ac3e99a6bb814803c823cb34533b9fc328.zip
Merge remote-tracking branch 'origin/released'
* origin/released: libxcb xcb-proto xserver mesa git update 19 nov 2013
Diffstat (limited to 'mesalib/include/GL/osmesa.h')
-rw-r--r--mesalib/include/GL/osmesa.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/mesalib/include/GL/osmesa.h b/mesalib/include/GL/osmesa.h
index 10c472d49..16ee89ae4 100644
--- a/mesalib/include/GL/osmesa.h
+++ b/mesalib/include/GL/osmesa.h
@@ -60,8 +60,8 @@ extern "C" {
#include <GL/gl.h>
-#define OSMESA_MAJOR_VERSION 6
-#define OSMESA_MINOR_VERSION 5
+#define OSMESA_MAJOR_VERSION 10
+#define OSMESA_MINOR_VERSION 0
#define OSMESA_PATCH_VERSION 0
@@ -270,6 +270,21 @@ OSMesaGetProcAddress( const char *funcName );
GLAPI void GLAPIENTRY
OSMesaColorClamp(GLboolean enable);
+
+/**
+ * Enable/disable Gallium post-process filters.
+ * This should be called after a context is created, but before it is
+ * made current for the first time. After a context has been made
+ * current, this function has no effect.
+ * If the enable_value param is zero, the filter is disabled. Otherwise
+ * the filter is enabled, and the value may control the filter's quality.
+ * New in Mesa 10.0
+ */
+GLAPI void GLAPIENTRY
+OSMesaPostprocess(OSMesaContext osmesa, const char *filter,
+ unsigned enable_value);
+
+
#ifdef __cplusplus
}
#endif