ó
    š3j¿  ã                   ó¤   • S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S r\R                  " \5      R                  S	S5      rg)
a[  OpenGL extension MESA.framebuffer_flip_y

This module customises the behaviour of the 
OpenGL.raw.GLES2.MESA.framebuffer_flip_y to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension defines a new framebuffer parameter,
        GL_FRAMEBUFFER_FLIP_Y_MESA, that changes the behavior of the reads and
        writes to the framebuffer attachment points. When GL_FRAMEBUFFER_FLIP_Y_MESA
        is GL_TRUE, render commands and pixel transfer operations access the
        backing store of each attachment point with an y-inverted coordinate
        system. This y-inversion is relative to the coordinate system set when
        GL_FRAMEBUFFER_FLIP_Y_MESA is GL_FALSE.
        
        Access through TexSubImage2D and similar calls will notice the effect of
        the flip when they are not attached to framebuffer objects because
        GL_FRAMEBUFFER_FLIP_Y_MESA is associated with the framebuffer object and
        not the attachment points.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/MESA/framebuffer_flip_y.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  ó:   • SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ÚhasGLExtensionr   r   s    Ú^/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/MESA/framebuffer_flip_y.pyÚglInitFramebufferFlipYMESAr       s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úparams)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú(OpenGL.raw.GLES2.MESA.framebuffer_flip_yr   r   ÚglGetFramebufferParameterivMESAÚsetInputArraySize© r   r   Ú<module>r      sH   ðñ÷0 .Ñ -ß &Û ß ,Ü 6Ý Dò8ð !(§¢Ð0OÓ P× bÑ bØˆdó!Ñ r   