java.lang.Object
overrungl.opengl.ext.GLINTELPerformanceQuery
GLINTELPerformanceQuery
relies on preview features of the Java platform:
GLINTELPerformanceQuery
refers to one or more preview APIs:MemorySegment
,SegmentAllocator
.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
GL_INTEL_performance_query
- Since:
- 0.1.0
- Author:
- squid233
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glBeginPerfQueryINTEL
(int queryHandle) static int
glCreatePerfQueryINTEL
(int queryId) static void
glCreatePerfQueryINTEL
(int queryId, MemorySegmentPREVIEW queryHandle) static void
glDeletePerfQueryINTEL
(int queryHandle) static void
glEndPerfQueryINTEL
(int queryHandle) static int
static void
static int
glGetNextPerfQueryIdINTEL
(int queryId) static void
glGetNextPerfQueryIdINTEL
(int queryId, MemorySegmentPREVIEW nextQueryId) static void
glGetPerfCounterInfoINTEL
(int queryId, int counterId, int counterNameLength, MemorySegmentPREVIEW counterName, int counterDescLength, MemorySegmentPREVIEW counterDesc, MemorySegmentPREVIEW counterOffset, MemorySegmentPREVIEW counterDataSize, MemorySegmentPREVIEW counterTypeEnum, MemorySegmentPREVIEW counterDataTypeEnum, MemorySegmentPREVIEW rawCounterMaxValue) static void
glGetPerfCounterInfoINTEL
(SegmentAllocatorPREVIEW allocator, int queryId, int counterId, int counterNameLength, String[] counterName, int counterDescLength, String[] counterDesc, int[] counterOffset, int[] counterDataSize, int[] counterTypeEnum, int[] counterDataTypeEnum, long[] rawCounterMaxValue) static void
glGetPerfQueryDataINTEL
(int queryHandle, int flags, int dataSize, MemorySegmentPREVIEW data, MemorySegmentPREVIEW bytesWritten) static void
glGetPerfQueryDataINTEL
(SegmentAllocatorPREVIEW allocator, int queryHandle, int flags, int dataSize, MemorySegmentPREVIEW data, int[] bytesWritten) static void
glGetPerfQueryIdByNameINTEL
(MemorySegmentPREVIEW queryName, MemorySegmentPREVIEW queryId) static int
glGetPerfQueryIdByNameINTEL
(SegmentAllocatorPREVIEW allocator, String queryName) static void
glGetPerfQueryInfoINTEL
(int queryId, int queryNameLength, MemorySegmentPREVIEW queryName, MemorySegmentPREVIEW dataSize, MemorySegmentPREVIEW noCounters, MemorySegmentPREVIEW noInstances, MemorySegmentPREVIEW capsMask) static void
glGetPerfQueryInfoINTEL
(SegmentAllocatorPREVIEW allocator, int queryId, int queryNameLength, String[] queryName, int[] dataSize, int[] noCounters, int[] noInstances, int[] capsMask) static void
load
(GLExtCaps ext, GLLoadFunc load)
-
Field Details
-
GL_PERFQUERY_SINGLE_CONTEXT_INTEL
public static final int GL_PERFQUERY_SINGLE_CONTEXT_INTEL- See Also:
-
GL_PERFQUERY_GLOBAL_CONTEXT_INTEL
public static final int GL_PERFQUERY_GLOBAL_CONTEXT_INTEL- See Also:
-
GL_PERFQUERY_WAIT_INTEL
public static final int GL_PERFQUERY_WAIT_INTEL- See Also:
-
GL_PERFQUERY_FLUSH_INTEL
public static final int GL_PERFQUERY_FLUSH_INTEL- See Also:
-
GL_PERFQUERY_DONOT_FLUSH_INTEL
public static final int GL_PERFQUERY_DONOT_FLUSH_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_EVENT_INTEL
public static final int GL_PERFQUERY_COUNTER_EVENT_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL
public static final int GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL
public static final int GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL
public static final int GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_RAW_INTEL
public static final int GL_PERFQUERY_COUNTER_RAW_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL
public static final int GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL
public static final int GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL
public static final int GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL
public static final int GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL
public static final int GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL
public static final int GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL- See Also:
-
GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL
public static final int GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL
public static final int GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL- See Also:
-
GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL
public static final int GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL- See Also:
-
GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL
public static final int GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL- See Also:
-
-
Constructor Details
-
GLINTELPerformanceQuery
public GLINTELPerformanceQuery()
-
-
Method Details
-
load
-
glBeginPerfQueryINTEL
public static void glBeginPerfQueryINTEL(int queryHandle) -
glCreatePerfQueryINTEL
-
glCreatePerfQueryINTEL
public static int glCreatePerfQueryINTEL(int queryId) -
glDeletePerfQueryINTEL
public static void glDeletePerfQueryINTEL(int queryHandle) -
glEndPerfQueryINTEL
public static void glEndPerfQueryINTEL(int queryHandle) -
glGetFirstPerfQueryIdINTEL
-
glGetFirstPerfQueryIdINTEL
public static int glGetFirstPerfQueryIdINTEL() -
glGetNextPerfQueryIdINTEL
-
glGetNextPerfQueryIdINTEL
public static int glGetNextPerfQueryIdINTEL(int queryId) -
glGetPerfCounterInfoINTEL
public static void glGetPerfCounterInfoINTEL(int queryId, int counterId, int counterNameLength, MemorySegmentPREVIEW counterName, int counterDescLength, MemorySegmentPREVIEW counterDesc, MemorySegmentPREVIEW counterOffset, MemorySegmentPREVIEW counterDataSize, MemorySegmentPREVIEW counterTypeEnum, MemorySegmentPREVIEW counterDataTypeEnum, MemorySegmentPREVIEW rawCounterMaxValue) -
glGetPerfCounterInfoINTEL
public static void glGetPerfCounterInfoINTEL(SegmentAllocatorPREVIEW allocator, int queryId, int counterId, int counterNameLength, String[] counterName, int counterDescLength, String[] counterDesc, int[] counterOffset, int[] counterDataSize, int[] counterTypeEnum, int[] counterDataTypeEnum, long[] rawCounterMaxValue) -
glGetPerfQueryDataINTEL
public static void glGetPerfQueryDataINTEL(int queryHandle, int flags, int dataSize, MemorySegmentPREVIEW data, MemorySegmentPREVIEW bytesWritten) -
glGetPerfQueryDataINTEL
public static void glGetPerfQueryDataINTEL(SegmentAllocatorPREVIEW allocator, int queryHandle, int flags, int dataSize, MemorySegmentPREVIEW data, int[] bytesWritten) -
glGetPerfQueryIdByNameINTEL
public static void glGetPerfQueryIdByNameINTEL(MemorySegmentPREVIEW queryName, MemorySegmentPREVIEW queryId) -
glGetPerfQueryIdByNameINTEL
-
glGetPerfQueryInfoINTEL
public static void glGetPerfQueryInfoINTEL(int queryId, int queryNameLength, MemorySegmentPREVIEW queryName, MemorySegmentPREVIEW dataSize, MemorySegmentPREVIEW noCounters, MemorySegmentPREVIEW noInstances, MemorySegmentPREVIEW capsMask) -
glGetPerfQueryInfoINTEL
public static void glGetPerfQueryInfoINTEL(SegmentAllocatorPREVIEW allocator, int queryId, int queryNameLength, String[] queryName, int[] dataSize, int[] noCounters, int[] noInstances, int[] capsMask)
-
GLINTELPerformanceQuery
when preview features are enabled.