diff options
author | Kristian Høgsberg <[email protected]> | 2012-06-15 09:40:41 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-06-18 11:53:18 -0400 |
commit | 2d7b2d7a87f037fa435772b7ce7c7cc0f426d912 (patch) | |
tree | 162c5da30a23d9a14bdef4977b52a7af8c4bb154 /src/mesa/main/APIspec.xml | |
parent | e841a2426e9d58b8cfc95e6ccbe472d5960b3b62 (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/mesa/main/APIspec.xml')
-rw-r--r-- | src/mesa/main/APIspec.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index f23857ad2f4..64e666effd6 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -3534,6 +3534,13 @@ </proto> </template> +<template name="ReadBuffer"> + <proto> + <return type="void"/> + <param name="mode" type="GLenum"/> + </proto> +</template> + <api name="mesa" implementation="true"> <category name="MESA"/> @@ -3810,6 +3817,9 @@ <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/> <function name="DrawBuffersARB" template="DrawBuffers"/> + + <function name="ReadBuffer" template="ReadBuffer"/> + </api> <api name="GLES1.1"> @@ -4150,7 +4160,10 @@ <category name="EXT_unpack_subimage"/> <category name="NV_draw_buffers"/> + <category name="NV_read_buffer"/> + <function name="DrawBuffersNV" template="DrawBuffers"/> + <function name="ReadBufferNV" template="ReadBuffer"/> <function name="CullFace" template="CullFace"/> |