Package com.jogamp.opengl
Class GLDebugMessage
java.lang.Object
com.jogamp.opengl.GLDebugMessage
OpenGL debug message generated by the driver
and delivered via
GLDebugListener.-
Constructor Summary
ConstructorsConstructorDescriptionGLDebugMessage(GLContext source, long when, int dbgSource, int dbgType, int dbgId, int dbgSeverity, String dbgMsg) -
Method Summary
Modifier and TypeMethodDescriptionintgetDbgId()intstatic StringgetDbgSeverityString(int dbgSeverity) intstatic StringgetDbgSourceString(int dbgSource) intstatic StringgetDbgTypeString(int dbgType) longgetWhen()static StringtoHexString(int i) static StringBuildertoHexString(StringBuilder sb, int i) toString()static GLDebugMessagetranslateAMDEvent(GLContext source, long when, int dbgId, int amdDbgCategory, int dbgSeverity, String dbgMsg) static inttranslateARB2AMDCategory(int dbgSource, int dbgType)
-
Constructor Details
-
GLDebugMessage
public GLDebugMessage(GLContext source, long when, int dbgSource, int dbgType, int dbgId, int dbgSeverity, String dbgMsg) - Parameters:
source- The source of the eventwhen- The time of the eventdbgSource- The ARB sourcedbgType- The ARB typedbgId- The ARB iddbgSeverity- The ARB severity leveldbgMsg- The debug message
-
-
Method Details
-
translateAMDEvent
public static GLDebugMessage translateAMDEvent(GLContext source, long when, int dbgId, int amdDbgCategory, int dbgSeverity, String dbgMsg) - Parameters:
source-when-dbgId-amdDbgCategory-dbgSeverity- AMD severity level equals ARB severity level (value and semantic)dbgMsg-- Returns:
-
translateARB2AMDCategory
public static int translateARB2AMDCategory(int dbgSource, int dbgType) -
getSource
-
getWhen
public long getWhen() -
getDbgSource
public int getDbgSource() -
getDbgType
public int getDbgType() -
getDbgId
public int getDbgId() -
getDbgSeverity
public int getDbgSeverity() -
getDbgMsg
-
toString
-
toString
-
getDbgSourceString
-
getDbgTypeString
-
getDbgSeverityString
-
toHexString
-
toHexString
-