1Name
2
3    MESA_framebuffer_flip_y
4
5Name Strings
6
7    GL_MESA_framebuffer_flip_y
8
9Contact
10
11    Fritz Koenig <frkoenig@google.com>
12
13Contributors
14
15    Fritz Koenig, Google
16    Kristian Høgsberg, Google
17    Chad Versace, Google
18
19Status
20
21    Proposal
22
23Version
24
25    Version 1, June 7, 2018
26
27Number
28
29    302
30
31Dependencies
32
33    OpenGL ES 3.1 is required, for FramebufferParameteri.
34
35Overview
36
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.
44
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.
49
50IP Status
51
52    None
53
54Issues
55
56    None
57
58New Procedures and Functions
59
60    None
61
62New Types
63
64    None
65
66New Tokens
67
68    Accepted by the <pname> argument of FramebufferParameteri and
69    GetFramebufferParameteriv:
70
71        GL_FRAMEBUFFER_FLIP_Y_MESA                      0x8BBB
72
73Errors
74
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.
77
78Revision History
79
80    Version 1, June, 2018
81        Initial draft (Fritz Koenig)
82