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
34 OpenGL ES 3.1 or OpenGL 4.3 is required, for FramebufferParameteri.
38 This extension defines a new framebuffer parameter,
39 GL_FRAMEBUFFER_FLIP_Y_MESA, that changes the behavior of the reads and
40 writes to the framebuffer attachment points. When GL_FRAMEBUFFER_FLIP_Y_MESA
41 is GL_TRUE, render commands and pixel transfer operations access the
42 backing store of each attachment point with an y-inverted coordinate
43 system. This y-inversion is relative to the coordinate system set when
44 GL_FRAMEBUFFER_FLIP_Y_MESA is GL_FALSE.
46 Access through TexSubImage2D and similar calls will notice the effect of
47 the flip when they are not attached to framebuffer objects because
48 GL_FRAMEBUFFER_FLIP_Y_MESA is associated with the framebuffer object and
49 not the attachment points.
59 New Procedures and Functions
69 Accepted by the <pname> argument of FramebufferParameteri and
70 GetFramebufferParameteriv:
72 GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
76 An INVALID_OPERATION error is generated by GetFramebufferParameteriv if the
77 default framebuffer is bound to <target> and <pname> is FRAMEBUFFER_FLIP_Y_MESA.
82 Added OpenGL 4.3 as alternative requirement
85 Initial draft (Fritz Koenig)