Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class INTELPerformanceQuery

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Native bindings to the INTEL_performance_query extension.

The purpose of this extension is to expose Intel proprietary hardware performance counters to the OpenGL applications. Performance counters may count:

This extension specifies universal API to manage performance counters on different Intel hardware platforms. Performance counters are grouped together into proprietary, hardware-specific, fixed sets of counters that are measured together by the GPU.

It is assumed that performance counters are started and ended on any arbitrary boundaries during rendering.

A set of performance counters is represented by a unique query type. Each query type is identified by assigned name and ID. Multiple query types (sets of performance counters) are supported by the Intel hardware. However each Intel hardware generation supports different sets of performance counters. Therefore the query types between hardware generations can be different. The definition of query types and their results structures can be learned through the API. It is also documented in a separate document of Intel OGL Performance Counters Specification issued per each new hardware generation.

The API allows to create multiple instances of any query type and to sample different fragments of 3D rendering with such instances. Query instances are identified with handles.

Field Summary

Modifier and TypeField and Description
public static final int
GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_EVENT_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_PERFQUERY_COUNTER_RAW_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

public static final int
GL_PERFQUERY_DONOT_FLUSH_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

public static final int
GL_PERFQUERY_FLUSH_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

public static final int
GL_PERFQUERY_GLOBAL_CONTEXT_INTEL

Returned by the capsMask parameter of GetPerfQueryInfoINTEL.

public static final int
GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL

Accepted by the pname parameter of GetBooleanv.

public static final int
GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_PERFQUERY_SINGLE_CONTEXT_INTEL

Returned by the capsMask parameter of GetPerfQueryInfoINTEL.

public static final int
GL_PERFQUERY_WAIT_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBeginPerfQueryINTEL(int queryHandle)

public static void
glCreatePerfQueryINTEL(int queryId, IntBuffer queryHandle)

public static int
public static void
glCreatePerfQueryINTEL(int queryId, int[] queryHandle)

Array version of: CreatePerfQueryINTEL

public static native void
glDeletePerfQueryINTEL(int queryHandle)

public static native void
glEndPerfQueryINTEL(int queryHandle)

public static void
public static int
public static void
glGetFirstPerfQueryIdINTEL(int[] queryId)

Array version of: GetFirstPerfQueryIdINTEL

public static void
glGetNextPerfQueryIdINTEL(int queryId, IntBuffer nextQueryId)

public static int
public static void
glGetNextPerfQueryIdINTEL(int queryId, int[] nextQueryId)

Array version of: GetNextPerfQueryIdINTEL

public static void
glGetPerfCounterInfoINTEL(int queryId, int counterId, ByteBuffer counterName, ByteBuffer counterDesc, IntBuffer counterOffset, IntBuffer counterDataSize, IntBuffer counterTypeEnum, IntBuffer counterDataTypeEnum, LongBuffer rawCounterMaxValue)

public static void
glGetPerfCounterInfoINTEL(int queryId, int counterId, ByteBuffer counterName, ByteBuffer counterDesc, int[] counterOffset, int[] counterDataSize, int[] counterTypeEnum, int[] counterDataTypeEnum, long[] rawCounterMaxValue)

Array version of: GetPerfCounterInfoINTEL

public static void
glGetPerfQueryDataINTEL(int queryHandle, int flags, ByteBuffer data, IntBuffer bytesWritten)

public static void
glGetPerfQueryDataINTEL(int queryHandle, int flags, ByteBuffer data, int[] bytesWritten)

Array version of: GetPerfQueryDataINTEL

public static void
public static void
public static int
public static void
glGetPerfQueryIdByNameINTEL(ByteBuffer queryName, int[] queryId)

Array version of: GetPerfQueryIdByNameINTEL

public static void
glGetPerfQueryIdByNameINTEL(CharSequence queryName, int[] queryId)

Array version of: GetPerfQueryIdByNameINTEL

public static void
glGetPerfQueryInfoINTEL(int queryId, ByteBuffer queryName, IntBuffer dataSize, IntBuffer noCounters, IntBuffer noInstances, IntBuffer capsMask)

public static void
glGetPerfQueryInfoINTEL(int queryId, ByteBuffer queryName, int[] dataSize, int[] noCounters, int[] noInstances, int[] capsMask)

