diff options
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/apiexec.py | 4 | ||||
-rw-r--r-- | src/mapi/glapi/gen/es_EXT.xml | 15 | ||||
-rw-r--r-- | src/mapi/glapi/gen/static_data.py | 2 |
3 files changed, 21 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py index 4f9229d5fcd..26adb00ae21 100644 --- a/src/mapi/glapi/gen/apiexec.py +++ b/src/mapi/glapi/gen/apiexec.py @@ -150,6 +150,10 @@ functions = { "FramebufferParameteri": exec_info(compatibility=30, core=31, es2=31), "GetFramebufferParameteriv": exec_info(compatibility=30, core=31, es2=31), + # OpenGL 4.3 / GL_MESA_framebuffer_flip_y. + "FramebufferParameteriMESA": exec_info(core=31, es2=30), + "GetFramebufferParameterivMESA": exec_info(core=31, es2=30), + # OpenGL 4.5 / GL_ARB_direct_state_access. Mesa can expose the extension # with core profile. "CreateTransformFeedbacks": exec_info(compatibility=31, core=31), diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index be466e34ae8..e3cad15679d 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -1499,4 +1499,19 @@ </function> </category> +<!-- 302. GL_MESA_framebuffer_flip_y --> +<category name="GL_MESA_framebuffer_flip_y" number="302"> + <enum name="GL_FRAMEBUFFER_FLIP_Y_MESA" value="0x8BBB"/> + <function name="FramebufferParameteriMESA" es2="3.0"> + <param name="target" type="GLenum"/> + <param name="pname" type="GLenum"/> + <param name="param" type="GLint" /> + </function> + <function name="GetFramebufferParameterivMESA" es2="3.0"> + <param name="target" type="GLenum" /> + <param name="pname" type="GLenum" /> + <param name="params" type="GLint *" output="true" /> + </function> +</category> + </OpenGLAPI> diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index c1b3c6a5119..2f3e448750a 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -1567,6 +1567,8 @@ offsets = { "GetCompressedMultiTexImageEXT": 1531, "GetMultiTexLevelParameterivEXT": 1532, "GetMultiTexLevelParameterfvEXT": 1533, + "FramebufferParameteriMESA": 1534, + "GetFramebufferParameterivMESA": 1535, } functions = [ |