Handler interface to receive notifications.
The same Handler instance may be used by different contexts but it is not recommended.
Handler notifications are synchronized.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | KHRDebugCallback.
Implementations of this interface can be used to receive ARB_debug_output notifications. |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final int | GL_DEBUG_SEVERITY_HIGH
Severity levels. |
| private static final int | GL_DEBUG_SEVERITY_LOW
Severity levels. |
| private static final int | GL_DEBUG_SEVERITY_MEDIUM
Severity levels. |
| private static final int | GL_DEBUG_SEVERITY_NOTIFICATION
Severity levels. |
| private static final int | GL_DEBUG_SOURCE_API
Sources. |
| private static final int | GL_DEBUG_SOURCE_APPLICATION
Sources. |
| private static final int | GL_DEBUG_SOURCE_OTHER
Sources. |
| private static final int | GL_DEBUG_SOURCE_SHADER_COMPILER
Sources. |
| private static final int | GL_DEBUG_SOURCE_THIRD_PARTY
Sources. |
| private static final int | GL_DEBUG_SOURCE_WINDOW_SYSTEM
Sources. |
| private static final int | |
| private static final int | GL_DEBUG_TYPE_ERROR
Types. |
| private static final int | GL_DEBUG_TYPE_MARKER
Types. |
| private static final int | GL_DEBUG_TYPE_OTHER
Types. |
| private static final int | |
| private static final int | |
| private static final int | |
| private final KHRDebugCallback. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | KHRDebugCallback(final KHRDebugCallback.
the callback handler handlerCreates an ARBDebugOutputCallback with the specified callback handler. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv KHRDebugCallback. |
| CALLBACK_POINTER | back to summary |
|---|---|
| private static final long CALLBACK_POINTER | |
| GL_DEBUG_SEVERITY_HIGH | back to summary |
|---|---|
| private static final int GL_DEBUG_SEVERITY_HIGH Severity levels. | |
| GL_DEBUG_SEVERITY_LOW | back to summary |
|---|---|
| private static final int GL_DEBUG_SEVERITY_LOW Severity levels. | |
| GL_DEBUG_SEVERITY_MEDIUM | back to summary |
|---|---|
| private static final int GL_DEBUG_SEVERITY_MEDIUM Severity levels. | |
| GL_DEBUG_SEVERITY_NOTIFICATION | back to summary |
|---|---|
| private static final int GL_DEBUG_SEVERITY_NOTIFICATION Severity levels. | |
| GL_DEBUG_SOURCE_API | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_API Sources. | |
| GL_DEBUG_SOURCE_APPLICATION | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_APPLICATION Sources. | |
| GL_DEBUG_SOURCE_OTHER | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_OTHER Sources. | |
| GL_DEBUG_SOURCE_SHADER_COMPILER | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_SHADER_COMPILER Sources. | |
| GL_DEBUG_SOURCE_THIRD_PARTY | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_THIRD_PARTY Sources. | |
| GL_DEBUG_SOURCE_WINDOW_SYSTEM | back to summary |
|---|---|
| private static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM Sources. | |
| GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR Types. | |
| GL_DEBUG_TYPE_ERROR | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_ERROR Types. | |
| GL_DEBUG_TYPE_MARKER | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_MARKER Types. | |
| GL_DEBUG_TYPE_OTHER | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_OTHER Types. | |
| GL_DEBUG_TYPE_PERFORMANCE | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_PERFORMANCE Types. | |
| GL_DEBUG_TYPE_PORTABILITY | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_PORTABILITY Types. | |
| GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR | back to summary |
|---|---|
| private static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR Types. | |
| handler | back to summary |
|---|---|
| private final KHRDebugCallback. | |
| KHRDebugCallback | back to summary |
|---|---|
| public KHRDebugCallback() Creates an KHRebugCallback with a default callback handler. The default handler will simply print the message on System.err. | |
| KHRDebugCallback | back to summary |
|---|---|
| public KHRDebugCallback(final KHRDebugCallback. Creates an ARBDebugOutputCallback with the specified callback handler.
The handler's
| |
| getHandler | back to summary |
|---|---|
| pack-priv KHRDebugCallback. | |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleMessage(int
the message source source, int the message type type, int the message ID id, int the message severity severity, String the string representation of the message. message)This method will be called when an ARB_debug_output message is generated. |
| handleMessage | back to summary |
|---|---|
| public void handleMessage(int source, int type, int id, int severity, String message) This method will be called when an ARB_debug_output message is generated.
| |