Array version of: GetPerfQueryInfoINTEL

public static native void
nglCreatePerfQueryINTEL(int queryId, long queryHandle)

public static native void
public static native void
nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId)

public static native void
nglGetPerfCounterInfoINTEL(int queryId, int counterId, int counterNameLength, long counterName, int counterDescLength, long counterDesc, long counterOffset, long counterDataSize, long counterTypeEnum, long counterDataTypeEnum, long rawCounterMaxValue)

public static native void
nglGetPerfQueryDataINTEL(int queryHandle, int flags, int dataSize, long data, long bytesWritten)

public static native void
nglGetPerfQueryIdByNameINTEL(long queryName, long queryId)

public static native void
nglGetPerfQueryInfoINTEL(int queryId, int queryNameLength, long queryName, long dataSize, long noCounters, long noInstances, long capsMask)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_PERFQUERY_COUNTER_DATA_BOOL32_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

GL_PERFQUERY_COUNTER_DATA_FLOAT_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

GL_PERFQUERY_COUNTER_DATA_UINT32_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

GL_PERFQUERY_COUNTER_DATA_UINT64_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL

Returned by glGetPerfCounterInfoINTEL function as counter data type enumeration in location pointed by counterDataTypeEnum.

GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

GL_PERFQUERY_COUNTER_DURATION_NORM_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_COUNTER_DURATION_RAW_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_COUNTER_EVENT_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_EVENT_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

GL_PERFQUERY_COUNTER_RAW_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_RAW_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_COUNTER_THROUGHPUT_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_COUNTER_TIMESTAMP_INTELback to summary
public static final int GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL

Returned by GetPerfCounterInfoINTEL function as counter type enumeration in location pointed by counterTypeEnum.

GL_PERFQUERY_DONOT_FLUSH_INTELback to summary
public static final int GL_PERFQUERY_DONOT_FLUSH_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

GL_PERFQUERY_FLUSH_INTELback to summary
public static final int GL_PERFQUERY_FLUSH_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

GL_PERFQUERY_GLOBAL_CONTEXT_INTELback to summary
public static final int GL_PERFQUERY_GLOBAL_CONTEXT_INTEL

Returned by the capsMask parameter of GetPerfQueryInfoINTEL.

GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTELback to summary
public static final int GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL

Accepted by the pname parameter of GetBooleanv.

GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTELback to summary
public static final int GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL

Accepted by the pname parameter of GetIntegerv.

GL_PERFQUERY_SINGLE_CONTEXT_INTELback to summary
public static final int GL_PERFQUERY_SINGLE_CONTEXT_INTEL

Returned by the capsMask parameter of GetPerfQueryInfoINTEL.

GL_PERFQUERY_WAIT_INTELback to summary
public static final int GL_PERFQUERY_WAIT_INTEL

Accepted by the flags parameter of GetPerfQueryDataINTEL.

Constructor Detail

INTELPerformanceQueryback to summary
protected INTELPerformanceQuery()

Method Detail

glBeginPerfQueryINTELback to summary
public static native void glBeginPerfQueryINTEL(int queryHandle)
glCreatePerfQueryINTELback to summary
public static void glCreatePerfQueryINTEL(int queryId, IntBuffer queryHandle)
glCreatePerfQueryINTELback to summary
public static int glCreatePerfQueryINTEL(int queryId)
Annotations
@NativeType:void
glCreatePerfQueryINTELback to summary
public static void glCreatePerfQueryINTEL(int queryId, int[] queryHandle)

Array version of: CreatePerfQueryINTEL

glDeletePerfQueryINTELback to summary
public static native void glDeletePerfQueryINTEL(int queryHandle)
glEndPerfQueryINTELback to summary
public static native void glEndPerfQueryINTEL(int queryHandle)
glGetFirstPerfQueryIdINTELback to summary
public static void glGetFirstPerfQueryIdINTEL(IntBuffer queryId)
glGetFirstPerfQueryIdINTELback to summary
public static int glGetFirstPerfQueryIdINTEL()
Annotations
@NativeType:void
glGetFirstPerfQueryIdINTELback to summary
public static void glGetFirstPerfQueryIdINTEL(int[] queryId)

Array version of: GetFirstPerfQueryIdINTEL

