java.lang.Object
overrungl.opengl.ext.amd.GLAMDPerformanceMonitor
GLAMDPerformanceMonitor
relies on preview features of the Java platform:
GLAMDPerformanceMonitor
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_AMD_performance_monitor
- Since:
- 0.1.0
- Author:
- squid233
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glBeginPerfMonitorAMD
(int monitor) static void
glDeletePerfMonitorAMD
(int monitor) static void
glDeletePerfMonitorsAMD
(int n, MemorySegmentPREVIEW monitors) static void
glDeletePerfMonitorsAMD
(SegmentAllocatorPREVIEW allocator, int[] monitors) static void
glEndPerfMonitorAMD
(int monitor) static int
static void
glGenPerfMonitorsAMD
(int n, MemorySegmentPREVIEW monitors) static void
glGenPerfMonitorsAMD
(SegmentAllocatorPREVIEW allocator, int[] monitors) static void
glGetPerfMonitorCounterDataAMD
(int monitor, int pname, int dataSize, MemorySegmentPREVIEW data, MemorySegmentPREVIEW bytesWritten) static void
glGetPerfMonitorCounterDataAMD
(SegmentAllocatorPREVIEW allocator, int monitor, int pname, int[] data, int @Nullable [] bytesWritten) static void
glGetPerfMonitorCounterInfoAMD
(int group, int counter, int pname, MemorySegmentPREVIEW data) static void
glGetPerfMonitorCountersAMD
(int group, MemorySegmentPREVIEW numCounters, MemorySegmentPREVIEW maxActiveCounters, int counterSize, MemorySegmentPREVIEW counters) static void
glGetPerfMonitorCountersAMD
(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int @NotNull [] counters) static void
glGetPerfMonitorCountersAMD
(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int counterSize, int @Nullable [] counters) static void
glGetPerfMonitorCounterStringAMD
(int group, int counter, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW counterString) static String
glGetPerfMonitorCounterStringAMD
(SegmentAllocatorPREVIEW allocator, int group, int counter, int bufSize) static void
glGetPerfMonitorGroupsAMD
(MemorySegmentPREVIEW numGroups, int groupsSize, MemorySegmentPREVIEW groups) static void
glGetPerfMonitorGroupsAMD
(SegmentAllocatorPREVIEW allocator, int @Nullable [] numGroups, int @Nullable [] groups) static void
glGetPerfMonitorGroupStringAMD
(int group, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW groupString) static String
glGetPerfMonitorGroupStringAMD
(SegmentAllocatorPREVIEW allocator, int group, int bufSize) static void
glSelectPerfMonitorCountersAMD
(int monitor, boolean enable, int group, int numCounters, MemorySegmentPREVIEW counterList) static void
glSelectPerfMonitorCountersAMD
(SegmentAllocatorPREVIEW allocator, int monitor, boolean enable, int group, int[] counterList) static void
load
(GLExtCaps ext, GLLoadFunc load)
-
Constructor Details
-
GLAMDPerformanceMonitor
public GLAMDPerformanceMonitor()
-
-
Method Details
-
load
-
glBeginPerfMonitorAMD
public static void glBeginPerfMonitorAMD(int monitor) -
glDeletePerfMonitorsAMD
-
glDeletePerfMonitorsAMD
-
glDeletePerfMonitorAMD
public static void glDeletePerfMonitorAMD(int monitor) -
glEndPerfMonitorAMD
public static void glEndPerfMonitorAMD(int monitor) -
glGenPerfMonitorsAMD
-
glGenPerfMonitorsAMD
-
glGenPerfMonitorAMD
public static int glGenPerfMonitorAMD() -
glGetPerfMonitorCounterDataAMD
public static void glGetPerfMonitorCounterDataAMD(int monitor, int pname, int dataSize, MemorySegmentPREVIEW data, MemorySegmentPREVIEW bytesWritten) -
glGetPerfMonitorCounterDataAMD
public static void glGetPerfMonitorCounterDataAMD(SegmentAllocatorPREVIEW allocator, int monitor, int pname, int[] data, int @Nullable [] bytesWritten) -
glGetPerfMonitorCounterInfoAMD
public static void glGetPerfMonitorCounterInfoAMD(int group, int counter, int pname, MemorySegmentPREVIEW data) -
glGetPerfMonitorCounterStringAMD
public static void glGetPerfMonitorCounterStringAMD(int group, int counter, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW counterString) -
glGetPerfMonitorCounterStringAMD
public static String glGetPerfMonitorCounterStringAMD(SegmentAllocatorPREVIEW allocator, int group, int counter, int bufSize) -
glGetPerfMonitorCountersAMD
public static void glGetPerfMonitorCountersAMD(int group, MemorySegmentPREVIEW numCounters, MemorySegmentPREVIEW maxActiveCounters, int counterSize, MemorySegmentPREVIEW counters) -
glGetPerfMonitorCountersAMD
public static void glGetPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int counterSize, int @Nullable [] counters) -
glGetPerfMonitorCountersAMD
public static void glGetPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int @NotNull [] counters) -
glGetPerfMonitorGroupStringAMD
public static void glGetPerfMonitorGroupStringAMD(int group, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW groupString) -
glGetPerfMonitorGroupStringAMD
public static String glGetPerfMonitorGroupStringAMD(SegmentAllocatorPREVIEW allocator, int group, int bufSize) -
glGetPerfMonitorGroupsAMD
public static void glGetPerfMonitorGroupsAMD(MemorySegmentPREVIEW numGroups, int groupsSize, MemorySegmentPREVIEW groups) -
glGetPerfMonitorGroupsAMD
public static void glGetPerfMonitorGroupsAMD(SegmentAllocatorPREVIEW allocator, int @Nullable [] numGroups, int @Nullable [] groups) -
glSelectPerfMonitorCountersAMD
public static void glSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group, int numCounters, MemorySegmentPREVIEW counterList) -
glSelectPerfMonitorCountersAMD
public static void glSelectPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int monitor, boolean enable, int group, int[] counterList)
-
GLAMDPerformanceMonitor
when preview features are enabled.