
    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\R                  " \5      R                  S
S5      rg)a  OpenGL extension QCOM.driver_control

This module customises the behaviour of the 
OpenGL.raw.GLES1.QCOM.driver_control to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension exposes special control features in a driver to a
        developer. A use of these controls would be to override state or
        implement special modes of operation. One common example might be an
        IFH or infinitely fast hardware mode. In this mode none of draw
        commands would be sent to the GPU so no image would be displayed,
        but all the driver software overhead would still happen thus
        enabling developers to analyze driver overhead separate from GPU
        performance. Some uses of this extension could invalidate future
        rendering and thus should only be used by developers for debugging
        and performance profiling purposes.
        
        The extension is general enough to allow the implementation to
        choose which controls to expose and to provide a textual description
        of those controls to developers.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/QCOM/driver_control.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    Z/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES1/QCOM/driver_control.pyglInitDriverControlQCOMr   "   s    !$$o77    driverControlsdriverControlString)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLES1r   r	   $OpenGL.raw.GLES1.QCOM.driver_controlr   r   glGetDriverControlsQCOMsetInputArraySizeglGetDriverControlStringQCOM r   r   <module>r      sj   4 . - &  , 2 @8  (?@RRd  %__-IJ\\4 r   