Class GlDebug

java.lang.Object
com.mojang.blaze3d.platform.GlDebug

public class GlDebug extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • CIRCULAR_LOG_SIZE

      private static final int CIRCULAR_LOG_SIZE
      See Also:
      Constant Field Values
    • MESSAGE_BUFFER

      private static final Queue<GlDebug.LogEntry> MESSAGE_BUFFER
    • lastEntry

      @Nullable private static volatile GlDebug.LogEntry lastEntry
    • DEBUG_LEVELS

      private static final List<Integer> DEBUG_LEVELS
    • DEBUG_LEVELS_ARB

      private static final List<Integer> DEBUG_LEVELS_ARB
    • debugEnabled

      private static boolean debugEnabled
  • Constructor Details

    • GlDebug

      public GlDebug()
  • Method Details

    • printUnknownToken

      private static String printUnknownToken(int p_84037_)
    • sourceToString

      public static String sourceToString(int p_84056_)
    • typeToString

      public static String typeToString(int p_84058_)
    • severityToString

      public static String severityToString(int p_84060_)
    • printDebugLog

      private static void printDebugLog(int p_84039_, int p_84040_, int p_84041_, int p_84042_, int p_84043_, long p_84044_, long p_84045_)
    • getLastOpenGlDebugMessages

      public static List<String> getLastOpenGlDebugMessages()
    • isDebugEnabled

      public static boolean isDebugEnabled()
    • enableDebugCallback

      public static void enableDebugCallback(int p_84050_, boolean p_84051_)