a
    i‚j¿  ã                   @   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 )
a¿  OpenGL extension ARB.pipeline_statistics_query

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

Overview (from the spec)
	
	This extension introduces new query types that allow applications to get
	statistics information about different parts of the pipeline:
	
	  * Number of vertices and primitives issued to the GL;
	
	  * Number of times a vertex shader, tessellation evaluation shader,
	    geometry shader, fragment shader, and compute shader was invoked;
	
	  * Number of patches processed by the tessellation control shader stage;
	
	  * Number of primitives emitted by a geometry shader;
	
	  * Number of primitives that entered the primitive clipping stage;
	
	  * Number of primitives that are output by the primitive clipping stage;

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/pipeline_statistics_query.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   úe/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/ARB/pipeline_statistics_query.pyÚ glInitPipelineStatisticsQueryARB#   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z+OpenGL.raw.GL.ARB.pipeline_statistics_queryr
   r   r   r   r   r   Ú<module>   s   