Package com.mojang.blaze3d.opengl
Class GlDebug
java.lang.Object
com.mojang.blaze3d.opengl.GlDebug
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private GlDebug.LogEntry
private static final org.slf4j.Logger
private final Queue
<GlDebug.LogEntry> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GlDebug
enableDebugCallback
(int pVebosity, boolean pSychronous, Set<String> pEnabledExtensions) private void
printDebugLog
(int pSource, int pType, int pId, int pSeverity, int pLength, long pMessage, long pUserProgram) private static String
printUnknownToken
(int pToken) static String
severityToString
(int pType) static String
sourceToString
(int pSource) static String
typeToString
(int pType)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CIRCULAR_LOG_SIZE
private static final int CIRCULAR_LOG_SIZE- See Also:
-
MESSAGE_BUFFER
-
lastEntry
-
DEBUG_LEVELS
-
DEBUG_LEVELS_ARB
-
-
Constructor Details
-
GlDebug
public GlDebug()
-
-
Method Details
-
printUnknownToken
-
sourceToString
-
typeToString
-
severityToString
-
printDebugLog
private void printDebugLog(int pSource, int pType, int pId, int pSeverity, int pLength, long pMessage, long pUserProgram) -
getLastOpenGlDebugMessages
-
enableDebugCallback
-