ó
    š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g)	a†  OpenGL extension ARB.ES3_1_compatibility

This module customises the behaviour of the 
OpenGL.raw.GL.ARB.ES3_1_compatibility to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension adds support for features of OpenGL ES 3.1 that are
        missing from OpenGL 4.4. Enabling these features will ease the process
        of porting applications from OpenGL ES 3.1 to OpenGL.
        
        In particular this adds the following features:
        
        - a new MemoryBarrierByRegion API which is potentially more efficient
        for specific localized memory access patterns.
        
        - increases the minimum required size of SSBOs to 2^27 (128 MB).
        
        - support for GLSL ES version 310 (ie #version 310 es).
        
        - a new GLSL built-in function, imageAtomicExchange, which performs atomic
        exchanges on r32f floating point images.
        
        - a new GLSL built-in fragment shader input, gl_HelperInvocation, that
        identifies whether the current fragment shader input is a helper
        invocation.  Fragment shader code can use this variable to skip performing
        operations that are useless or potentially dangerous for helper
        invocations.
        
        - a new GLSL built-in constant for the maximum supported samples:
        gl_MaxSamples.
        
        - a number of new GLSL built-in constants mirroring the API limits for
        image uniforms: gl_Max*ImageUniforms, gl_MaxCombinedShaderOutputResources.
        
        - new GLSL built-in functions which extend mix() to select between int,
        uint, and bool components.
        
        - add the "coherent" qualifier to all memory variables taken by the GLSL
        built-in atomic* and imageAtomic* functions.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/ES3_1_compatibility.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/GL/ARB/ES3_1_compatibility.pyÚglInitEs31CompatibilityARBr   5   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú%OpenGL.raw.GL.ARB.ES3_1_compatibilityr   r   © r   r   Ú<module>r      s'   ðñ,÷Z .Ñ -ß &Û ß )Ü 3Ý Aó8r   