glGetNextPerfQueryIdINTELback to summary
public static void glGetNextPerfQueryIdINTEL(int queryId, IntBuffer nextQueryId)
glGetNextPerfQueryIdINTELback to summary
public static int glGetNextPerfQueryIdINTEL(int queryId)
Annotations
@NativeType:void
glGetNextPerfQueryIdINTELback to summary
public static void glGetNextPerfQueryIdINTEL(int queryId, int[] nextQueryId)

Array version of: GetNextPerfQueryIdINTEL

glGetPerfCounterInfoINTELback to summary
public static void glGetPerfCounterInfoINTEL(int queryId, int counterId, ByteBuffer counterName, ByteBuffer counterDesc, IntBuffer counterOffset, IntBuffer counterDataSize, IntBuffer counterTypeEnum, IntBuffer counterDataTypeEnum, LongBuffer rawCounterMaxValue)
glGetPerfCounterInfoINTELback to summary
public static void glGetPerfCounterInfoINTEL(int queryId, int counterId, ByteBuffer counterName, ByteBuffer counterDesc, int[] counterOffset, int[] counterDataSize, int[] counterTypeEnum, int[] counterDataTypeEnum, long[] rawCounterMaxValue)

Array version of: GetPerfCounterInfoINTEL

glGetPerfQueryDataINTELback to summary
public static void glGetPerfQueryDataINTEL(int queryHandle, int flags, ByteBuffer data, IntBuffer bytesWritten)
glGetPerfQueryDataINTELback to summary
public static void glGetPerfQueryDataINTEL(int queryHandle, int flags, ByteBuffer data, int[] bytesWritten)

Array version of: GetPerfQueryDataINTEL

glGetPerfQueryIdByNameINTELback to summary
public static void glGetPerfQueryIdByNameINTEL(ByteBuffer queryName, IntBuffer queryId)
glGetPerfQueryIdByNameINTELback to summary
public static void glGetPerfQueryIdByNameINTEL(CharSequence queryName, IntBuffer queryId)
glGetPerfQueryIdByNameINTELback to summary
public static int glGetPerfQueryIdByNameINTEL(CharSequence queryName)
Annotations
@NativeType:void
glGetPerfQueryIdByNameINTELback to summary
public static void glGetPerfQueryIdByNameINTEL(ByteBuffer queryName, int[] queryId)

Array version of: GetPerfQueryIdByNameINTEL

glGetPerfQueryIdByNameINTELback to summary
public static void glGetPerfQueryIdByNameINTEL(CharSequence queryName, int[] queryId)

Array version of: GetPerfQueryIdByNameINTEL

glGetPerfQueryInfoINTELback to summary
public static void glGetPerfQueryInfoINTEL(int queryId, ByteBuffer queryName, IntBuffer dataSize, IntBuffer noCounters, IntBuffer noInstances, IntBuffer capsMask)
glGetPerfQueryInfoINTELback to summary
public static void glGetPerfQueryInfoINTEL(int queryId, ByteBuffer queryName, int[] dataSize, int[] noCounters, int[] noInstances, int[] capsMask)

Array version of: GetPerfQueryInfoINTEL

nglCreatePerfQueryINTELback to summary
public static native void nglCreatePerfQueryINTEL(int queryId, long queryHandle)
nglGetFirstPerfQueryIdINTELback to summary
public static native void nglGetFirstPerfQueryIdINTEL(long queryId)
nglGetNextPerfQueryIdINTELback to summary
public static native void nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId)
nglGetPerfCounterInfoINTELback to summary
public static native void nglGetPerfCounterInfoINTEL(int queryId, int counterId, int counterNameLength, long counterName, int counterDescLength, long counterDesc, long counterOffset, long counterDataSize, long counterTypeEnum, long counterDataTypeEnum, long rawCounterMaxValue)
nglGetPerfQueryDataINTELback to summary
public static native void nglGetPerfQueryDataINTEL(int queryHandle, int flags, int dataSize, long data, long bytesWritten)
nglGetPerfQueryIdByNameINTELback to summary
public static native void nglGetPerfQueryIdByNameINTEL(long queryName, long queryId)
nglGetPerfQueryInfoINTELback to summary
public static native void nglGetPerfQueryInfoINTEL(int queryId, int queryNameLength, long queryName, long dataSize, long noCounters, long noInstances, long capsMask)