a
    i‚j_  ã                   @   sD  d Z ddlZddlZe d¡ZejZejZejZ	ej
Ze ej¡e e¡e e	¡fe_ejZeejefe_ejZeje_ejfe_ejZefe_ejZde_efe_ejZde_efe_ejZefe_ejZefe_G dd„ dejƒZ G dd„ dejƒZ!G dd	„ d	e"ƒZ#d
d„ Z$e$eƒZ
e$eƒZe$eƒZeZeZe$eƒZe$eƒZdS )zBindings for Apple CGL.é    Nz2/System/Library/Frameworks/OpenGL.framework/OpenGLc                   @   s   e Zd ZdZdZdZdZdS )ÚCGLOpenGLProfilei   i 2  i A  N)Ú__name__Ú
__module__Ú__qualname__ZCGLOGLPVersion_LegacyZCGLOGLPVersion_3_2_CoreZCGLOGLPVersion_GL3_CoreZCGLOGLPVersion_GL4_Core© r   r   úN/home/ghrups/robot-bench/.venv/lib64/python3.9/site-packages/mujoco/cgl/cgl.pyr   A   s   r   c                   @   s´   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+S ),ÚCGLPixelFormatAttributez$CGLPixelFormatAttribute enum values.é   é   é   é   é   é   é   é3   é4   é7   é8   é:   é;   é<   é=   éF   éH   éI   éJ   éL   éM   éT   é`   éa   éc   ée   é€   é   é   é9   é   é5   éP   éS   éZ   é[   éG   éK   éN   éQ   é6   N)-r   r   r   Ú__doc__ZCGLPFAAllRenderersZCGLPFATripleBufferZCGLPFADoubleBufferZCGLPFAColorSizeZCGLPFAAlphaSizeZCGLPFADepthSizeZCGLPFAStencilSizeZCGLPFAMinimumPolicyZCGLPFAMaximumPolicyZCGLPFASampleBuffersZCGLPFASampleZCGLPFAColorFloatZCGLPFAMultisampleZCGLPFASupersampleZCGLPFASampleAlphaZCGLPFARendererIDZCGLPFANoRecoveryZCGLPFAAcceleratedZCGLPFAClosestPolicyZCGLPFABackingStoreZCGLPFABackingVolatileZCGLPFADisplayMaskZCGLPFAAllowOfflineRenderersZCGLPFAAcceleratedComputeZCGLPFAOpenGLProfileZ(CGLPFASupportsAutomaticGraphicsSwitchingZCGLPFAVirtualScreenCountZCGLPFAAuxBuffersZCGLPFAAccumSizeZCGLPFAAuxDepthStencilZCGLPFAStereoZCGLPFAOffScreenZCGLPFAWindowZCGLPFACompliantZCGLPFAPBufferZCGLPFARemotePBufferZCGLPFASingleRendererZCGLPFARobustZCGLPFAMPSafeZCGLPFAMultiScreenZCGLPFAFullScreenr   r   r   r   r   H   sT   r   c                   @   s   e Zd ZdS )ÚCGLErrorN)r   r   r   r   r   r   r   r3   |   s   r3   c                    s   ‡ fdd„}|S )Nc                     s    ˆ | Ž }|rt t|ƒ ¡ ƒ‚d S )N)r3   Ú_CGLErrorStringÚdecode)ÚargsÚerr©Úfuncr   r   Úchecked_func   s    z#_make_checked.<locals>.checked_funcr   )r9   r:   r   r8   r   Ú_make_checked€   s    r;   )%r2   ÚctypesÚenumÚCDLLZ_CGLZc_void_pZCGLContextObjZCGLPixelFormatObjZc_intZGLintZCGLChoosePixelFormatZ_CGLChoosePixelFormatZPOINTERÚargtypesZCGLCreateContextZ_CGLCreateContextZCGLErrorStringr4   Úc_char_pÚrestypeZargtypeZCGLLockContextZ_CGLLockContextZCGLReleaseContextZ_CGLReleaseContextZCGLReleasePixelFormatZ_CGLReleasePixelFormatZCGLSetCurrentContextZ_CGLSetCurrentContextZCGLUnlockContextZ_CGLUnlockContextÚIntEnumr   r   ÚRuntimeErrorr3   r;   r   r   r   r   Ú<module>   sT   

ýý
4