@Override
    public long getProfilingTime(int taskId) {
        return gl.glGetQueryObjectui64(taskId, GL.GL_QUERY_RESULT);
    }
Convert a mesh mode to the corresponding GL value.

@param mode input enum value (not null)
@return the corresponding GL value
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java