private void printMethodName(String methodName) {
        if (methodName.startsWith("gl")) {
            // GL calls which actually draw (as opposed to change state)
            // will be printed in darker color
            methodName = methodName.substring(2);
            if (methodName.equals("Clear")
                    || methodName.equals("DrawRangeElements")
                    || methodName.equals("DrawElementsInstancedARB")) {
                print(methodName);
            } else {
                if (methodName.endsWith("EXT")) {
                    methodName = methodName.substring(0, methodName.length() - 3);
                }
                printStyle(ANSI_BRIGHT, methodName);
            }
        } else if (methodName.equals("resetStats")) {
            printStyle(ANSI_RED, "-- frame boundary --");
        }
    }
Creates a tracer implementation that wraps OpenGL 2+.

@param glInterface OGL object to wrap
@param glInterfaceClasses The interface(s) to implement
@return A tracer that implements the given interface
jme3-core/src/main/java/com/jme3/renderer/opengl/GLTracer.java