summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-06-15 09:40:41 -0400
committerKristian Høgsberg <[email protected]>2012-06-18 11:53:18 -0400
commit2d7b2d7a87f037fa435772b7ce7c7cc0f426d912 (patch)
tree162c5da30a23d9a14bdef4977b52a7af8c4bb154 /src/mapi/glapi
parente841a2426e9d58b8cfc95e6ccbe472d5960b3b62 (diff)
gles2: Add GL_NV_read_buffer extension
This lets us select the front buffer for reading under GLES2. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml7
-rw-r--r--src/mapi/glapi/gen/gles_api.py2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index c7e7d07e3cc..b26cac54b79 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -627,4 +627,11 @@
<enum name="REQUIRED_TEXTURE_IMAGE_UNITS_OES" value="0x8D68"/>
</category>
+<!-- 93. GL_NV_read_buffer -->
+<category name="NV_read_buffer">
+ <function name="ReadBufferNV" offset="assign">
+ <param name="mode" type="GLenum"/>
+ </function>
+</category>
+
</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/gles_api.py b/src/mapi/glapi/gen/gles_api.py
index 0116ba47406..70ae2e300ea 100644
--- a/src/mapi/glapi/gen/gles_api.py
+++ b/src/mapi/glapi/gen/gles_api.py
@@ -451,4 +451,6 @@ es2_api = es2_core + (
'ProgramBinaryOES',
# GL_NV_draw_buffers
'DrawBuffersNV',
+ # GL_NV_read_buffer
+ 'ReadBufferNV',
)