a
    i‚jc  ã                   @   s`   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dS )
ah  OpenGL extension QCOM.frame_extrapolation

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

Overview (from the spec)
	
	Frame extrapolation is the process of producing a new, future frame
	based on the contents of two previously rendered frames. It may be
	used to produce high frame rate display updates without incurring the
	full cost of traditional rendering at the higher framerate.
	
	This extension adds support for frame extrapolation in OpenGL ES by
	adding a function which takes three textures. The first two are used
	in sequence as the source frames, from which the extrapolated frame
	is derived. The extrapolated frame is stored in the third texture.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/QCOM/frame_extrapolation.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   úc/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GLES2/QCOM/frame_extrapolation.pyÚglInitFrameExtrapolationQCOM   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLES2r   r   Z)OpenGL.raw.GLES2.QCOM.frame_extrapolationr
   r   r   r   r   r   Ú<module>   s   