diff options
author | Neil Roberts <[email protected]> | 2012-03-21 18:08:42 +0000 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-03-27 08:28:06 -0400 |
commit | 03f617f413ce0d24ac3c162337d06a24856198ff (patch) | |
tree | 6a3e7194b797a6b9935d071de199cdc43269eac5 /src/mesa/main/APIspec.xml | |
parent | 860f4846c711ac2e9d597314a692561bf34c86ba (diff) |
Add support for GL_EXT_unpack_subimage on GLES2
This extension just permits GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_ROWS
and GL_UNPACK_SKIP_PIXELS to be passed to glPixelStore on GLES2 so it
is trivial to implement.
Diffstat (limited to 'src/mesa/main/APIspec.xml')
-rw-r--r-- | src/mesa/main/APIspec.xml | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 29975f678b4..f23857ad2f4 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -1174,15 +1174,30 @@ <desc name="pname"> <value name="GL_PACK_ALIGNMENT"/> + <desc name="param" error="GL_INVALID_VALUE"> + <value name="1"/> + <value name="2"/> + <value name="4"/> + <value name="8"/> + </desc> + </desc> + + <desc name="pname"> <value name="GL_UNPACK_ALIGNMENT"/> + <desc name="param" error="GL_INVALID_VALUE"> + <value name="1"/> + <value name="2"/> + <value name="4"/> + <value name="8"/> + </desc> </desc> - <desc name="param" error="GL_INVALID_VALUE"> - <value name="1"/> - <value name="2"/> - <value name="4"/> - <value name="8"/> + <desc name="pname" category="EXT_unpack_subimage"> + <value name="GL_UNPACK_ROW_LENGTH"/> + <value name="GL_UNPACK_SKIP_PIXELS"/> + <value name="GL_UNPACK_SKIP_ROWS"/> </desc> + </template> <template name="ReadPixels" direction="get"> @@ -4132,6 +4147,7 @@ <category name="EXT_multi_draw_arrays"/> <category name="OES_EGL_image"/> <category name="OES_EGL_image_external"/> + <category name="EXT_unpack_subimage"/> <category name="NV_draw_buffers"/> <function name="DrawBuffersNV" template="DrawBuffers"/> |