a
    ij6  ć                   @   sn  d Z ddlmZmZmZ ddlmZmZ ddlZddlm	Z	m
Z
 ddlT ddlmZ dd	 Ze e” d
d”Ze e” dd”Ze e”jd
dddZe e”jde
jdddZe e”jde
jdddZe e”jde
jdddZe e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e” dd”Ze e ” dd”Z e e!” dd”Z!e e"” dd”Z"e e#” dd”Z#e e$” dd”Z$e e%” dd”Z%e e&” dd”Z&e e'” dd”Z'e e(”jde
jdddZ(e e)”jde
jdddZ)e e*”jde
jdddZ*e e+”jde
jdddZ+e e,”jddd  d!ddZ,e e-”jde
jdddZ-e e.”jde
jdddZ.e e/” d"d”Z/e e0” dd”Z0e e1” dd”Z1e e2” dd”Z2e e3” dd”Z3e e4” dd”Z4e e5” dd”Z5e e6” dd”Z6e e7” dd”Z7e e8” d#d” d$d”Z8e e9” dd”Z9e e:” dd”Z:e e;” dd”Z;e e<” d%d” d&d”Z<e e=” dd”Z=e e>” dd”Z>e e?” dd”Z?e e@” dd”Z@e eA” dd”ZAe eB” dd”ZBe eC” dd”ZCe eD” dd”ZDdS )'af  OpenGL extension OES.fixed_point

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

Overview (from the spec)
	
	This extension provides the capability, for platforms that do
	not have efficient floating-point support, to input data in a
	fixed-point format, i.e.,  a scaled-integer format.  There are
	several ways a platform could try to solve the problem, such as
	using integer only commands, but there are many OpenGL commands
	that have only floating-point or double-precision floating-point
	parameters.  Also, it is likely that any credible application
	running on such a platform will need to perform some computations
	and will already be using some form of fixed-point representation.
	This extension solves the problem by adding new ``fixed', and
	``clamp fixed''  data types based on a a two's complement
	S15.16 representation.  New versions of commands are created
	with an 'x' suffix that take fixed or clampx parameters.
	

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/fixed_point.txt
é    )ŚplatformŚconstantŚarrays)Ś
extensionsŚwrapperN)Ś_typesŚ_glgets)Ś*)Ś_EXTENSION_NAMEc                  C   s   ddl m}  |  t”S )z=Return boolean indicating whether this extension is availabler   ©r   )ŚOpenGLr   ZhasGLExtensionr
   r   © r   śZ/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GLES1/OES/fixed_point.pyŚglInitFixedPointOES"   s    r   Zequationé   Śparam)r   T)ŚsizeŚorPassInŚparamsZpname)r   ZpnameArgr   Śmé   ZbitmapŚ
componentsé   Zcoordsé   é   ŚbufferŚvŚqueryŚvaluesc                 C   s   | fS )Nr   )Śxr   r   r   Ś<lambda>   ó    r    r   Ś	componentZ
prioritiesZtexturesZv1Zv2)EŚ__doc__r   r   r   r   r   r   ŚctypesZOpenGL.raw.GLES1r   r   Z OpenGL.raw.GLES1.OES.fixed_pointr
   r   ZglClipPlanexOESZsetInputArraySizeZ
glFogxvOESZglGetClipPlanexOESZ	setOutputZglGetFixedvOESZ_glget_size_mappingZglGetTexEnvxvOESZglGetTexParameterxvOESZglLightModelxvOESZglLightxvOESZglLoadMatrixxOESZglMaterialxvOESZglMultMatrixxOESZglPointParameterxvOESZglTexEnvxvOESZglTexParameterxvOESZglGetLightxvOESZglGetMaterialxvOESZglBitmapxOESZglColor3xvOESZglColor4xvOESZglConvolutionParameterxvOESZglEvalCoord1xvOESZglEvalCoord2xvOESZglFeedbackBufferxOESZglGetConvolutionParameterxvOESZglGetHistogramParameterxvOESZglGetLightxOESZglGetMapxvOESZglGetPixelMapxvZglGetTexGenxvOESZglGetTexLevelParameterxvOESZglIndexxvOESZglLoadTransposeMatrixxOESZglMultTransposeMatrixxOESZglMultiTexCoord1xvOESZglMultiTexCoord2xvOESZglMultiTexCoord3xvOESZglMultiTexCoord4xvOESZglNormal3xvOESZglPixelMapxZglPrioritizeTexturesxOESZglRasterPos2xvOESZglRasterPos3xvOESZglRasterPos4xvOESZglRectxvOESZglTexCoord1xvOESZglTexCoord2xvOESZglTexCoord3xvOESZglTexCoord4xvOESZglTexGenxvOESZglVertex2xvOESZglVertex3xvOESZglVertex4xvOESr   r   r   r   Ś<module>   sN  
’
’
’

’

’

’
’
’
’
’
’
’
’
’
’
’
’
’
’
’
’
’
’

’

’

’

’
’

’

’
’
’
’
’
’
’
’
’
’
’ż
’
’
’
’ż
’
’
’
’
’
’
’
’