diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-11-05 14:47:53 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-11-19 08:49:44 +0100 |
commit | 8cfb3e4ee57070ff45e7534a986a20c5fd649dc7 (patch) | |
tree | 294d44c2195c4dcf8611bd4600e41e5d45277233 /src/mapi | |
parent | dc057f638c265dda00ff9084ac4605b69716c794 (diff) |
mesa: add ARB_framebuffer_no_attachments named functions
The wording in ARB_framebuffer_no_attachments and EXT_direct_state_access
is different.
In the former framebuffer names must have been generated using glGenFramebuffers
before using the named functions.
In the latter framebuffer names have no such constraints, so we can't use
the _mesa_lookup_framebuffer_dsa function.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml | 12 | ||||
-rw-r--r-- | src/mapi/glapi/gen/static_data.py | 4 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml b/src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml index 55ad7642ff5..13c2501702c 100644 --- a/src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml +++ b/src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml @@ -27,6 +27,18 @@ <param name="params" type="GLint *" output="true" /> </function> + <function name="NamedFramebufferParameteriEXT"> + <param name="framebuffer" type="GLuint" /> + <param name="pname" type="GLenum" /> + <param name="param" type="GLint" /> + </function> + + <function name="GetNamedFramebufferParameterivEXT"> + <param name="framebuffer" type="GLuint" /> + <param name="pname" type="GLenum" /> + <param name="params" type="GLint*" /> + </function> + </category> </OpenGLAPI> diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index 6e84132e563..fe9f94ae97f 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -1615,7 +1615,9 @@ offsets = { "GetVertexArrayIntegervEXT": 1579, "GetVertexArrayPointervEXT": 1580, "GetVertexArrayIntegeri_vEXT": 1581, - "GetVertexArrayPointeri_vEXT": 1582 + "GetVertexArrayPointeri_vEXT": 1582, + "NamedFramebufferParameteriEXT": 1583, + "GetNamedFramebufferParameterivEXT": 1584, } functions = [ |