3 MESA_framebuffer_flip_y
7 GL_MESA_framebuffer_flip_y
11 Fritz Koenig <frkoenig@google.com>
16 Kristian Høgsberg, Google
25 Version 1, June 7, 2018
33 OpenGL ES 3.1 is required, for FramebufferParameteri.
37 This extension defines a new framebuffer parameter,
38 GL_FRAMEBUFFER_FLIP_Y_MESA, that changes the behavior of the reads and
39 writes to the framebuffer attachment points. When GL_FRAMEBUFFER_FLIP_Y_MESA
40 is GL_TRUE, render commands and pixel transfer operations access the
41 backing store of each attachment point with an y-inverted coordinate
42 system. This y-inversion is relative to the coordinate system set when
43 GL_FRAMEBUFFER_FLIP_Y_MESA is GL_FALSE.
45 Access through TexSubImage2D and similar calls will notice the effect of
46 the flip when they are not attached to framebuffer objects because
47 GL_FRAMEBUFFER_FLIP_Y_MESA is associated with the framebuffer object and
48 not the attachment points.
58 New Procedures and Functions
68 Accepted by the <pname> argument of FramebufferParameteri and
69 GetFramebufferParameteriv:
71 GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
75 An INVALID_OPERATION error is generated by GetFramebufferParameteriv if the
76 default framebuffer is bound to <target> and <pname> is FRAMEBUFFER_FLIP_Y_MESA.
81 Initial draft (Fritz Koenig)