diff options
author | Fritz Koenig <[email protected]> | 2018-07-23 10:10:54 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2018-07-27 12:32:25 -0700 |
commit | 318c265160ed33a2d9f7d664e1b247cbbc38203f (patch) | |
tree | 161a55c710b3e7764602afe676a58d75e5f44a8c /src/mapi/glapi/registry | |
parent | 7953399e599862769bc29f5f98322adbcf6c3951 (diff) |
mesa: GL_MESA_framebuffer_flip_y extension [v4]
Adds an extension to glFramebufferParameteri
that will specify if the framebuffer is vertically
flipped. Historically system framebuffers are
vertically flipped and user framebuffers are not.
Checking to see the state was done by looking at
the name field. This adds an explicit field.
v2:
* updated spec language [for chadv]
* correctly specifying ES 3.1 [for chadv]
* refactor access to rb->Name [for jason]
* handle GetFramebufferParameteriv [for chadv]
v3:
* correct _mesa_GetMultisamplefv [for kusmabite]
v4:
* update spec language [for chadv]
* s/GLboolean/bool/g [for chadv]
* s/InvertedY/FlipY/g [for chadv]
* s/inverted_y/flip_y/g [for chadv]
* assert changes [for chadv]
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mapi/glapi/registry')
-rw-r--r-- | src/mapi/glapi/registry/gl.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml index 833478aa515..13882eff7bb 100644 --- a/src/mapi/glapi/registry/gl.xml +++ b/src/mapi/glapi/registry/gl.xml @@ -6568,6 +6568,7 @@ typedef unsigned int GLhandleARB; <enum value="0x8BB5" name="GL_VERTEX_PROGRAM_CALLBACK_MESA"/> <enum value="0x8BB6" name="GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA"/> <enum value="0x8BB7" name="GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA"/> + <enum value="0x8BBB" name="GL_FRAMEBUFFER_FLIP_Y_MESA"/> </enums> <enums namespace="GL" start="0x8BC0" end="0x8BFF" vendor="QCOM" comment="Reassigned from AMD to QCOM"> @@ -44356,6 +44357,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_2D_STACK_BINDING_MESAX"/> </require> </extension> + <extension name="GL_MESA_framebuffer_flip_y" supported="gles2"> + <require> + <enum name="GL_FRAMEBUFFER_FLIP_Y_MESA"/> + </require> + </extension> <extension name="GL_MESA_pack_invert" supported="gl"> <require> <enum name="GL_PACK_INVERT_MESA"/> |