diff options
author | Fredrik Höglund <[email protected]> | 2012-10-10 16:27:31 +0200 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2012-10-16 13:21:41 +0200 |
commit | 762d9ace6b02e792b2efe69e81c6c5b81069e43b (patch) | |
tree | d8a71e0cf4ab298e9958ea2f969cd7a10b03fb17 /src/mapi/glapi | |
parent | 017c6fb324194ba1c2e15fbee2f85a2fd8f140c4 (diff) |
mesa/es: Enable GL_EXT_map_buffer_range
This extension is functionally the same as GL_ARB_map_buffer_range.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/es_EXT.xml | 24 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gles_api.py | 6 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 9e735834df6..22c087ca4bc 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -737,4 +737,28 @@ <enum name="COMPRESSED_RGBA_S3TC_DXT5_ANGLE" value="0x83F3"/> </category> +<!-- 121. GL_EXT_map_buffer_range --> +<category name="GL_EXT_map_buffer_range" number="121"> + <enum name="MAP_READ_BIT_EXT" value="0x0001"/> + <enum name="MAP_WRITE_BIT_EXT" value="0x0002"/> + <enum name="MAP_INVALIDATE_RANGE_BIT_EXT" value="0x0004"/> + <enum name="MAP_INVALIDATE_BUFFER_BIT_EXT" value="0x0008"/> + <enum name="MAP_FLUSH_EXPLICIT_BIT_EXT" value="0x0010"/> + <enum name="MAP_UNSYNCHRONIZED_BIT_EXT" value="0x0020"/> + + <function name="MapBufferRangeEXT" alias="MapBufferRange"> + <param name="target" type="GLenum"/> + <param name="offset" type="GLintptr"/> + <param name="size" type="GLsizeiptr"/> + <param name="length" type="GLbitfield"/> + <return type="GLvoid *"/> + </function> + + <function name="FlushMappedBufferRangeEXT" alias="FlushMappedBufferRange"> + <param name="target" type="GLenum"/> + <param name="offset" type="GLintptr"/> + <param name="length" type="GLsizeiptr"/> + </function> +</category> + </OpenGLAPI> diff --git a/src/mapi/glapi/gen/gles_api.py b/src/mapi/glapi/gen/gles_api.py index 8dfef655a8c..3bee1a62691 100644 --- a/src/mapi/glapi/gen/gles_api.py +++ b/src/mapi/glapi/gen/gles_api.py @@ -185,6 +185,9 @@ es1_api = es1_core + ( 'GetBufferPointervOES', 'MapBufferOES', 'UnmapBufferOES', + # GL_EXT_map_buffer_range + 'MapBufferRangeEXT', + 'FlushMappedBufferRangeEXT', # GL_EXT_multi_draw_arrays 'MultiDrawArraysEXT', 'MultiDrawElementsEXT', @@ -436,6 +439,9 @@ es2_api = es2_core + ( 'GetBufferPointervOES', 'MapBufferOES', 'UnmapBufferOES', + # GL_EXT_map_buffer_range + 'MapBufferRangeEXT', + 'FlushMappedBufferRangeEXT', # GL_EXT_multi_draw_arrays 'MultiDrawArraysEXT', 'MultiDrawElementsEXT', |