3 MESA_framebuffer_flip_y
7 GL_MESA_framebuffer_flip_y
11 Fritz Koenig <frkoenig@google.com>
16 Kristian Høgsberg, Google
26 Version 2, June 4, 2019
31 OpenGL ES Extension #302
35 OpenGL ES 3.1 or OpenGL 4.3 is required, for FramebufferParameteri.
39 This extension defines a new framebuffer parameter,
40 GL_FRAMEBUFFER_FLIP_Y_MESA, that changes the behavior of the reads and
41 writes to the framebuffer attachment points. When GL_FRAMEBUFFER_FLIP_Y_MESA
42 is GL_TRUE, render commands and pixel transfer operations access the
43 backing store of each attachment point with an y-inverted coordinate
44 system. This y-inversion is relative to the coordinate system set when
45 GL_FRAMEBUFFER_FLIP_Y_MESA is GL_FALSE.
47 Access through TexSubImage2D and similar calls will notice the effect of
48 the flip when they are not attached to framebuffer objects because
49 GL_FRAMEBUFFER_FLIP_Y_MESA is associated with the framebuffer object and
50 not the attachment points.
60 New Procedures and Functions
70 Accepted by the <pname> argument of FramebufferParameteri and
71 GetFramebufferParameteriv:
73 GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
77 An INVALID_OPERATION error is generated by GetFramebufferParameteriv if the
78 default framebuffer is bound to <target> and <pname> is FRAMEBUFFER_FLIP_Y_MESA.
85 Enable extension for OpenGL 4.3 and beyond
88 Initial draft (Fritz Koenig)