public

Inheritance Graph

graph BT
	StatisticsQuery
	StatisticsQuery --> QueryObject
	click StatisticsQuery "classRendering_1_1StatisticsQuery"
	click QueryObject "classRendering_1_1QueryObject"

Description

Wrapper class for OpenGL pipeline statistics queries.

See also: https://www.opengl.org/registry/specs/ARB/pipeline_statistics_query.txt

Author: Benjamin Eikel

Date: 2016-01-08

Public Functions

   
   
  StatisticsQuery( StatisticsQuery && void)

Public Static Functions

   
   
StatisticsQuery createVerticesSubmittedQuery()
   
StatisticsQuery createPrimitivesSubmittedQuery()
   
StatisticsQuery createVertexShaderInvocationsQuery()
   
StatisticsQuery createTessControlShaderPatchesQuery()
   
StatisticsQuery createTessEvaluationShaderInvocationsQuery()
   
StatisticsQuery createGeometryShaderInvocationsQuery()
   
StatisticsQuery createGeometryShaderPrimitivesEmittedQuery()
   
StatisticsQuery createFragmentShaderInvocationsQuery()
   
StatisticsQuery createComputeShaderInvocationsQuery()
   
StatisticsQuery createClippingInputPrimitivesQuery()
   
StatisticsQuery createClippingOutputPrimitivesQuery()
   
StatisticsQuery createTimeElapsedQuery()
   
StatisticsQuery createTimestampQuery()

Documentation

function
Rendering::StatisticsQuery::StatisticsQuery

public
     
     
StatisticsQuery( StatisticsQuery && void )

Defined in Rendering/StatisticsQuery.h:29


function
Rendering::StatisticsQuery::createVerticesSubmittedQuery

public static
   
   
StatisticsQuery createVerticesSubmittedQuery( )

Create a statistics query to count the number of vertices transferred to the GL.

See also: GL_VERTICES_SUBMITTED_ARB

Defined in Rendering/StatisticsQuery.h:36


function
Rendering::StatisticsQuery::createPrimitivesSubmittedQuery

public static
   
   
StatisticsQuery createPrimitivesSubmittedQuery( )

Create a statistics query to count the number of primitives transferred to the GL.

See also: GL_PRIMITIVES_SUBMITTED_ARB

Defined in Rendering/StatisticsQuery.h:43


function
Rendering::StatisticsQuery::createVertexShaderInvocationsQuery

public static
   
   
StatisticsQuery createVertexShaderInvocationsQuery( )

Create a statistics query to count the number of times the vertex shader has been invoked.

See also: GL_VERTEX_SHADER_INVOCATIONS_ARB

Defined in Rendering/StatisticsQuery.h:50


function
Rendering::StatisticsQuery::createTessControlShaderPatchesQuery

public static
   
   
StatisticsQuery createTessControlShaderPatchesQuery( )

Create a statistics query to count the number of patches processed by the tessellation control shader stage.

See also: GL_TESS_CONTROL_SHADER_PATCHES_ARB

Defined in Rendering/StatisticsQuery.h:57


function
Rendering::StatisticsQuery::createTessEvaluationShaderInvocationsQuery

public static
   
   
StatisticsQuery createTessEvaluationShaderInvocationsQuery( )

Create a statistics query to count the number of times the tessellation evaluation shader has been invoked.

See also: GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB

Defined in Rendering/StatisticsQuery.h:64


function
Rendering::StatisticsQuery::createGeometryShaderInvocationsQuery

public static
   
   
StatisticsQuery createGeometryShaderInvocationsQuery( )

Create a statistics query to count the number of times the geometry shader has been invoked.

See also: GL_GEOMETRY_SHADER_INVOCATIONS

Defined in Rendering/StatisticsQuery.h:71


function
Rendering::StatisticsQuery::createGeometryShaderPrimitivesEmittedQuery

public static
   
   
StatisticsQuery createGeometryShaderPrimitivesEmittedQuery( )

Create a statistics query to count the number of primitives emitted by the geometry shader.

See also: GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB

Defined in Rendering/StatisticsQuery.h:78


function
Rendering::StatisticsQuery::createFragmentShaderInvocationsQuery

public static
   
   
StatisticsQuery createFragmentShaderInvocationsQuery( )

Create a statistics query to count the number of times the fragment shader has been invoked.

See also: GL_FRAGMENT_SHADER_INVOCATIONS_ARB

Defined in Rendering/StatisticsQuery.h:85


function
Rendering::StatisticsQuery::createComputeShaderInvocationsQuery

public static
   
   
StatisticsQuery createComputeShaderInvocationsQuery( )

Create a statistics query to count the number of times the compute shader has been invoked.

See also: GL_COMPUTE_SHADER_INVOCATIONS_ARB

Defined in Rendering/StatisticsQuery.h:92


function
Rendering::StatisticsQuery::createClippingInputPrimitivesQuery

public static
   
   
StatisticsQuery createClippingInputPrimitivesQuery( )

Create a statistics query to count the number of primitives that were processed in the primitive clipping stage.

See also: GL_CLIPPING_INPUT_PRIMITIVES_ARB

Defined in Rendering/StatisticsQuery.h:99


function
Rendering::StatisticsQuery::createClippingOutputPrimitivesQuery

public static
   
   
StatisticsQuery createClippingOutputPrimitivesQuery( )

Create a statistics query to count the number of primitives that were output by the primitive clipping stage and are further processed by the rasterization stage.

See also: GL_CLIPPING_OUTPUT_PRIMITIVES_ARB

Defined in Rendering/StatisticsQuery.h:107


function
Rendering::StatisticsQuery::createTimeElapsedQuery

public static
   
   
StatisticsQuery createTimeElapsedQuery( )

Create a statistics query to measure the time between GPU commands

See also: GL_TIME_ELAPSED

Defined in Rendering/StatisticsQuery.h:114


function
Rendering::StatisticsQuery::createTimestampQuery

public static
   
   
StatisticsQuery createTimestampQuery( )

Create a statistics query to measure the current GL time

See also: GL_TIME_ELAPSED

Defined in Rendering/StatisticsQuery.h:121