java.lang.Object
overrungl.opengl.ext.amd.GLAMDDebugOutput
GLAMDDebugOutput relies on preview features of the Java platform:
GLAMDDebugOutputrefers to one or more preview APIs:Arena,MemorySegment,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
GL_AMD_debug_output- Since:
- 0.1.0
- Author:
- squid233
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglDebugMessageCallbackAMD(ArenaPREVIEW arena, GLDebugProcAMD callback, MemorySegmentPREVIEW userParam) static voidglDebugMessageCallbackAMD(MemorySegmentPREVIEW callback, MemorySegmentPREVIEW userParam) static voidglDebugMessageEnableAMD(int category, int severity, int count, MemorySegmentPREVIEW ids, boolean enabled) static voidglDebugMessageEnableAMD(SegmentAllocatorPREVIEW allocator, int category, int severity, int[] ids, boolean enabled) static voidglDebugMessageInsertAMD(int category, int severity, int id, int length, MemorySegmentPREVIEW buf) static voidglDebugMessageInsertAMD(SegmentAllocatorPREVIEW allocator, int category, int severity, int id, String buf) static intglGetDebugMessageLogAMD(int count, int bufSize, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW message) static intglGetDebugMessageLogAMD(int count, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW messageLog) static intglGetDebugMessageLogAMD(SegmentAllocatorPREVIEW allocator, int count, int bufSize, int[] categories, int[] severities, int[] ids, int[] lengths, String[] messageLog) static voidload(GLExtCaps ext, GLLoadFunc load)
-
Field Details
-
GL_MAX_DEBUG_MESSAGE_LENGTH_AMD
public static final int GL_MAX_DEBUG_MESSAGE_LENGTH_AMD- See Also:
-
GL_MAX_DEBUG_LOGGED_MESSAGES_AMD
public static final int GL_MAX_DEBUG_LOGGED_MESSAGES_AMD- See Also:
-
GL_DEBUG_LOGGED_MESSAGES_AMD
public static final int GL_DEBUG_LOGGED_MESSAGES_AMD- See Also:
-
GL_DEBUG_SEVERITY_HIGH_AMD
public static final int GL_DEBUG_SEVERITY_HIGH_AMD- See Also:
-
GL_DEBUG_SEVERITY_MEDIUM_AMD
public static final int GL_DEBUG_SEVERITY_MEDIUM_AMD- See Also:
-
GL_DEBUG_SEVERITY_LOW_AMD
public static final int GL_DEBUG_SEVERITY_LOW_AMD- See Also:
-
GL_DEBUG_CATEGORY_API_ERROR_AMD
public static final int GL_DEBUG_CATEGORY_API_ERROR_AMD- See Also:
-
GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD
public static final int GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD- See Also:
-
GL_DEBUG_CATEGORY_DEPRECATION_AMD
public static final int GL_DEBUG_CATEGORY_DEPRECATION_AMD- See Also:
-
GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD
public static final int GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD- See Also:
-
GL_DEBUG_CATEGORY_PERFORMANCE_AMD
public static final int GL_DEBUG_CATEGORY_PERFORMANCE_AMD- See Also:
-
GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD
public static final int GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD- See Also:
-
GL_DEBUG_CATEGORY_APPLICATION_AMD
public static final int GL_DEBUG_CATEGORY_APPLICATION_AMD- See Also:
-
GL_DEBUG_CATEGORY_OTHER_AMD
public static final int GL_DEBUG_CATEGORY_OTHER_AMD- See Also:
-
-
Constructor Details
-
GLAMDDebugOutput
public GLAMDDebugOutput()
-
-
Method Details
-
load
-
glDebugMessageCallbackAMD
public static void glDebugMessageCallbackAMD(MemorySegmentPREVIEW callback, MemorySegmentPREVIEW userParam) -
glDebugMessageCallbackAMD
public static void glDebugMessageCallbackAMD(ArenaPREVIEW arena, GLDebugProcAMD callback, MemorySegmentPREVIEW userParam) -
glDebugMessageEnableAMD
public static void glDebugMessageEnableAMD(int category, int severity, int count, MemorySegmentPREVIEW ids, boolean enabled) -
glDebugMessageEnableAMD
public static void glDebugMessageEnableAMD(SegmentAllocatorPREVIEW allocator, int category, int severity, int[] ids, boolean enabled) -
glDebugMessageInsertAMD
public static void glDebugMessageInsertAMD(int category, int severity, int id, int length, MemorySegmentPREVIEW buf) -
glDebugMessageInsertAMD
public static void glDebugMessageInsertAMD(SegmentAllocatorPREVIEW allocator, int category, int severity, int id, String buf) -
glGetDebugMessageLogAMD
public static int glGetDebugMessageLogAMD(int count, int bufSize, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW message) -
glGetDebugMessageLogAMD
public static int glGetDebugMessageLogAMD(int count, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW messageLog) -
glGetDebugMessageLogAMD
public static int glGetDebugMessageLogAMD(SegmentAllocatorPREVIEW allocator, int count, int bufSize, int[] categories, int[] severities, int[] ids, int[] lengths, String[] messageLog)
-
GLAMDDebugOutputwhen preview features are enabled.