summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 22:34:47 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 22:34:47 +0000
commit40c7ee4e84ba84f73b85521b47fe33e866c1d2da (patch)
treed2589e6da164405649f2818a0e45c083488a5b23 /gpu/GLES2
parentc66019913aa4948835a24ca0f9feccb63003a6d7 (diff)
downloadchromium_src-40c7ee4e84ba84f73b85521b47fe33e866c1d2da.zip
chromium_src-40c7ee4e84ba84f73b85521b47fe33e866c1d2da.tar.gz
chromium_src-40c7ee4e84ba84f73b85521b47fe33e866c1d2da.tar.bz2
Add glGetMultipleIntegervCHROMIUM
This is a step to adding more client side state caching. TEST=unit tests BUG=85969 R=apatrick@chromium.org Review URL: http://codereview.chromium.org/7217029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r--gpu/GLES2/gl2ext.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gpu/GLES2/gl2ext.h b/gpu/GLES2/gl2ext.h
index 8738f82..2c092e6 100644
--- a/gpu/GLES2/gl2ext.h
+++ b/gpu/GLES2/gl2ext.h
@@ -990,6 +990,23 @@ typedef void (GL_APIENTRYP PFNGLRATELIMITOFFSCREENCONTEXTCHROMIUM) ();
#endif
#endif
+/* GL_CHROMIUM_get_multiple */
+/*
+ * This extension provides functions for quering multiple GL state with a single
+ * call.
+ */
+#ifndef GL_CHROMIUM_get_multiple
+#define GL_CHROMIUM_get_multiple 1
+#ifdef GL_GLEXT_PROTOTYPES
+#define glGetMultipleIntegervCHROMIUM GLES2_GET_FUN(GetMultipleIntegervCHROMIUM)
+#if !defined(GLES2_USE_CPP_BINDINGS)
+GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM (void);
+#endif
+#else
+typedef void (GL_APIENTRYP PFNGLGETMULTIPLEINTEGERVCHROMIUM) ();
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif