Class GlDebug

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

public class GlDebug extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • CIRCULAR_LOG_SIZE

      private static final int CIRCULAR_LOG_SIZE
      See Also:
    • MESSAGE_BUFFER

      private final Queue<GlDebug.LogEntry> MESSAGE_BUFFER
    • lastEntry

      @Nullable private volatile GlDebug.LogEntry lastEntry
    • DEBUG_LEVELS

      private static final List<Integer> DEBUG_LEVELS
    • DEBUG_LEVELS_ARB

      private static final List<Integer> DEBUG_LEVELS_ARB
  • Constructor Details

    • GlDebug

      public GlDebug()
  • Method Details

    • printUnknownToken

      private static String printUnknownToken(int pToken)
    • sourceToString

      public static String sourceToString(int pSource)
    • typeToString

      public static String typeToString(int pType)
    • severityToString

      public static String severityToString(int pType)
    • printDebugLog

      private void printDebugLog(int p_410152_, int p_410087_, int p_409829_, int p_410103_, int p_409957_, long p_410749_, long p_410653_)
    • getLastOpenGlDebugMessages

      public List<String> getLastOpenGlDebugMessages()
    • enableDebugCallback

      @Nullable public static GlDebug enableDebugCallback(int pVerbosity, boolean pSynchronous, Set<String> pEnabledExtensions)