java.lang.Object
overrungl.opengl.ext.amd.GLAMDDebugOutput
GLAMDDebugOutput
relies on preview features of the Java platform:
GLAMDDebugOutput
refers 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
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glDebugMessageCallbackAMD
(ArenaPREVIEW arena, GLDebugProcAMD callback, MemorySegmentPREVIEW userParam) static void
glDebugMessageCallbackAMD
(MemorySegmentPREVIEW callback, MemorySegmentPREVIEW userParam) static void
glDebugMessageEnableAMD
(int category, int severity, int count, MemorySegmentPREVIEW ids, boolean enabled) static void
glDebugMessageEnableAMD
(SegmentAllocatorPREVIEW allocator, int category, int severity, int[] ids, boolean enabled) static void
glDebugMessageInsertAMD
(int category, int severity, int id, int length, MemorySegmentPREVIEW buf) static void
glDebugMessageInsertAMD
(SegmentAllocatorPREVIEW allocator, int category, int severity, int id, String buf) static int
glGetDebugMessageLogAMD
(int count, int bufSize, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW message) static int
glGetDebugMessageLogAMD
(int count, MemorySegmentPREVIEW categories, MemorySegmentPREVIEW severities, MemorySegmentPREVIEW ids, MemorySegmentPREVIEW lengths, MemorySegmentPREVIEW messageLog) static int
glGetDebugMessageLogAMD
(SegmentAllocatorPREVIEW allocator, int count, int bufSize, int[] categories, int[] severities, int[] ids, int[] lengths, String[] messageLog) static void
load
(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)
-
GLAMDDebugOutput
when preview features are enabled.