public class GLDebugMessage extends Object
GLDebugListener
.Constructor and Description |
---|
GLDebugMessage(GLContext source,
long when,
int dbgSource,
int dbgType,
int dbgId,
int dbgSeverity,
String dbgMsg) |
Modifier and Type | Method and Description |
---|---|
int |
getDbgId() |
String |
getDbgMsg() |
int |
getDbgSeverity() |
static String |
getDbgSeverityString(int dbgSeverity) |
int |
getDbgSource() |
static String |
getDbgSourceString(int dbgSource) |
int |
getDbgType() |
static String |
getDbgTypeString(int dbgType) |
GLContext |
getSource() |
long |
getWhen() |
static String |
toHexString(int i) |
static StringBuilder |
toHexString(StringBuilder sb,
int i) |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
static GLDebugMessage |
translateAMDEvent(GLContext source,
long when,
int dbgId,
int amdDbgCategory,
int dbgSeverity,
String dbgMsg) |
static int |
translateARB2AMDCategory(int dbgSource,
int dbgType) |
public GLDebugMessage(GLContext source, long when, int dbgSource, int dbgType, int dbgId, int dbgSeverity, String dbgMsg)
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 messagepublic static GLDebugMessage translateAMDEvent(GLContext source, long when, int dbgId, int amdDbgCategory, int dbgSeverity, String dbgMsg)
source
- when
- dbgId
- amdDbgCategory
- dbgSeverity
- AMD severity level equals ARB severity level (value and semantic)dbgMsg
- public static int translateARB2AMDCategory(int dbgSource, int dbgType)
public GLContext getSource()
public long getWhen()
public int getDbgSource()
public int getDbgType()
public int getDbgId()
public int getDbgSeverity()
public String getDbgMsg()
public StringBuilder toString(StringBuilder sb)
public static String getDbgSourceString(int dbgSource)
public static String getDbgTypeString(int dbgType)
public static String getDbgSeverityString(int dbgSeverity)
public static StringBuilder toHexString(StringBuilder sb, int i)
public static String toHexString(int i)
Copyright 2010 JogAmp Community.