DebugMessageControlKHR method.
void (*invoke) (
EGLenum error,
char const *command,
EGLint messageType,
EGLLabelKHR threadLabel,
EGLLabelKHR objectLabel,
char const *message
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static EGLDebugMessageKHRCallback | Returns: the newEGLDebugMessageKHRCallbackCreates a |
| public static EGLDebugMessageKHRCallback | create(EGLDebugMessageKHRCallbackI instance)
Creates a |
| public static EGLDebugMessageKHRCallback | |
| public static String | Returns: the command as a Stringthe EGLDebugMessageKHRCallback command)command argumentConverts the specified |
| public static String | Returns: the message as a Stringthe EGLDebugMessageKHRCallback message)message argumentConverts the specified |
| EGLDebugMessageKHRCallback | back to summary |
|---|---|
| protected EGLDebugMessageKHRCallback() | |
| EGLDebugMessageKHRCallback | back to summary |
|---|---|
| pack-priv EGLDebugMessageKHRCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static EGLDebugMessageKHRCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static EGLDebugMessageKHRCallback create(EGLDebugMessageKHRCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static EGLDebugMessageKHRCallback createSafe(long functionPointer) Like
| |
| getCommand | back to summary |
|---|---|
| public static String getCommand(long command) Converts the specified This method may only be used inside an EGLDebugMessageKHRCallback invocation.
| |
| getMessage | back to summary |
|---|---|
| public static String getMessage(long message) Converts the specified This method may only be used inside an EGLDebugMessageKHRCallback invocation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final EGLDebugMessageKHRCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(int
will contain an EGL error code, or error, long SUCCESS, as applicablewill contain a pointer to a string. Example "eglBindApi". command, int will contain one of the debug message types messageType, long will contain the label attached to the current thread. The threadLabel, long threadLabel will be NULL if not set by the application. If the message is from an
internal thread, the label will be NULL.will contain the label attached to the primary object of the message; Labels will be objectLabel, long NULL if not set by the application. The primary object should
be the object the function operates on, see table 13.2 which provides the recommended mapping between functions and their primary object. This
objectLabel may be NULL even though the application labeled the object. This is because it is possible an error was raised while executing
the command before the primary object was validated, therefore its label can not be included in the callback.will contain a platform specific debug string message; This string should provide added information to the application developer regarding the
condition that generated the message. The format of a message is implementation-defined, although it should represent a concise description of the
event that caused the message to be generated. Message strings can be message)NULL and should not be assumed otherwise.Implements org. |
| delegate | back to summary |
|---|---|
| private final EGLDebugMessageKHRCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, EGLDebugMessageKHRCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(int error, long command, int messageType, long threadLabel, long objectLabel, long message) Implements org. Doc from org. Will be called when a debug message is generated.
| |