[Mesa-dev] [PATCH 04/13] glapi: add ARB_buffer_storage
Fredrik Höglund
fredrik at kde.org
Thu Jan 30 10:40:11 PST 2014
On Thursday 30 January 2014, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/mapi/glapi/gen/gl_API.xml | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
> index 193ee37..4a70542 100644
> --- a/src/mapi/glapi/gen/gl_API.xml
> +++ b/src/mapi/glapi/gen/gl_API.xml
> @@ -8488,6 +8488,25 @@
>
> <xi:include href="ARB_texture_storage_multisample.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
>
> +<!-- ARB extension 142 - 143. -->
> +
> +<category name="GL_ARB_buffer_storage" number="144">
> + <enum name="MAP_PERSISTENT_BIT" value="0x40" />
> + <enum name="MAP_COHERENT_BIT" value="0x80" />
> + <enum name="DYNAMIC_STORAGE_BIT" value="0x100" />
> + <enum name="CLIENT_STORAGE_BIT" value="0x200" />
> + <enum name="BUFFER_IMMUTABLE_STORAGE" value="0x821F" />
> + <enum name="BUFFER_STORAGE_FLAGS" value="0x8220" />
> + <enum name="CLIENT_MAPPED_BUFFER_BARRIER_BIT" value="0x4000" />
> +
> + <function name="BufferStorage" offset="assign">
> + <param name="target" type="GLenum"/>
> + <param name="size" type="GLsizeiptr"/>
> + <param name="data" type="const GLvoid *"/>
> + <param name="flags" type="GLbitfield"/>
> + </function>
> +</category>
> +
> <!-- Non-ARB extensions sorted by extension number. -->
>
> <category name="GL_EXT_blend_color" number="2">
Reviewed-by: Fredrik Höglund <fredrik at kde.org>
More information about the mesa-dev
mailing list