1Name 2 3 MESA_framebuffer_flip_x 4 5Name Strings 6 7 GL_MESA_framebuffer_flip_x 8 9Contact 10 11 Cici Ruan <ruanc@chromium.org> 12 13Contributors 14 15 Cici Ruan, Google 16 Kristian Kristensen, Google 17 Fritz Koenig, Google 18 Rob Clark, Google 19 Chad Versace, Google 20 21Status 22 23 Proposal 24 25Version 26 27 Last Modified Date: April 8, 2020 28 Revision: 1 29 30Number 31 32 OpenGL Extension 548 33 OpenGL ES Extension 327 34 35Dependencies 36 37 Requires OpenGL ES 3.1 or OpenGL 4.3 for FramebufferParameteri. 38 39Overview 40 41 This extension defines a new framebuffer parameter, 42 GL_FRAMEBUFFER_FLIP_X_MESA, that changes the behavior of the reads and 43 writes to the framebuffer attachment points. When 44 GL_FRAMEBUFFER_FLIP_X_MESA is GL_TRUE, render commands and pixel transfer 45 operations access the backing store of each attachment point with an 46 x-inverted coordinate system. This x-inversion is relative to the 47 coordinate system set when GL_FRAMEBUFFER_FLIP_X_MESA is GL_FALSE. 48 49 Access through TexSubImage2D and similar calls will notice the effect of 50 the flip when they are not attached to framebuffer objects because 51 GL_FRAMEBUFFER_FLIP_X_MESA is associated with the framebuffer object and 52 not the attachment points. 53 54 This extension is mainly for pre-rotation and recommended to use it with 55 MESA_framebuffer_flip_y and MESA_framebuffer_swap_xy to have rotated 56 result. 57 58IP Status 59 60 None 61 62Issues 63 64 None 65 66New Procedures and Functions 67 68 None 69 70New Types 71 72 None 73 74New Tokens 75 76 Accepted by the <pname> argument of FramebufferParameteri and 77 GetFramebufferParameteriv: 78 79 GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC 80 81 Interactions with OpenGL ES 3.1 and any other versions and 82 extensions that provide the entry points FramebufferParameteri 83 and GetFramebufferParameteriv 84 85Errors 86 87 None 88 89Revision History 90 91 Version 1, 2020/04/08 92 - Initial draft (Cici Ruan) 93