java.lang.Object
overrungl.opengl.ext.amd.GLAMDPerformanceMonitor
GLAMDPerformanceMonitor relies on preview features of the Java platform:
GLAMDPerformanceMonitorrefers 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBeginPerfMonitorAMD(int monitor) static voidglDeletePerfMonitorAMD(int monitor) static voidglDeletePerfMonitorsAMD(int n, MemorySegmentPREVIEW monitors) static voidglDeletePerfMonitorsAMD(SegmentAllocatorPREVIEW allocator, int[] monitors) static voidglEndPerfMonitorAMD(int monitor) static intstatic voidglGenPerfMonitorsAMD(int n, MemorySegmentPREVIEW monitors) static voidglGenPerfMonitorsAMD(SegmentAllocatorPREVIEW allocator, int[] monitors) static voidglGetPerfMonitorCounterDataAMD(int monitor, int pname, int dataSize, MemorySegmentPREVIEW data, MemorySegmentPREVIEW bytesWritten) static voidglGetPerfMonitorCounterDataAMD(SegmentAllocatorPREVIEW allocator, int monitor, int pname, int[] data, int @Nullable [] bytesWritten) static voidglGetPerfMonitorCounterInfoAMD(int group, int counter, int pname, MemorySegmentPREVIEW data) static voidglGetPerfMonitorCountersAMD(int group, MemorySegmentPREVIEW numCounters, MemorySegmentPREVIEW maxActiveCounters, int counterSize, MemorySegmentPREVIEW counters) static voidglGetPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int @NotNull [] counters) static voidglGetPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int group, int @Nullable [] numCounters, int @Nullable [] maxActiveCounters, int counterSize, int @Nullable [] counters) static voidglGetPerfMonitorCounterStringAMD(int group, int counter, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW counterString) static StringglGetPerfMonitorCounterStringAMD(SegmentAllocatorPREVIEW allocator, int group, int counter, int bufSize) static voidglGetPerfMonitorGroupsAMD(MemorySegmentPREVIEW numGroups, int groupsSize, MemorySegmentPREVIEW groups) static voidglGetPerfMonitorGroupsAMD(SegmentAllocatorPREVIEW allocator, int @Nullable [] numGroups, int @Nullable [] groups) static voidglGetPerfMonitorGroupStringAMD(int group, int bufSize, MemorySegmentPREVIEW length, MemorySegmentPREVIEW groupString) static StringglGetPerfMonitorGroupStringAMD(SegmentAllocatorPREVIEW allocator, int group, int bufSize) static voidglSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group, int numCounters, MemorySegmentPREVIEW counterList) static voidglSelectPerfMonitorCountersAMD(SegmentAllocatorPREVIEW allocator, int monitor, boolean enable, int group, int[] counterList) static voidload(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)
-
GLAMDPerformanceMonitorwhen preview features are enabled.