[Solved] CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Ident
CEGUI Team
Posts: 1836
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Ident » Mon Sep 18, 2017 21:39

Wait a moment, why is the context id suddenly 4 when you render CEGUI?

The rest looks good now btw ;)

But switching the context means a lot. Do you have multiple GL contexts running? Which one was active when you initialised the cegui openglrenderer?
CrazyEddie: "I don't like GUIs"

Teenee
Just popping in
Just popping in
Posts: 9
Joined: Sun Sep 17, 2017 14:18

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Teenee » Tue Sep 19, 2017 14:21

CEGUI is actually drawing the black rectangle, if I have my Texture Target have a declared render size of 1920 x 1080, this will show up:
https://gyazo.com/fae8d9f51a637fe112145402c60a9879

But if I set it to 500x500, the rectangle becomes smaller:
https://gyazo.com/dedfe2c7ae7a4a5bd240914a7fa9db2f

This also goes for setting the root window and any other child window added to the root.
I have checked the current FBO after window creation, after GUI init and before GUI drawing and it stayed at 0 all the time, which is the default buffer.

About the contexts, I have no idea why it is switching, so I just saved the current context just before the GUI init which among others also initialises the openglrenderer (the init is also called just after window creation) and set it before the GUI draw. I do this with wglGetCurrentContext() and wglGetCurrentDC(), then I input them in wglMakeCurrent(). gDEBugger shows the same context id now. However, this made my screen go completely black:

https://gyazo.com/c6ab4f5f31dda5d9f33e4ddfae1f3c52

Changing the TextureTarget and cegui window sizes does not affect this black screen.

Also, do I need to use shaders for this to work? From the examples I understood that I need to create the essentials (renderer, system, context, root window), then createFromFile some types (Scheme, Font) and add windows to the root. As long as the context is being drawn it should be able to draw on screen without me using a custom shader right? Same for the Texture Target that I have to create and call clear before I draw the context.
I am starting to have doubts if I even have properly written the code for CEGUI. My first post also shows all the CEGUI code used, not just a part of it.

After window creation and before GUI init:

Code: Select all

////////////////////////////////////////////////////////////
// This File contain a snapshot of OpenGL state variables
// Project name: AllServersInternals
// Generation date: Tuesday, September 19, 2017
// Generation time: 16:13:48
// Context id: 2
//
// Generated by gDEBugger - an OpenGL Debugger and Profiler
// www.gremedy.com
////////////////////////////////////////////////////////////

GL_ACCUM_ALPHA_BITS=16
GL_ACCUM_BLUE_BITS=16
GL_ACCUM_CLEAR_VALUE=0
GL_ACCUM_GREEN_BITS=16
GL_ACCUM_RED_BITS=16
GL_ALPHA_BIAS=0
GL_ALPHA_BITS=8
GL_ALPHA_SCALE=1
GL_ALPHA_TEST=FALSE
GL_ALPHA_TEST_FUNC=GL_ALWAYS
GL_ALPHA_TEST_REF=0
GL_AMBIENT - back={0.2, 0.2, 0.2, 1}
GL_AMBIENT - front={0.2, 0.2, 0.2, 1}
GL_ATTRIB_STACK_DEPTH=0
GL_AUTO_NORMAL=FALSE
GL_AUX_BUFFERS=4
GL_BLEND=FALSE
GL_BLEND_DST=0
GL_BLEND_SRC=1
GL_BLUE_BIAS=0
GL_BLUE_BITS=8
GL_BLUE_SCALE=1
GL_CLIP_PLANE0=FALSE
GL_CLIP_PLANE0 - equation={0, 0, 0, 0}
GL_CLIP_PLANE1=FALSE
GL_CLIP_PLANE1 - equation={0, 0, 0, 0}
GL_CLIP_PLANE2=FALSE
GL_CLIP_PLANE2 - equation={0, 0, 0, 0}
GL_CLIP_PLANE3=FALSE
GL_CLIP_PLANE3 - equation={0, 0, 0, 0}
GL_CLIP_PLANE4=FALSE
GL_CLIP_PLANE4 - equation={0, 0, 0, 0}
GL_CLIP_PLANE5=FALSE
GL_CLIP_PLANE5 - equation={0, 0, 0, 0}
GL_COLOR_CLEAR_VALUE={0, 0, 0, 0}
GL_COLOR_INDEXES - back={0, 1, 1}
GL_COLOR_INDEXES - front={0, 1, 1}
GL_COLOR_MATERIAL=FALSE
GL_COLOR_MATERIAL_FACE=GL_FRONT_AND_BACK
GL_COLOR_MATERIAL_PARAMETER=GL_AMBIENT_AND_DIFFUSE
GL_COLOR_WRITEMASK=N/A
GL_CULL_FACE=FALSE
GL_CULL_FACE_MODE=GL_BACK
GL_CURRENT_INDEX=1
GL_CURRENT_NORMAL={0, 0, 1}
GL_CURRENT_RASTER_COLOR={1, 1, 1, 1}
GL_CURRENT_RASTER_DISTANCE=0
GL_CURRENT_RASTER_INDEX=1
GL_CURRENT_RASTER_POSITION={0, 0, 0, 1}
GL_CURRENT_RASTER_POSITION_VALID=TRUE
GL_CURRENT_RASTER_TEXTURE_COORDS={0, 0, 0, 1}
GL_CURRENT_TEXTURE_COORDS={0, 0, 0, 1}
GL_DEPTH_BIAS=0
GL_DEPTH_BITS=0
GL_DEPTH_CLEAR_VALUE=2147483520
GL_DEPTH_FUNC=GL_LESS
GL_DEPTH_RANGE={0, 1}
GL_DEPTH_SCALE=1
GL_DEPTH_TEST=FALSE
GL_DEPTH_WRITEMASK=TRUE
GL_DIFFUSE - back={0.80000001, 0.80000001, 0.80000001, 1}
GL_DIFFUSE - front={0.80000001, 0.80000001, 0.80000001, 1}
GL_DITHER=TRUE
GL_DOUBLEBUFFER=TRUE
GL_DRAW_BUFFER=GL_BACK
GL_EDGE_FLAG=TRUE
GL_EMISSION - back={0, 0, 0, 1}
GL_EMISSION - front={0, 0, 0, 1}
GL_FOG=FALSE
GL_FOG_COLOR={0, 0, 0, 0}
GL_FOG_DENSITY=1
GL_FOG_END=1
GL_FOG_HINT=GL_DONT_CARE
GL_FOG_INDEX=0
GL_FOG_MODE=GL_EXP
GL_FOG_START=0
GL_FRONT_FACE=GL_CCW
GL_GREEN_BIAS=0
GL_GREEN_BITS=8
GL_GREEN_SCALE=1
GL_INDEX_BITS=0
GL_INDEX_CLEAR_VALUE=0
GL_INDEX_MODE=FALSE
GL_INDEX_OFFSET=0
GL_INDEX_SHIFT=0
GL_INDEX_WRITEMASK=255
GL_LIGHT0=FALSE
GL_LIGHT0 - ambient={0, 0, 0, 1}
GL_LIGHT0 - constant attenuation=1
GL_LIGHT0 - diffuse={1, 1, 1, 1}
GL_LIGHT0 - linear attenuation=0
GL_LIGHT0 - position={0, 0, 1, 0}
GL_LIGHT0 - quadratic attenuation=0
GL_LIGHT0 - specular={1, 1, 1, 1}
GL_LIGHT0 - spot cutoff=180
GL_LIGHT0 - spot direction={0, 0, -1}
GL_LIGHT0 - spot exponent=0
GL_LIGHT1=FALSE
GL_LIGHT1 - ambient={0, 0, 0, 1}
GL_LIGHT1 - constant attenuation=1
GL_LIGHT1 - diffuse={0, 0, 0, 1}
GL_LIGHT1 - linear attenuation=0
GL_LIGHT1 - position={0, 0, 1, 0}
GL_LIGHT1 - quadratic attenuation=0
GL_LIGHT1 - specular={0, 0, 0, 1}
GL_LIGHT1 - spot cutoff=180
GL_LIGHT1 - spot direction={0, 0, -1}
GL_LIGHT1 - spot exponent=0
GL_LIGHT2=FALSE
GL_LIGHT2 - ambient={0, 0, 0, 1}
GL_LIGHT2 - constant attenuation=1
GL_LIGHT2 - diffuse={0, 0, 0, 1}
GL_LIGHT2 - linear attenuation=0
GL_LIGHT2 - position={0, 0, 1, 0}
GL_LIGHT2 - quadratic attenuation=0
GL_LIGHT2 - specular={0, 0, 0, 1}
GL_LIGHT2 - spot cutoff=180
GL_LIGHT2 - spot direction={0, 0, -1}
GL_LIGHT2 - spot exponent=0
GL_LIGHT3=FALSE
GL_LIGHT3 - ambient={0, 0, 0, 1}
GL_LIGHT3 - constant attenuation=1
GL_LIGHT3 - diffuse={0, 0, 0, 1}
GL_LIGHT3 - linear attenuation=0
GL_LIGHT3 - position={0, 0, 1, 0}
GL_LIGHT3 - quadratic attenuation=0
GL_LIGHT3 - specular={0, 0, 0, 1}
GL_LIGHT3 - spot cutoff=180
GL_LIGHT3 - spot direction={0, 0, -1}
GL_LIGHT3 - spot exponent=0
GL_LIGHT4=FALSE
GL_LIGHT4 - ambient={0, 0, 0, 1}
GL_LIGHT4 - constant attenuation=1
GL_LIGHT4 - diffuse={0, 0, 0, 1}
GL_LIGHT4 - linear attenuation=0
GL_LIGHT4 - position={0, 0, 1, 0}
GL_LIGHT4 - quadratic attenuation=0
GL_LIGHT4 - specular={0, 0, 0, 1}
GL_LIGHT4 - spot cutoff=180
GL_LIGHT4 - spot direction={0, 0, -1}
GL_LIGHT4 - spot exponent=0
GL_LIGHT5=FALSE
GL_LIGHT5 - ambient={0, 0, 0, 1}
GL_LIGHT5 - constant attenuation=1
GL_LIGHT5 - diffuse={0, 0, 0, 1}
GL_LIGHT5 - linear attenuation=0
GL_LIGHT5 - position={0, 0, 1, 0}
GL_LIGHT5 - quadratic attenuation=0
GL_LIGHT5 - specular={0, 0, 0, 1}
GL_LIGHT5 - spot cutoff=180
GL_LIGHT5 - spot direction={0, 0, -1}
GL_LIGHT5 - spot exponent=0
GL_LIGHT6=FALSE
GL_LIGHT6 - ambient={0, 0, 0, 1}
GL_LIGHT6 - constant attenuation=1
GL_LIGHT6 - diffuse={0, 0, 0, 1}
GL_LIGHT6 - linear attenuation=0
GL_LIGHT6 - position={0, 0, 1, 0}
GL_LIGHT6 - quadratic attenuation=0
GL_LIGHT6 - specular={0, 0, 0, 1}
GL_LIGHT6 - spot cutoff=180
GL_LIGHT6 - spot direction={0, 0, -1}
GL_LIGHT6 - spot exponent=0
GL_LIGHT7=FALSE
GL_LIGHT7 - ambient={0, 0, 0, 1}
GL_LIGHT7 - constant attenuation=1
GL_LIGHT7 - diffuse={0, 0, 0, 1}
GL_LIGHT7 - linear attenuation=0
GL_LIGHT7 - position={0, 0, 1, 0}
GL_LIGHT7 - quadratic attenuation=0
GL_LIGHT7 - specular={0, 0, 0, 1}
GL_LIGHT7 - spot cutoff=180
GL_LIGHT7 - spot direction={0, 0, -1}
GL_LIGHT7 - spot exponent=0
GL_LIGHTING=FALSE
GL_LIGHT_MODEL_AMBIENT={0.2, 0.2, 0.2, 1}
GL_LIGHT_MODEL_LOCAL_VIEWER=FALSE
GL_LIGHT_MODEL_TWO_SIDE=FALSE
GL_LINE_SMOOTH=FALSE
GL_LINE_SMOOTH_HINT=GL_DONT_CARE
GL_LINE_STIPPLE=FALSE
GL_LINE_STIPPLE_PATTERN=65535
GL_LINE_STIPPLE_REPEAT=1
GL_LINE_WIDTH=1
GL_LINE_WIDTH_GRANULARITY=0.125
GL_LINE_WIDTH_RANGE=0.5
GL_LIST_BASE=0
GL_LIST_INDEX=0
GL_LIST_MODE=0
GL_LOGIC_OP=FALSE
GL_LOGIC_OP_MODE=GL_COPY
GL_MAP1_GRID_SEGMENTS=1
GL_MAP2_GRID_SEGMENTS={1, 1}
GL_MAP_COLOR=FALSE
GL_MAP_STENCIL=FALSE
GL_MATRIX_MODE=GL_MODELVIEW
GL_MAX_ATTRIB_STACK_DEPTH=16
GL_MAX_CLIP_PLANES=8
GL_MAX_EVAL_ORDER=8
GL_MAX_LIGHTS=8
GL_MAX_LIST_NESTING=64
GL_MAX_MODELVIEW_STACK_DEPTH=32
GL_MAX_NAME_STACK_DEPTH=128
GL_MAX_PIXEL_MAP_TABLE=65536
GL_MAX_PROJECTION_STACK_DEPTH=4
GL_MAX_TEXTURE_SIZE=16384
GL_MAX_TEXTURE_STACK_DEPTH=10
GL_MAX_VIEWPORT_DIMS=16384
GL_MODELVIEW_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_MODELVIEW_STACK_DEPTH=1
GL_NAME_STACK_DEPTH=0
GL_NORMALIZE=FALSE
GL_PACK_ALIGNMENT=4
GL_PACK_LSB_FIRST=FALSE
GL_PACK_ROW_LENGTH=0
GL_PACK_SKIP_PIXELS=0
GL_PACK_SKIP_ROWS=0
GL_PACK_SWAP_BYTES=FALSE
GL_PERSPECTIVE_CORRECTION_HINT=GL_DONT_CARE
GL_PIXEL_MAP_A_TO_A_SIZE=1
GL_PIXEL_MAP_B_TO_B_SIZE=1
GL_PIXEL_MAP_G_TO_G_SIZE=1
GL_PIXEL_MAP_I_TO_A_SIZE=1
GL_PIXEL_MAP_I_TO_B_SIZE=1
GL_PIXEL_MAP_I_TO_G_SIZE=1
GL_PIXEL_MAP_I_TO_I_SIZE=1
GL_PIXEL_MAP_I_TO_R_SIZE=1
GL_PIXEL_MAP_R_TO_R_SIZE=1
GL_PIXEL_MAP_S_TO_S_SIZE=1
GL_POINT_SIZE=1
GL_POINT_SIZE_GRANULARITY=0.125
GL_POINT_SIZE_RANGE=1
GL_POINT_SMOOTH=FALSE
GL_POINT_SMOOTH_HINT=GL_DONT_CARE
GL_POLYGON_MODE=GL_FILL
GL_POLYGON_SMOOTH=FALSE
GL_POLYGON_SMOOTH_HINT=GL_DONT_CARE
GL_POLYGON_STIPPLE=FALSE
GL_PROJECTION_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_PROJECTION_STACK_DEPTH=1
GL_READ_BUFFER=GL_BACK
GL_RED_BIAS=0
GL_RED_BITS=8
GL_RED_SCALE=1
GL_RENDER_MODE=GL_RENDER
GL_RGBA_MODE=TRUE
GL_SCISSOR_BOX={0, 0, 1, 1}
GL_SCISSOR_TEST=FALSE
GL_SHADE_MODEL=GL_SMOOTH
GL_SHININESS - back={0}
GL_SHININESS - front={0}
GL_SPECULAR - back={0, 0, 0, 1}
GL_SPECULAR - front={0, 0, 0, 1}
GL_STENCIL_BITS=0
GL_STENCIL_CLEAR_VALUE=0
GL_STENCIL_FAIL=GL_KEEP
GL_STENCIL_FUNC=GL_ALWAYS
GL_STENCIL_PASS_DEPTH_FAIL=GL_KEEP
GL_STENCIL_PASS_DEPTH_PASS=GL_KEEP
GL_STENCIL_REF=0
GL_STENCIL_TEST=FALSE
GL_STENCIL_VALUE_MASK=-1
GL_STENCIL_WRITEMASK=-1
GL_STEREO=0
GL_SUBPIXEL_BITS=8
GL_TEXTURE_1D=FALSE
GL_TEXTURE_2D=FALSE
GL_TEXTURE_GEN_Q=FALSE
GL_TEXTURE_GEN_R=FALSE
GL_TEXTURE_GEN_S=FALSE
GL_TEXTURE_GEN_T=FALSE
GL_TEXTURE_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TEXTURE_STACK_DEPTH=1
GL_UNPACK_ALIGNMENT=4
GL_UNPACK_LSB_FIRST=FALSE
GL_UNPACK_ROW_LENGTH=0
GL_UNPACK_SKIP_PIXELS=0
GL_UNPACK_SKIP_ROWS=0
GL_UNPACK_SWAP_BYTES=FALSE
GL_VIEWPORT={0, 0, 1, 1}
GL_ZOOM_X=1
GL_ZOOM_Y=1
GL_TEXTURE_BINDING_1D=0
GL_TEXTURE_BINDING_2D=0
GL_TEXTURE_BINDING_3D=0
GL_TEXTURE_ENV_MODE=GL_MODULATE
GL_TEXTURE_ENV_COLOR={0, 0, 0, 0}
GL_CURRENT_COLOR={1, 1, 1, 1}
GL_RESCALE_NORMAL=FALSE
GL_POLYGON_OFFSET_FACTOR=0
GL_POLYGON_OFFSET_UNITS=0
GL_POLYGON_OFFSET_POINT=FALSE
GL_POLYGON_OFFSET_LINE=FALSE
GL_POLYGON_OFFSET_FILL=FALSE
GL_TEXTURE_3D=FALSE
GL_MAX_ELEMENTS_VERTICES=1048576
GL_MAX_ELEMENTS_INDICES=1048576
GL_BLEND_COLOR={0, 0, 0, 0}
GL_BLEND_EQUATION=GL_FUNC_ADD
GL_VERTEX_ARRAY=FALSE
GL_VERTEX_ARRAY_SIZE=4
GL_VERTEX_ARRAY_STRIDE=0
GL_VERTEX_ARRAY_TYPE=GL_FLOAT
GL_VERTEX_ARRAY_POINTER=0x00000000
GL_NORMAL_ARRAY=FALSE
GL_NORMAL_ARRAY_STRIDE=0
GL_NORMAL_ARRAY_TYPE=GL_FLOAT
GL_NORMAL_ARRAY_POINTER=0x00000000
GL_COLOR_ARRAY=FALSE
GL_COLOR_ARRAY_SIZE=4
GL_COLOR_ARRAY_STRIDE=0
GL_COLOR_ARRAY_TYPE=GL_FLOAT
GL_COLOR_ARRAY_POINTER=0x00000000
GL_TEXTURE_COORD_ARRAY=FALSE
GL_TEXTURE_COORD_ARRAY_SIZE=4
GL_TEXTURE_COORD_ARRAY_STRIDE=0
GL_TEXTURE_COORD_ARRAY_TYPE=GL_FLOAT
GL_TEXTURE_COORD_ARRAY_POINTER=0x00000000
GL_TEXTURE_COMPRESSION_HINT=GL_DONT_CARE
GL_SAMPLE_COVERAGE_VALUE=1
GL_SAMPLE_COVERAGE_INVERT=FALSE
GL_SAMPLE_COVERAGE=FALSE
GL_SAMPLE_ALPHA_TO_COVERAGE=FALSE
GL_SAMPLE_ALPHA_TO_ONE=FALSE
GL_MULTISAMPLE=TRUE
GL_ACTIVE_TEXTURE=GL_TEXTURE0
GL_CLIENT_ACTIVE_TEXTURE=GL_TEXTURE0
GL_MAX_TEXTURE_UNITS=4
GL_BLEND_SRC_RGB=1
GL_BLEND_SRC_ALPHA=1
GL_BLEND_DST_RGB=0
GL_BLEND_DST_ALPHA=0
GL_CURRENT_FOG_COORDINATE=0
GL_FOG_COORDINATE_ARRAY=FALSE
GL_FOG_COORDINATE_ARRAY_STRIDE=0
GL_FOG_COORDINATE_ARRAY_TYPE=GL_FLOAT
GL_FOG_COORDINATE_ARRAY_POINTER=0x00000000
GL_POINT_SIZE_MIN=0
GL_POINT_SIZE_MAX=2047
GL_POINT_FADE_THRESHOLD_SIZE=1
GL_POINT_DISTANCE_ATTENUATION={1, 0, 0}
GL_CURRENT_SECONDARY_COLOR={0, 0, 0, 1}
GL_COLOR_SUM=FALSE
GL_SECONDARY_COLOR_ARRAY=FALSE
GL_SECONDARY_COLOR_ARRAY_SIZE=3
GL_SECONDARY_COLOR_ARRAY_TYPE=GL_FLOAT
GL_SECONDARY_COLOR_ARRAY_STRIDE=0
GL_SECONDARY_COLOR_ARRAY_POINTER=0x00000000
GL_BUFFER_SIZE - array buffer=N/A
GL_BUFFER_USAGE - array buffer=N/A
GL_ARRAY_BUFFER - GL_BUFFER_ACCESS=N/A
GL_ARRAY_BUFFER - GL_BUFFER_MAPPED=N/A
GL_BUFFER_SIZE - element array buffer=N/A
GL_BUFFER_USAGE - element array buffer=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_ACCESS=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_MAPPED=N/A
GL_QUERY_COUNTER_BITS=32
GL_ARRAY_BUFFER_BINDING=0
GL_ELEMENT_ARRAY_BUFFER_BINDING=0
GL_VERTEX_ARRAY_BUFFER_BINDING=0
GL_NORMAL_ARRAY_BUFFER_BINDING=0
GL_COLOR_ARRAY_BUFFER_BINDING=0
GL_INDEX_ARRAY_BUFFER_BINDING=0
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING=0
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING=0
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING=0
GL_FOG_COORD_SRC=GL_FRAGMENT_DEPTH
GL_CURRENT_FOG_COORD=0
GL_FOG_COORD_ARRAY_TYPE=GL_FLOAT
GL_FOG_COORD_ARRAY_STRIDE=0
GL_FOG_COORD_ARRAY_POINTER=0x00000000
GL_FOG_COORD_ARRAY=FALSE
GL_FOG_COORD_ARRAY_BUFFER_BINDING=0
GL_SRC0_RGB=GL_TEXTURE
GL_SRC1_RGB=GL_PREVIOUS
GL_SRC2_RGB=GL_CONSTANT
GL_SRC0_ALPHA=GL_TEXTURE
GL_SRC1_ALPHA=GL_PREVIOUS
GL_SRC2_ALPHA=GL_CONSTANT
GL_COMBINE_RGB=N/A
GL_COMBINE_ALPHA=N/A
GL_OPERAND0_RGB=N/A
GL_OPERAND1_RGB=N/A
GL_OPERAND2_RGB=N/A
GL_OPERAND0_ALPHA=N/A
GL_OPERAND1_ALPHA=N/A
GL_OPERAND2_ALPHA=N/A
GL_RGB_SCALE=N/A
GL_ALPHA_SCALE - texture combiner=N/A
GL_COLOR_LOGIC_OP=FALSE
GL_GENERATE_MIPMAP_HINT=GL_DONT_CARE
GL_ALIASED_POINT_SIZE_RANGE=1
GL_SMOOTH_POINT_SIZE_RANGE=1
GL_ALIASED_LINE_WIDTH_RANGE=1
GL_SMOOTH_LINE_WIDTH_RANGE=0.5
GL_SAMPLE_BUFFERS=0
GL_SAMPLES=0
GL_COMPRESSED_TEXTURE_FORMATS={GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGB5_A1_OES, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown}
GL_NUM_COMPRESSED_TEXTURE_FORMATS=51
GL_BLEND_EQUATION_RGB=GL_FUNC_ADD
GL_VERTEX_PROGRAM_POINT_SIZE=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE=FALSE
GL_STENCIL_BACK_FUNC=GL_ALWAYS
GL_STENCIL_BACK_FAIL=GL_KEEP
GL_STENCIL_BACK_PASS_DEPTH_FAIL=GL_KEEP
GL_STENCIL_BACK_PASS_DEPTH_PASS=GL_KEEP
GL_MAX_DRAW_BUFFERS=8
GL_DRAW_BUFFER0=GL_BACK
GL_DRAW_BUFFER1=0
GL_DRAW_BUFFER2=0
GL_DRAW_BUFFER3=0
GL_DRAW_BUFFER4=0
GL_DRAW_BUFFER5=0
GL_DRAW_BUFFER6=0
GL_DRAW_BUFFER7=0
GL_DRAW_BUFFER8=N/A
GL_DRAW_BUFFER9=N/A
GL_DRAW_BUFFER10=N/A
GL_DRAW_BUFFER11=N/A
GL_DRAW_BUFFER12=N/A
GL_DRAW_BUFFER13=N/A
GL_DRAW_BUFFER14=N/A
GL_DRAW_BUFFER15=N/A
GL_BLEND_EQUATION_ALPHA=GL_FUNC_ADD
GL_POINT_SPRITE=FALSE
GL_MAX_VERTEX_ATTRIBS=16
GL_MAX_TEXTURE_COORDS=8
GL_MAX_TEXTURE_IMAGE_UNITS=32
GL_MAX_VERTEX_UNIFORM_COMPONENTS=4096
GL_MAX_VARYING_FLOATS=124
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS=32
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS=192
GL_FRAGMENT_SHADER_DERIVATIVE_HINT=GL_DONT_CARE
GL_CURRENT_PROGRAM=0
GL_STENCIL_BACK_REF=0
GL_STENCIL_BACK_VALUE_MASK=-1
GL_STENCIL_BACK_WRITEMASK=-1
GL_CLIP_DISTANCE0=FALSE
GL_CLIP_DISTANCE1=FALSE
GL_CLIP_DISTANCE2=FALSE
GL_CLIP_DISTANCE3=FALSE
GL_CLIP_DISTANCE4=FALSE
GL_CLIP_DISTANCE5=FALSE
GL_MAX_CLIP_DISTANCES=8
GL_MAJOR_VERSION=4
GL_MINOR_VERSION=5
GL_NUM_EXTENSIONS=357
GL_CONTEXT_FLAGS=2
GL_MAX_ARRAY_TEXTURE_LAYERS=2048
GL_MIN_PROGRAM_TEXEL_OFFSET=-8
GL_MAX_PROGRAM_TEXEL_OFFSET=7
GL_CLAMP_VERTEX_COLOR=1
GL_CLAMP_FRAGMENT_COLOR=GL_FIXED_ONLY
GL_CLAMP_READ_COLOR=GL_FIXED_ONLY
GL_MAX_VARYING_COMPONENTS=124
GL_TEXTURE_BINDING_1D_ARRAY=0
GL_TEXTURE_BINDING_2D_ARRAY=0
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=4
GL_TRANSFORM_FEEDBACK_BUFFER_BINDING=0
GL_RASTERIZER_DISCARD=FALSE
GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=128
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=4
GL_PRIMITIVE_RESTART_NV=FALSE
GL_PRIMITIVE_RESTART_INDEX_NV=0
GL_OCCLUSION_TEST_HP=Not supported by hardware
GL_OCCLUSION_TEST_RESULT_HP=Not supported by hardware
GL_CURRENT_OCCLUSION_QUERY_ID_NV=0
GL_PIXEL_COUNTER_BITS_NV=32
GL_CURRENT_QUERY_ARB=0
GL_QUERY_COUNTER_BITS_ARB=32
GL_TEXTURE_CUBE_MAP_ARB=FALSE
GL_TEXTURE_BINDING_CUBE_MAP_ARB=0
GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB=16384
GL_TEXTURE_COMPRESSION_HINT_ARB=GL_DONT_CARE
GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB=51
GL_COMPRESSED_TEXTURE_FORMATS_ARB={GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGB5_A1_OES, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown}
GL_ARRAY_BUFFER_BINDING_ARB=0
GL_VERTEX_ARRAY_BUFFER_BINDING_ARB=0
GL_NORMAL_ARRAY_BUFFER_BINDING_ARB=0
GL_COLOR_ARRAY_BUFFER_BINDING_ARB=0
GL_INDEX_ARRAY_BUFFER_BINDING_ARB=0
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB=0
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB=0
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB=0
GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB=0
GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB=Not supported by hardware
GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB=0
GL_ARRAY_BUFFER - GL_BUFFER_USAGE_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_MAPPED_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_SIZE_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_ACCESS_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_USAGE_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_MAPPED_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_SIZE_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_ACCESS_ARB=N/A
GL_CURRENT_WEIGHT_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_TYPE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_SIZE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_STRIDE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_POINTER_ARB=Not supported by hardware
GL_ACTIVE_VERTEX_UNITS_ARB=Not supported by hardware
GL_VERTEX_BLEND_ARB=Not supported by hardware
GL_MAX_VERTEX_UNITS_ARB=Not supported by hardware
GL_MODELVIEW0_ARB=Not supported by hardware
GL_MODELVIEW1_ARB=Not supported by hardware
GL_MODELVIEW2_ARB=Not supported by hardware
GL_MODELVIEW3_ARB=Not supported by hardware
GL_MODELVIEW4_ARB=Not supported by hardware
GL_MODELVIEW5_ARB=Not supported by hardware
GL_MODELVIEW6_ARB=Not supported by hardware
GL_MODELVIEW7_ARB=Not supported by hardware
GL_MODELVIEW8_ARB=Not supported by hardware
GL_MODELVIEW9_ARB=Not supported by hardware
GL_MODELVIEW10_ARB=Not supported by hardware
GL_MODELVIEW11_ARB=Not supported by hardware
GL_MODELVIEW12_ARB=Not supported by hardware
GL_MODELVIEW13_ARB=Not supported by hardware
GL_MODELVIEW14_ARB=Not supported by hardware
GL_MODELVIEW15_ARB=Not supported by hardware
GL_MODELVIEW16_ARB=Not supported by hardware
GL_MODELVIEW17_ARB=Not supported by hardware
GL_MODELVIEW18_ARB=Not supported by hardware
GL_MODELVIEW19_ARB=Not supported by hardware
GL_MODELVIEW20_ARB=Not supported by hardware
GL_MODELVIEW21_ARB=Not supported by hardware
GL_MODELVIEW22_ARB=Not supported by hardware
GL_MODELVIEW23_ARB=Not supported by hardware
GL_MODELVIEW24_ARB=Not supported by hardware
GL_MODELVIEW25_ARB=Not supported by hardware
GL_MODELVIEW26_ARB=Not supported by hardware
GL_MODELVIEW27_ARB=Not supported by hardware
GL_MODELVIEW28_ARB=Not supported by hardware
GL_MODELVIEW29_ARB=Not supported by hardware
GL_MODELVIEW30_ARB=Not supported by hardware
GL_MODELVIEW31_ARB=Not supported by hardware
GL_TEXTURE_3D_EXT=FALSE
GL_PACK_SKIP_IMAGES_EXT=0
GL_PACK_IMAGE_HEIGHT_EXT=0
GL_UNPACK_SKIP_IMAGES_EXT=0
GL_UNPACK_IMAGE_HEIGHT_EXT=0
GL_MAX_3D_TEXTURE_SIZE_EXT=2048
GL_VERTEX_PROGRAM_ARB=FALSE
GL_VERTEX_PROGRAM_POINT_SIZE_ARB=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE_ARB=FALSE
GL_PROGRAM_BINDING_ARB - vertex program=0
GL_PROGRAM_LENGTH_ARB - vertex program=0
GL_PROGRAM_FORMAT_ARB - vertex program=GL_PROGRAM_FORMAT_ASCII_ARB
GL_PROGRAM_INSTRUCTIONS_ARB - vertex program=0
GL_PROGRAM_TEMPORARIES_ARB - vertex program=0
GL_PROGRAM_PARAMETERS_ARB - vertex program=0
GL_PROGRAM_ATTRIBS_ARB - vertex program=0
GL_PROGRAM_ADDRESS_REGISTERS_ARB - vertex program=0
GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB - vertex program=0
GL_PROGRAM_NATIVE_TEMPORARIES_ARB - vertex program=0
GL_PROGRAM_NATIVE_PARAMETERS_ARB - vertex program=0
GL_PROGRAM_NATIVE_ATTRIBS_ARB - vertex program=0
GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB - vertex program=0
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB - vertex program=1
GL_CURRENT_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_CURRENT_MATRIX_STACK_DEPTH_ARB=1
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB - vertex program=256
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_MATRICES_ARB=8
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB=1
GL_MAX_PROGRAM_INSTRUCTIONS_ARB - vertex program=65536
GL_MAX_PROGRAM_TEMPORARIES_ARB - vertex program=4096
GL_MAX_PROGRAM_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_ATTRIBS_ARB - vertex program=16
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB - vertex program=2
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB - vertex program=65536
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB - vertex program=4096
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB - vertex program=16
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB - vertex program=2
GL_FRAGMENT_PROGRAM_ARB=FALSE
GL_PROGRAM_ALU_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_TEX_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_TEX_INDIRECTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB - fragment program=0
GL_MAX_TEXTURE_COORDS_ARB=8
GL_MAX_TEXTURE_IMAGE_UNITS_ARB=32
GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB - fragment program=65536
GL_MAX_VERTEX_ATTRIBS_ARB=16
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB=4096
GL_MAX_VARYING_FLOATS_ARB=124
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB=192
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB=32
GL_PROGRAM_OBJECT_ARB=0
GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB=GL_DONT_CARE
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB=4096
GL_VERTEX_PROGRAM_NV=FALSE
GL_VERTEX_PROGRAM_POINT_SIZE_NV=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE_NV=FALSE
GL_VERTEX_PROGRAM_BINDING_NV=0
GL_VERTEX_ATTRIB_ARRAY0_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY1_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY2_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY3_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY4_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY5_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY6_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY7_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY8_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY9_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY10_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY11_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY12_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY13_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY14_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY15_NV=FALSE
GL_CURRENT_MATRIX_STACK_DEPTH_NV=1
GL_CURRENT_MATRIX_NV={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV=1
GL_MAX_TRACK_MATRICES_NV=8
GL_FRAGMENT_SHADER_ATI=Not supported by hardware
GL_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_VERTEX_SHADER_OPTIMIZED_EXT=Not supported by hardware
GL_VERTEX_SHADER_EXT=Not supported by hardware
GL_VERTEX_SHADER_BINDING_EXT=Not supported by hardware
GL_VARIANT_ARRAY_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_LO_BIAS_NV=0
GL_DS_BIAS_NV=0
GL_DT_BIAS_NV=0
GL_MAGNITUDE_BIAS_NV=0
GL_VIBRANCE_BIAS_NV=0
GL_HI_SCALE_NV=1
GL_LO_SCALE_NV=1
GL_DS_SCALE_NV=1
GL_DT_SCALE_NV=1
GL_MAGNITUDE_SCALE_NV=1
GL_VIBRANCE_SCALE_NV=1
GL_TEXTURE_SHADER_NV=FALSE
GL_SHADER_OPERATION_NV=0
GL_CULL_MODES_NV=N/A
GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV=GL_UNSIGNED_IDENTITY_NV
GL_PREVIOUS_TEXTURE_INPUT_NV=N/A
GL_CONST_EYE_NV=N/A
GL_OFFSET_TEXTURE_MATRIX_NV=N/A
GL_OFFSET_TEXTURE_SCALE_NV=N/A
GL_OFFSET_TEXTURE_BIAS_NV=N/A
GL_SHADER_CONSISTENT_NV=N/A
GL_TEXT_FRAGMENT_SHADER_ATI=Not supported by hardware
GL_FRAGMENT_PROGRAM_NV=FALSE
GL_FRAGMENT_PROGRAM_BINDING_NV=0
GL_MAX_TEXTURE_COORDS_NV=8
GL_MAX_TEXTURE_IMAGE_UNITS_NV=32
GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV=1024
GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV=16777216
GL_MAX_PROGRAM_CALL_DEPTH_NV=32
GL_MAX_SHADER_BUFFER_ADDRESS_NV=-1
GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV=FALSE
GL_ELEMENT_ARRAY_UNIFIED_NV=FALSE
GL_VERTEX_ARRAY_LENGTH_NV=0
GL_NORMAL_ARRAY_LENGTH_NV=0
GL_COLOR_ARRAY_LENGTH_NV=0
GL_INDEX_ARRAY_LENGTH_NV=0
GL_EDGE_FLAG_ARRAY_LENGTH_NV=0
GL_SECONDARY_COLOR_ARRAY_LENGTH_NV=0
GL_FOG_COORD_ARRAY_LENGTH_NV=0
GL_ELEMENT_ARRAY_LENGTH_NV=0
GL_MAX_DEBUG_MESSAGE_LENGTH_AMD=Not supported by hardware
GL_MAX_DEBUG_LOGGED_MESSAGES_AMD=Not supported by hardware
GL_DEBUG_LOGGED_MESSAGES_AMD=Not supported by hardware
GL_MAX_DRAW_BUFFERS_ARB=8
GL_DRAW_BUFFER0_ARB=GL_BACK
GL_DRAW_BUFFER1_ARB=0
GL_DRAW_BUFFER2_ARB=0
GL_DRAW_BUFFER3_ARB=0
GL_DRAW_BUFFER4_ARB=0
GL_DRAW_BUFFER5_ARB=0
GL_DRAW_BUFFER6_ARB=0
GL_DRAW_BUFFER7_ARB=0
GL_DRAW_BUFFER8_ARB=N/A
GL_DRAW_BUFFER9_ARB=N/A
GL_DRAW_BUFFER10_ARB=N/A
GL_DRAW_BUFFER11_ARB=N/A
GL_DRAW_BUFFER12_ARB=N/A
GL_DRAW_BUFFER13_ARB=N/A
GL_DRAW_BUFFER14_ARB=N/A
GL_DRAW_BUFFER15_ARB=N/A
GL_MAX_DRAW_BUFFERS_ATI=GL_QUAD_STRIP
GL_DRAW_BUFFER0_ATI=GL_BACK
GL_DRAW_BUFFER1_ATI=0
GL_DRAW_BUFFER2_ATI=0
GL_DRAW_BUFFER3_ATI=0
GL_DRAW_BUFFER4_ATI=0
GL_DRAW_BUFFER5_ATI=0
GL_DRAW_BUFFER6_ATI=0
GL_DRAW_BUFFER7_ATI=0
GL_DRAW_BUFFER8_ATI=N/A
GL_DRAW_BUFFER9_ATI=N/A
GL_DRAW_BUFFER10_ATI=N/A
GL_DRAW_BUFFER11_ATI=N/A
GL_DRAW_BUFFER12_ATI=N/A
GL_DRAW_BUFFER13_ATI=N/A
GL_DRAW_BUFFER14_ATI=N/A
GL_DRAW_BUFFER15_ATI=N/A
GL_RGBA_FLOAT_MODE_ARB=FALSE
GL_CLAMP_VERTEX_COLOR_ARB=1
GL_CLAMP_FRAGMENT_COLOR_ARB=GL_FIXED_ONLY
GL_CLAMP_READ_COLOR_ARB=GL_FIXED_ONLY
GL_POINT_SPRITE_ARB=FALSE
GL_COORD_REPLACE_ARB=0
GL_STENCIL_TEST_TWO_SIDE_EXT=FALSE
GL_ACTIVE_STENCIL_FACE_EXT=GL_FRONT
GL_ACTIVE_TEXTURE_ARB=GL_TEXTURE0
GL_CLIENT_ACTIVE_TEXTURE_ARB=GL_TEXTURE0
GL_MAX_TEXTURE_UNITS_ARB=4
GL_BLEND_EQUATION_EXT=GL_FUNC_ADD
GL_INTERLACE_SGIX=Not supported by hardware
GL_FRAMEBUFFER_BINDING_EXT=0
GL_RENDERBUFFER_BINDING_EXT=0
GL_MAX_RENDERBUFFER_SIZE_EXT=16384
GL_DRAW_FRAMEBUFFER_BINDING_EXT=0
GL_READ_FRAMEBUFFER_BINDING_EXT=0
GL_MAX_SAMPLES_EXT=32
GL_FRAMEBUFFER_BINDING=0
GL_RENDERBUFFER_BINDING=0
GL_MAX_RENDERBUFFER_SIZE=16384
GL_DRAW_FRAMEBUFFER_BINDING=0
GL_READ_FRAMEBUFFER_BINDING=0
GL_MAX_SAMPLES=32
GL_TEXTURE_RECTANGLE_ARB=FALSE
GL_TEXTURE_BINDING_RECTANGLE_ARB=0
GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB=16384
GL_TEXTURE_RECTANGLE_NV=FALSE
GL_TEXTURE_BINDING_RECTANGLE_NV=0
GL_MAX_RECTANGLE_TEXTURE_SIZE_NV=16384
GL_MULTISAMPLE_ARB=TRUE
GL_SAMPLE_ALPHA_TO_COVERAGE_ARB=FALSE
GL_SAMPLE_ALPHA_TO_ONE_ARB=FALSE
GL_SAMPLE_COVERAGE_ARB=FALSE
GL_SAMPLE_COVERAGE_INVERT_ARB=FALSE
GL_SAMPLE_COVERAGE_VALUE_ARB=1
GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT=32
GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT=1024
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT=1024
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT=2048
GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT=124
GL_MAX_VERTEX_VARYING_COMPONENTS_EXT=124
GL_MAX_VARYING_COMPONENTS_EXT=124
GL_TEXTURE_BINDING_1D_ARRAY_EXT=0
GL_TEXTURE_BINDING_2D_ARRAY_EXT=0
GL_MAX_ARRAY_TEXTURE_LAYERS_EXT=2048
GL_ARRAY_ELEMENT_LOCK_FIRST_EXT=0
GL_ARRAY_ELEMENT_LOCK_COUNT_EXT=0
GL_TRANSPOSE_MODELVIEW_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_PROJECTION_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_TEXTURE_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_COLOR_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_POINT_SIZE_MIN_ARB=0
GL_POINT_SIZE_MAX_ARB=2047
GL_POINT_FADE_THRESHOLD_SIZE_ARB=1
GL_POINT_DISTANCE_ATTENUATION_ARB={1, 0, 0}
GL_PIXEL_PACK_BUFFER_BINDING_ARB=0
GL_PIXEL_UNPACK_BUFFER_BINDING_ARB=0
GL_FRAMEBUFFER_SRGB=FALSE
GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB=32
GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB=1024
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB=1024
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB=2048
GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB=124
GL_MAX_VERTEX_VARYING_COMPONENTS_ARB=124
GL_MAX_VARYING_COMPONENTS_ARB=Not supported by hardware
GL_TEXTURE_BINDING_BUFFER_ARB=0
GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT=0
GL_TEXTURE_BUFFER_FORMAT_ARB=GL_LUMINANCE8
GL_TEXTURE_BUFFER_ARB=0
GL_MAX_TEXTURE_BUFFER_SIZE_ARB=134217728
GL_TEXTURE_BINDING_BUFFER_EXT=0
GL_TEXTURE_BUFFER_FORMAT_EXT=GL_LUMINANCE8
GL_TEXTURE_BUFFER_EXT=0
GL_MAX_TEXTURE_BUFFER_SIZE_EXT=134217728
GL_VERTEX_ARRAY_BINDING=0
GL_UNIFORM_BUFFER_BINDING=0
GL_MAX_VERTEX_UNIFORM_BLOCKS=14
GL_MAX_FRAGMENT_UNIFORM_BLOCKS=14
GL_MAX_GEOMETRY_UNIFORM_BLOCKS=14
GL_MAX_COMBINED_UNIFORM_BLOCKS=84
GL_MAX_UNIFORM_BUFFER_BINDINGS=84
GL_MAX_UNIFORM_BLOCK_SIZE=65536
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS=4096
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS=2048
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=233472
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=233472
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS=231424
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT=256
GL_DEPTH_CLAMP=FALSE
GL_PROVOKING_VERTEX=36430
GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION=TRUE
GL_TEXTURE_CUBE_MAP_SEAMLESS=FALSE
GL_MAX_SERVER_WAIT_TIMEOUT=-1
GL_SAMPLE_MASK=FALSE
GL_TEXTURE_BINDING_2D_MULTISAMPLE=0
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY=0
GL_MAX_SAMPLE_MASK_WORDS=2
GL_MAX_COLOR_TEXTURE_SAMPLES=32
GL_MAX_DEPTH_TEXTURE_SAMPLES=32
GL_MAX_INTEGER_SAMPLES=32
WGL_SWAP_INTERVAL_EXT=0
GL_UNPACK_CLIENT_STORAGE_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_TYPE_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_POINTER_APPLE=Not supported by hardware
GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE=Not supported by hardware
GL_TRANSFORM_HINT_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_BINDING_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_POINTER_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE=Not supported by hardware
GL_RGBA_INTEGER_MODE_EXT=FALSE
GL_RGBA_INTEGER_MODE_EXT=0


Before GUI draw:

Code: Select all

////////////////////////////////////////////////////////////
// This File contain a snapshot of OpenGL state variables
// Project name: AllServersInternals
// Generation date: Tuesday, September 19, 2017
// Generation time: 16:14:04
// Context id: 2
//
// Generated by gDEBugger - an OpenGL Debugger and Profiler
// www.gremedy.com
////////////////////////////////////////////////////////////

GL_ACCUM_ALPHA_BITS=16
GL_ACCUM_BLUE_BITS=16
GL_ACCUM_CLEAR_VALUE=0
GL_ACCUM_GREEN_BITS=16
GL_ACCUM_RED_BITS=16
GL_ALPHA_BIAS=0
GL_ALPHA_BITS=8
GL_ALPHA_SCALE=1
GL_ALPHA_TEST=FALSE
GL_ALPHA_TEST_FUNC=GL_ALWAYS
GL_ALPHA_TEST_REF=0
GL_AMBIENT - back={0.2, 0.2, 0.2, 1}
GL_AMBIENT - front={0.2, 0.2, 0.2, 1}
GL_ATTRIB_STACK_DEPTH=0
GL_AUTO_NORMAL=FALSE
GL_AUX_BUFFERS=4
GL_BLEND=FALSE
GL_BLEND_DST=0
GL_BLEND_SRC=1
GL_BLUE_BIAS=0
GL_BLUE_BITS=8
GL_BLUE_SCALE=1
GL_CLIP_PLANE0=FALSE
GL_CLIP_PLANE0 - equation={0, 0, 0, 0}
GL_CLIP_PLANE1=FALSE
GL_CLIP_PLANE1 - equation={0, 0, 0, 0}
GL_CLIP_PLANE2=FALSE
GL_CLIP_PLANE2 - equation={0, 0, 0, 0}
GL_CLIP_PLANE3=FALSE
GL_CLIP_PLANE3 - equation={0, 0, 0, 0}
GL_CLIP_PLANE4=FALSE
GL_CLIP_PLANE4 - equation={0, 0, 0, 0}
GL_CLIP_PLANE5=FALSE
GL_CLIP_PLANE5 - equation={0, 0, 0, 0}
GL_COLOR_CLEAR_VALUE={0, 0, 0, 0}
GL_COLOR_INDEXES - back={0, 1, 1}
GL_COLOR_INDEXES - front={0, 1, 1}
GL_COLOR_MATERIAL=FALSE
GL_COLOR_MATERIAL_FACE=GL_FRONT_AND_BACK
GL_COLOR_MATERIAL_PARAMETER=GL_AMBIENT_AND_DIFFUSE
GL_COLOR_WRITEMASK=N/A
GL_CULL_FACE=FALSE
GL_CULL_FACE_MODE=GL_BACK
GL_CURRENT_INDEX=1
GL_CURRENT_NORMAL={0, 0, 1}
GL_CURRENT_RASTER_COLOR={1, 1, 1, 1}
GL_CURRENT_RASTER_DISTANCE=0
GL_CURRENT_RASTER_INDEX=1
GL_CURRENT_RASTER_POSITION={0, 0, 0, 1}
GL_CURRENT_RASTER_POSITION_VALID=TRUE
GL_CURRENT_RASTER_TEXTURE_COORDS={0, 0, 0, 1}
GL_CURRENT_TEXTURE_COORDS={0, 0, 0, 1}
GL_DEPTH_BIAS=0
GL_DEPTH_BITS=0
GL_DEPTH_CLEAR_VALUE=2147483520
GL_DEPTH_FUNC=GL_LESS
GL_DEPTH_RANGE={0, 1}
GL_DEPTH_SCALE=1
GL_DEPTH_TEST=FALSE
GL_DEPTH_WRITEMASK=TRUE
GL_DIFFUSE - back={0.80000001, 0.80000001, 0.80000001, 1}
GL_DIFFUSE - front={0.80000001, 0.80000001, 0.80000001, 1}
GL_DITHER=TRUE
GL_DOUBLEBUFFER=TRUE
GL_DRAW_BUFFER=GL_BACK
GL_EDGE_FLAG=TRUE
GL_EMISSION - back={0, 0, 0, 1}
GL_EMISSION - front={0, 0, 0, 1}
GL_FOG=FALSE
GL_FOG_COLOR={0, 0, 0, 0}
GL_FOG_DENSITY=1
GL_FOG_END=1
GL_FOG_HINT=GL_DONT_CARE
GL_FOG_INDEX=0
GL_FOG_MODE=GL_EXP
GL_FOG_START=0
GL_FRONT_FACE=GL_CCW
GL_GREEN_BIAS=0
GL_GREEN_BITS=8
GL_GREEN_SCALE=1
GL_INDEX_BITS=0
GL_INDEX_CLEAR_VALUE=0
GL_INDEX_MODE=FALSE
GL_INDEX_OFFSET=0
GL_INDEX_SHIFT=0
GL_INDEX_WRITEMASK=255
GL_LIGHT0=FALSE
GL_LIGHT0 - ambient={0, 0, 0, 1}
GL_LIGHT0 - constant attenuation=1
GL_LIGHT0 - diffuse={1, 1, 1, 1}
GL_LIGHT0 - linear attenuation=0
GL_LIGHT0 - position={0, 0, 1, 0}
GL_LIGHT0 - quadratic attenuation=0
GL_LIGHT0 - specular={1, 1, 1, 1}
GL_LIGHT0 - spot cutoff=180
GL_LIGHT0 - spot direction={0, 0, -1}
GL_LIGHT0 - spot exponent=0
GL_LIGHT1=FALSE
GL_LIGHT1 - ambient={0, 0, 0, 1}
GL_LIGHT1 - constant attenuation=1
GL_LIGHT1 - diffuse={0, 0, 0, 1}
GL_LIGHT1 - linear attenuation=0
GL_LIGHT1 - position={0, 0, 1, 0}
GL_LIGHT1 - quadratic attenuation=0
GL_LIGHT1 - specular={0, 0, 0, 1}
GL_LIGHT1 - spot cutoff=180
GL_LIGHT1 - spot direction={0, 0, -1}
GL_LIGHT1 - spot exponent=0
GL_LIGHT2=FALSE
GL_LIGHT2 - ambient={0, 0, 0, 1}
GL_LIGHT2 - constant attenuation=1
GL_LIGHT2 - diffuse={0, 0, 0, 1}
GL_LIGHT2 - linear attenuation=0
GL_LIGHT2 - position={0, 0, 1, 0}
GL_LIGHT2 - quadratic attenuation=0
GL_LIGHT2 - specular={0, 0, 0, 1}
GL_LIGHT2 - spot cutoff=180
GL_LIGHT2 - spot direction={0, 0, -1}
GL_LIGHT2 - spot exponent=0
GL_LIGHT3=FALSE
GL_LIGHT3 - ambient={0, 0, 0, 1}
GL_LIGHT3 - constant attenuation=1
GL_LIGHT3 - diffuse={0, 0, 0, 1}
GL_LIGHT3 - linear attenuation=0
GL_LIGHT3 - position={0, 0, 1, 0}
GL_LIGHT3 - quadratic attenuation=0
GL_LIGHT3 - specular={0, 0, 0, 1}
GL_LIGHT3 - spot cutoff=180
GL_LIGHT3 - spot direction={0, 0, -1}
GL_LIGHT3 - spot exponent=0
GL_LIGHT4=FALSE
GL_LIGHT4 - ambient={0, 0, 0, 1}
GL_LIGHT4 - constant attenuation=1
GL_LIGHT4 - diffuse={0, 0, 0, 1}
GL_LIGHT4 - linear attenuation=0
GL_LIGHT4 - position={0, 0, 1, 0}
GL_LIGHT4 - quadratic attenuation=0
GL_LIGHT4 - specular={0, 0, 0, 1}
GL_LIGHT4 - spot cutoff=180
GL_LIGHT4 - spot direction={0, 0, -1}
GL_LIGHT4 - spot exponent=0
GL_LIGHT5=FALSE
GL_LIGHT5 - ambient={0, 0, 0, 1}
GL_LIGHT5 - constant attenuation=1
GL_LIGHT5 - diffuse={0, 0, 0, 1}
GL_LIGHT5 - linear attenuation=0
GL_LIGHT5 - position={0, 0, 1, 0}
GL_LIGHT5 - quadratic attenuation=0
GL_LIGHT5 - specular={0, 0, 0, 1}
GL_LIGHT5 - spot cutoff=180
GL_LIGHT5 - spot direction={0, 0, -1}
GL_LIGHT5 - spot exponent=0
GL_LIGHT6=FALSE
GL_LIGHT6 - ambient={0, 0, 0, 1}
GL_LIGHT6 - constant attenuation=1
GL_LIGHT6 - diffuse={0, 0, 0, 1}
GL_LIGHT6 - linear attenuation=0
GL_LIGHT6 - position={0, 0, 1, 0}
GL_LIGHT6 - quadratic attenuation=0
GL_LIGHT6 - specular={0, 0, 0, 1}
GL_LIGHT6 - spot cutoff=180
GL_LIGHT6 - spot direction={0, 0, -1}
GL_LIGHT6 - spot exponent=0
GL_LIGHT7=FALSE
GL_LIGHT7 - ambient={0, 0, 0, 1}
GL_LIGHT7 - constant attenuation=1
GL_LIGHT7 - diffuse={0, 0, 0, 1}
GL_LIGHT7 - linear attenuation=0
GL_LIGHT7 - position={0, 0, 1, 0}
GL_LIGHT7 - quadratic attenuation=0
GL_LIGHT7 - specular={0, 0, 0, 1}
GL_LIGHT7 - spot cutoff=180
GL_LIGHT7 - spot direction={0, 0, -1}
GL_LIGHT7 - spot exponent=0
GL_LIGHTING=FALSE
GL_LIGHT_MODEL_AMBIENT={0.2, 0.2, 0.2, 1}
GL_LIGHT_MODEL_LOCAL_VIEWER=FALSE
GL_LIGHT_MODEL_TWO_SIDE=FALSE
GL_LINE_SMOOTH=FALSE
GL_LINE_SMOOTH_HINT=GL_DONT_CARE
GL_LINE_STIPPLE=FALSE
GL_LINE_STIPPLE_PATTERN=65535
GL_LINE_STIPPLE_REPEAT=1
GL_LINE_WIDTH=1
GL_LINE_WIDTH_GRANULARITY=0.125
GL_LINE_WIDTH_RANGE=0.5
GL_LIST_BASE=0
GL_LIST_INDEX=0
GL_LIST_MODE=0
GL_LOGIC_OP=FALSE
GL_LOGIC_OP_MODE=GL_COPY
GL_MAP1_GRID_SEGMENTS=1
GL_MAP2_GRID_SEGMENTS={1, 1}
GL_MAP_COLOR=FALSE
GL_MAP_STENCIL=FALSE
GL_MATRIX_MODE=GL_MODELVIEW
GL_MAX_ATTRIB_STACK_DEPTH=16
GL_MAX_CLIP_PLANES=8
GL_MAX_EVAL_ORDER=8
GL_MAX_LIGHTS=8
GL_MAX_LIST_NESTING=64
GL_MAX_MODELVIEW_STACK_DEPTH=32
GL_MAX_NAME_STACK_DEPTH=128
GL_MAX_PIXEL_MAP_TABLE=65536
GL_MAX_PROJECTION_STACK_DEPTH=4
GL_MAX_TEXTURE_SIZE=16384
GL_MAX_TEXTURE_STACK_DEPTH=10
GL_MAX_VIEWPORT_DIMS=16384
GL_MODELVIEW_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_MODELVIEW_STACK_DEPTH=1
GL_NAME_STACK_DEPTH=0
GL_NORMALIZE=FALSE
GL_PACK_ALIGNMENT=4
GL_PACK_LSB_FIRST=FALSE
GL_PACK_ROW_LENGTH=0
GL_PACK_SKIP_PIXELS=0
GL_PACK_SKIP_ROWS=0
GL_PACK_SWAP_BYTES=FALSE
GL_PERSPECTIVE_CORRECTION_HINT=GL_DONT_CARE
GL_PIXEL_MAP_A_TO_A_SIZE=1
GL_PIXEL_MAP_B_TO_B_SIZE=1
GL_PIXEL_MAP_G_TO_G_SIZE=1
GL_PIXEL_MAP_I_TO_A_SIZE=1
GL_PIXEL_MAP_I_TO_B_SIZE=1
GL_PIXEL_MAP_I_TO_G_SIZE=1
GL_PIXEL_MAP_I_TO_I_SIZE=1
GL_PIXEL_MAP_I_TO_R_SIZE=1
GL_PIXEL_MAP_R_TO_R_SIZE=1
GL_PIXEL_MAP_S_TO_S_SIZE=1
GL_POINT_SIZE=1
GL_POINT_SIZE_GRANULARITY=0.125
GL_POINT_SIZE_RANGE=1
GL_POINT_SMOOTH=FALSE
GL_POINT_SMOOTH_HINT=GL_DONT_CARE
GL_POLYGON_MODE=GL_FILL
GL_POLYGON_SMOOTH=FALSE
GL_POLYGON_SMOOTH_HINT=GL_DONT_CARE
GL_POLYGON_STIPPLE=FALSE
GL_PROJECTION_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_PROJECTION_STACK_DEPTH=1
GL_READ_BUFFER=GL_BACK
GL_RED_BIAS=0
GL_RED_BITS=8
GL_RED_SCALE=1
GL_RENDER_MODE=GL_RENDER
GL_RGBA_MODE=TRUE
GL_SCISSOR_BOX={0, 0, 1, 1}
GL_SCISSOR_TEST=FALSE
GL_SHADE_MODEL=GL_SMOOTH
GL_SHININESS - back={0}
GL_SHININESS - front={0}
GL_SPECULAR - back={0, 0, 0, 1}
GL_SPECULAR - front={0, 0, 0, 1}
GL_STENCIL_BITS=0
GL_STENCIL_CLEAR_VALUE=0
GL_STENCIL_FAIL=GL_KEEP
GL_STENCIL_FUNC=GL_ALWAYS
GL_STENCIL_PASS_DEPTH_FAIL=GL_KEEP
GL_STENCIL_PASS_DEPTH_PASS=GL_KEEP
GL_STENCIL_REF=0
GL_STENCIL_TEST=FALSE
GL_STENCIL_VALUE_MASK=-1
GL_STENCIL_WRITEMASK=-1
GL_STEREO=0
GL_SUBPIXEL_BITS=8
GL_TEXTURE_1D=FALSE
GL_TEXTURE_2D=FALSE
GL_TEXTURE_GEN_Q=FALSE
GL_TEXTURE_GEN_R=FALSE
GL_TEXTURE_GEN_S=FALSE
GL_TEXTURE_GEN_T=FALSE
GL_TEXTURE_MATRIX={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TEXTURE_STACK_DEPTH=1
GL_UNPACK_ALIGNMENT=4
GL_UNPACK_LSB_FIRST=FALSE
GL_UNPACK_ROW_LENGTH=0
GL_UNPACK_SKIP_PIXELS=0
GL_UNPACK_SKIP_ROWS=0
GL_UNPACK_SWAP_BYTES=FALSE
GL_VIEWPORT={0, 0, 1, 1}
GL_ZOOM_X=1
GL_ZOOM_Y=1
GL_TEXTURE_BINDING_1D=0
GL_TEXTURE_BINDING_2D=0
GL_TEXTURE_BINDING_3D=0
GL_TEXTURE_ENV_MODE=GL_MODULATE
GL_TEXTURE_ENV_COLOR={0, 0, 0, 0}
GL_CURRENT_COLOR={1, 1, 1, 1}
GL_RESCALE_NORMAL=FALSE
GL_POLYGON_OFFSET_FACTOR=0
GL_POLYGON_OFFSET_UNITS=0
GL_POLYGON_OFFSET_POINT=FALSE
GL_POLYGON_OFFSET_LINE=FALSE
GL_POLYGON_OFFSET_FILL=FALSE
GL_TEXTURE_3D=FALSE
GL_MAX_ELEMENTS_VERTICES=1048576
GL_MAX_ELEMENTS_INDICES=1048576
GL_BLEND_COLOR={0, 0, 0, 0}
GL_BLEND_EQUATION=GL_FUNC_ADD
GL_VERTEX_ARRAY=FALSE
GL_VERTEX_ARRAY_SIZE=4
GL_VERTEX_ARRAY_STRIDE=0
GL_VERTEX_ARRAY_TYPE=GL_FLOAT
GL_VERTEX_ARRAY_POINTER=0x00000000
GL_NORMAL_ARRAY=FALSE
GL_NORMAL_ARRAY_STRIDE=0
GL_NORMAL_ARRAY_TYPE=GL_FLOAT
GL_NORMAL_ARRAY_POINTER=0x00000000
GL_COLOR_ARRAY=FALSE
GL_COLOR_ARRAY_SIZE=4
GL_COLOR_ARRAY_STRIDE=0
GL_COLOR_ARRAY_TYPE=GL_FLOAT
GL_COLOR_ARRAY_POINTER=0x00000000
GL_TEXTURE_COORD_ARRAY=FALSE
GL_TEXTURE_COORD_ARRAY_SIZE=4
GL_TEXTURE_COORD_ARRAY_STRIDE=0
GL_TEXTURE_COORD_ARRAY_TYPE=GL_FLOAT
GL_TEXTURE_COORD_ARRAY_POINTER=0x00000000
GL_TEXTURE_COMPRESSION_HINT=GL_DONT_CARE
GL_SAMPLE_COVERAGE_VALUE=1
GL_SAMPLE_COVERAGE_INVERT=FALSE
GL_SAMPLE_COVERAGE=FALSE
GL_SAMPLE_ALPHA_TO_COVERAGE=FALSE
GL_SAMPLE_ALPHA_TO_ONE=FALSE
GL_MULTISAMPLE=TRUE
GL_ACTIVE_TEXTURE=GL_TEXTURE0
GL_CLIENT_ACTIVE_TEXTURE=GL_TEXTURE0
GL_MAX_TEXTURE_UNITS=4
GL_BLEND_SRC_RGB=1
GL_BLEND_SRC_ALPHA=1
GL_BLEND_DST_RGB=0
GL_BLEND_DST_ALPHA=0
GL_CURRENT_FOG_COORDINATE=0
GL_FOG_COORDINATE_ARRAY=FALSE
GL_FOG_COORDINATE_ARRAY_STRIDE=0
GL_FOG_COORDINATE_ARRAY_TYPE=GL_FLOAT
GL_FOG_COORDINATE_ARRAY_POINTER=0x00000000
GL_POINT_SIZE_MIN=0
GL_POINT_SIZE_MAX=2047
GL_POINT_FADE_THRESHOLD_SIZE=1
GL_POINT_DISTANCE_ATTENUATION={1, 0, 0}
GL_CURRENT_SECONDARY_COLOR={0, 0, 0, 1}
GL_COLOR_SUM=FALSE
GL_SECONDARY_COLOR_ARRAY=FALSE
GL_SECONDARY_COLOR_ARRAY_SIZE=3
GL_SECONDARY_COLOR_ARRAY_TYPE=GL_FLOAT
GL_SECONDARY_COLOR_ARRAY_STRIDE=0
GL_SECONDARY_COLOR_ARRAY_POINTER=0x00000000
GL_BUFFER_SIZE - array buffer=N/A
GL_BUFFER_USAGE - array buffer=N/A
GL_ARRAY_BUFFER - GL_BUFFER_ACCESS=N/A
GL_ARRAY_BUFFER - GL_BUFFER_MAPPED=N/A
GL_BUFFER_SIZE - element array buffer=N/A
GL_BUFFER_USAGE - element array buffer=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_ACCESS=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_MAPPED=N/A
GL_QUERY_COUNTER_BITS=32
GL_ARRAY_BUFFER_BINDING=0
GL_ELEMENT_ARRAY_BUFFER_BINDING=0
GL_VERTEX_ARRAY_BUFFER_BINDING=0
GL_NORMAL_ARRAY_BUFFER_BINDING=0
GL_COLOR_ARRAY_BUFFER_BINDING=0
GL_INDEX_ARRAY_BUFFER_BINDING=0
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING=0
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING=0
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING=0
GL_FOG_COORD_SRC=GL_FRAGMENT_DEPTH
GL_CURRENT_FOG_COORD=0
GL_FOG_COORD_ARRAY_TYPE=GL_FLOAT
GL_FOG_COORD_ARRAY_STRIDE=0
GL_FOG_COORD_ARRAY_POINTER=0x00000000
GL_FOG_COORD_ARRAY=FALSE
GL_FOG_COORD_ARRAY_BUFFER_BINDING=0
GL_SRC0_RGB=GL_TEXTURE
GL_SRC1_RGB=GL_PREVIOUS
GL_SRC2_RGB=GL_CONSTANT
GL_SRC0_ALPHA=GL_TEXTURE
GL_SRC1_ALPHA=GL_PREVIOUS
GL_SRC2_ALPHA=GL_CONSTANT
GL_COMBINE_RGB=N/A
GL_COMBINE_ALPHA=N/A
GL_OPERAND0_RGB=N/A
GL_OPERAND1_RGB=N/A
GL_OPERAND2_RGB=N/A
GL_OPERAND0_ALPHA=N/A
GL_OPERAND1_ALPHA=N/A
GL_OPERAND2_ALPHA=N/A
GL_RGB_SCALE=N/A
GL_ALPHA_SCALE - texture combiner=N/A
GL_COLOR_LOGIC_OP=FALSE
GL_GENERATE_MIPMAP_HINT=GL_DONT_CARE
GL_ALIASED_POINT_SIZE_RANGE=1
GL_SMOOTH_POINT_SIZE_RANGE=1
GL_ALIASED_LINE_WIDTH_RANGE=1
GL_SMOOTH_LINE_WIDTH_RANGE=0.5
GL_SAMPLE_BUFFERS=0
GL_SAMPLES=0
GL_COMPRESSED_TEXTURE_FORMATS={GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGB5_A1_OES, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown}
GL_NUM_COMPRESSED_TEXTURE_FORMATS=51
GL_BLEND_EQUATION_RGB=GL_FUNC_ADD
GL_VERTEX_PROGRAM_POINT_SIZE=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE=FALSE
GL_STENCIL_BACK_FUNC=GL_ALWAYS
GL_STENCIL_BACK_FAIL=GL_KEEP
GL_STENCIL_BACK_PASS_DEPTH_FAIL=GL_KEEP
GL_STENCIL_BACK_PASS_DEPTH_PASS=GL_KEEP
GL_MAX_DRAW_BUFFERS=8
GL_DRAW_BUFFER0=GL_BACK
GL_DRAW_BUFFER1=0
GL_DRAW_BUFFER2=0
GL_DRAW_BUFFER3=0
GL_DRAW_BUFFER4=0
GL_DRAW_BUFFER5=0
GL_DRAW_BUFFER6=0
GL_DRAW_BUFFER7=0
GL_DRAW_BUFFER8=N/A
GL_DRAW_BUFFER9=N/A
GL_DRAW_BUFFER10=N/A
GL_DRAW_BUFFER11=N/A
GL_DRAW_BUFFER12=N/A
GL_DRAW_BUFFER13=N/A
GL_DRAW_BUFFER14=N/A
GL_DRAW_BUFFER15=N/A
GL_BLEND_EQUATION_ALPHA=GL_FUNC_ADD
GL_POINT_SPRITE=FALSE
GL_MAX_VERTEX_ATTRIBS=16
GL_MAX_TEXTURE_COORDS=8
GL_MAX_TEXTURE_IMAGE_UNITS=32
GL_MAX_VERTEX_UNIFORM_COMPONENTS=4096
GL_MAX_VARYING_FLOATS=124
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS=32
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS=192
GL_FRAGMENT_SHADER_DERIVATIVE_HINT=GL_DONT_CARE
GL_CURRENT_PROGRAM=0
GL_STENCIL_BACK_REF=0
GL_STENCIL_BACK_VALUE_MASK=-1
GL_STENCIL_BACK_WRITEMASK=-1
GL_CLIP_DISTANCE0=FALSE
GL_CLIP_DISTANCE1=FALSE
GL_CLIP_DISTANCE2=FALSE
GL_CLIP_DISTANCE3=FALSE
GL_CLIP_DISTANCE4=FALSE
GL_CLIP_DISTANCE5=FALSE
GL_MAX_CLIP_DISTANCES=8
GL_MAJOR_VERSION=4
GL_MINOR_VERSION=5
GL_NUM_EXTENSIONS=357
GL_CONTEXT_FLAGS=2
GL_MAX_ARRAY_TEXTURE_LAYERS=2048
GL_MIN_PROGRAM_TEXEL_OFFSET=-8
GL_MAX_PROGRAM_TEXEL_OFFSET=7
GL_CLAMP_VERTEX_COLOR=1
GL_CLAMP_FRAGMENT_COLOR=GL_FIXED_ONLY
GL_CLAMP_READ_COLOR=GL_FIXED_ONLY
GL_MAX_VARYING_COMPONENTS=124
GL_TEXTURE_BINDING_1D_ARRAY=0
GL_TEXTURE_BINDING_2D_ARRAY=0
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=4
GL_TRANSFORM_FEEDBACK_BUFFER_BINDING=0
GL_RASTERIZER_DISCARD=FALSE
GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=128
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=4
GL_PRIMITIVE_RESTART_NV=FALSE
GL_PRIMITIVE_RESTART_INDEX_NV=0
GL_OCCLUSION_TEST_HP=Not supported by hardware
GL_OCCLUSION_TEST_RESULT_HP=Not supported by hardware
GL_CURRENT_OCCLUSION_QUERY_ID_NV=0
GL_PIXEL_COUNTER_BITS_NV=32
GL_CURRENT_QUERY_ARB=0
GL_QUERY_COUNTER_BITS_ARB=32
GL_TEXTURE_CUBE_MAP_ARB=FALSE
GL_TEXTURE_BINDING_CUBE_MAP_ARB=0
GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB=16384
GL_TEXTURE_COMPRESSION_HINT_ARB=GL_DONT_CARE
GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB=51
GL_COMPRESSED_TEXTURE_FORMATS_ARB={GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGB5_A1_OES, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown, Unknown}
GL_ARRAY_BUFFER_BINDING_ARB=0
GL_VERTEX_ARRAY_BUFFER_BINDING_ARB=0
GL_NORMAL_ARRAY_BUFFER_BINDING_ARB=0
GL_COLOR_ARRAY_BUFFER_BINDING_ARB=0
GL_INDEX_ARRAY_BUFFER_BINDING_ARB=0
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB=0
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB=0
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB=0
GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB=0
GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB=Not supported by hardware
GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB=0
GL_ARRAY_BUFFER - GL_BUFFER_USAGE_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_MAPPED_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_SIZE_ARB=N/A
GL_ARRAY_BUFFER - GL_BUFFER_ACCESS_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_USAGE_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_MAPPED_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_SIZE_ARB=N/A
GL_ELEMENT_ARRAY_BUFFER - GL_BUFFER_ACCESS_ARB=N/A
GL_CURRENT_WEIGHT_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_TYPE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_SIZE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_STRIDE_ARB=Not supported by hardware
GL_WEIGHT_ARRAY_POINTER_ARB=Not supported by hardware
GL_ACTIVE_VERTEX_UNITS_ARB=Not supported by hardware
GL_VERTEX_BLEND_ARB=Not supported by hardware
GL_MAX_VERTEX_UNITS_ARB=Not supported by hardware
GL_MODELVIEW0_ARB=Not supported by hardware
GL_MODELVIEW1_ARB=Not supported by hardware
GL_MODELVIEW2_ARB=Not supported by hardware
GL_MODELVIEW3_ARB=Not supported by hardware
GL_MODELVIEW4_ARB=Not supported by hardware
GL_MODELVIEW5_ARB=Not supported by hardware
GL_MODELVIEW6_ARB=Not supported by hardware
GL_MODELVIEW7_ARB=Not supported by hardware
GL_MODELVIEW8_ARB=Not supported by hardware
GL_MODELVIEW9_ARB=Not supported by hardware
GL_MODELVIEW10_ARB=Not supported by hardware
GL_MODELVIEW11_ARB=Not supported by hardware
GL_MODELVIEW12_ARB=Not supported by hardware
GL_MODELVIEW13_ARB=Not supported by hardware
GL_MODELVIEW14_ARB=Not supported by hardware
GL_MODELVIEW15_ARB=Not supported by hardware
GL_MODELVIEW16_ARB=Not supported by hardware
GL_MODELVIEW17_ARB=Not supported by hardware
GL_MODELVIEW18_ARB=Not supported by hardware
GL_MODELVIEW19_ARB=Not supported by hardware
GL_MODELVIEW20_ARB=Not supported by hardware
GL_MODELVIEW21_ARB=Not supported by hardware
GL_MODELVIEW22_ARB=Not supported by hardware
GL_MODELVIEW23_ARB=Not supported by hardware
GL_MODELVIEW24_ARB=Not supported by hardware
GL_MODELVIEW25_ARB=Not supported by hardware
GL_MODELVIEW26_ARB=Not supported by hardware
GL_MODELVIEW27_ARB=Not supported by hardware
GL_MODELVIEW28_ARB=Not supported by hardware
GL_MODELVIEW29_ARB=Not supported by hardware
GL_MODELVIEW30_ARB=Not supported by hardware
GL_MODELVIEW31_ARB=Not supported by hardware
GL_TEXTURE_3D_EXT=FALSE
GL_PACK_SKIP_IMAGES_EXT=0
GL_PACK_IMAGE_HEIGHT_EXT=0
GL_UNPACK_SKIP_IMAGES_EXT=0
GL_UNPACK_IMAGE_HEIGHT_EXT=0
GL_MAX_3D_TEXTURE_SIZE_EXT=2048
GL_VERTEX_PROGRAM_ARB=FALSE
GL_VERTEX_PROGRAM_POINT_SIZE_ARB=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE_ARB=FALSE
GL_PROGRAM_BINDING_ARB - vertex program=0
GL_PROGRAM_LENGTH_ARB - vertex program=0
GL_PROGRAM_FORMAT_ARB - vertex program=GL_PROGRAM_FORMAT_ASCII_ARB
GL_PROGRAM_INSTRUCTIONS_ARB - vertex program=0
GL_PROGRAM_TEMPORARIES_ARB - vertex program=0
GL_PROGRAM_PARAMETERS_ARB - vertex program=0
GL_PROGRAM_ATTRIBS_ARB - vertex program=0
GL_PROGRAM_ADDRESS_REGISTERS_ARB - vertex program=0
GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB - vertex program=0
GL_PROGRAM_NATIVE_TEMPORARIES_ARB - vertex program=0
GL_PROGRAM_NATIVE_PARAMETERS_ARB - vertex program=0
GL_PROGRAM_NATIVE_ATTRIBS_ARB - vertex program=0
GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB - vertex program=0
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB - vertex program=1
GL_CURRENT_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_CURRENT_MATRIX_STACK_DEPTH_ARB=1
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB - vertex program=256
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_MATRICES_ARB=8
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB=1
GL_MAX_PROGRAM_INSTRUCTIONS_ARB - vertex program=65536
GL_MAX_PROGRAM_TEMPORARIES_ARB - vertex program=4096
GL_MAX_PROGRAM_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_ATTRIBS_ARB - vertex program=16
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB - vertex program=2
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB - vertex program=65536
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB - vertex program=4096
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB - vertex program=1024
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB - vertex program=16
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB - vertex program=2
GL_FRAGMENT_PROGRAM_ARB=FALSE
GL_PROGRAM_ALU_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_TEX_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_TEX_INDIRECTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB - fragment program=0
GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB - fragment program=0
GL_MAX_TEXTURE_COORDS_ARB=8
GL_MAX_TEXTURE_IMAGE_UNITS_ARB=32
GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB - fragment program=65536
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB - fragment program=65536
GL_MAX_VERTEX_ATTRIBS_ARB=16
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB=4096
GL_MAX_VARYING_FLOATS_ARB=124
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB=192
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB=32
GL_PROGRAM_OBJECT_ARB=0
GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB=GL_DONT_CARE
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB=4096
GL_VERTEX_PROGRAM_NV=FALSE
GL_VERTEX_PROGRAM_POINT_SIZE_NV=FALSE
GL_VERTEX_PROGRAM_TWO_SIDE_NV=FALSE
GL_VERTEX_PROGRAM_BINDING_NV=0
GL_VERTEX_ATTRIB_ARRAY0_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY1_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY2_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY3_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY4_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY5_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY6_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY7_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY8_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY9_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY10_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY11_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY12_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY13_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY14_NV=FALSE
GL_VERTEX_ATTRIB_ARRAY15_NV=FALSE
GL_CURRENT_MATRIX_STACK_DEPTH_NV=1
GL_CURRENT_MATRIX_NV={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV=1
GL_MAX_TRACK_MATRICES_NV=8
GL_FRAGMENT_SHADER_ATI=Not supported by hardware
GL_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_VERTEX_SHADER_OPTIMIZED_EXT=Not supported by hardware
GL_VERTEX_SHADER_EXT=Not supported by hardware
GL_VERTEX_SHADER_BINDING_EXT=Not supported by hardware
GL_VARIANT_ARRAY_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_MAX_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT=Not supported by hardware
GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT=Not supported by hardware
GL_LO_BIAS_NV=0
GL_DS_BIAS_NV=0
GL_DT_BIAS_NV=0
GL_MAGNITUDE_BIAS_NV=0
GL_VIBRANCE_BIAS_NV=0
GL_HI_SCALE_NV=1
GL_LO_SCALE_NV=1
GL_DS_SCALE_NV=1
GL_DT_SCALE_NV=1
GL_MAGNITUDE_SCALE_NV=1
GL_VIBRANCE_SCALE_NV=1
GL_TEXTURE_SHADER_NV=FALSE
GL_SHADER_OPERATION_NV=0
GL_CULL_MODES_NV=N/A
GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV=GL_UNSIGNED_IDENTITY_NV
GL_PREVIOUS_TEXTURE_INPUT_NV=N/A
GL_CONST_EYE_NV=N/A
GL_OFFSET_TEXTURE_MATRIX_NV=N/A
GL_OFFSET_TEXTURE_SCALE_NV=N/A
GL_OFFSET_TEXTURE_BIAS_NV=N/A
GL_SHADER_CONSISTENT_NV=N/A
GL_TEXT_FRAGMENT_SHADER_ATI=Not supported by hardware
GL_FRAGMENT_PROGRAM_NV=FALSE
GL_FRAGMENT_PROGRAM_BINDING_NV=0
GL_MAX_TEXTURE_COORDS_NV=8
GL_MAX_TEXTURE_IMAGE_UNITS_NV=32
GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV=1024
GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV=16777216
GL_MAX_PROGRAM_CALL_DEPTH_NV=32
GL_MAX_SHADER_BUFFER_ADDRESS_NV=-1
GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV=FALSE
GL_ELEMENT_ARRAY_UNIFIED_NV=FALSE
GL_VERTEX_ARRAY_LENGTH_NV=0
GL_NORMAL_ARRAY_LENGTH_NV=0
GL_COLOR_ARRAY_LENGTH_NV=0
GL_INDEX_ARRAY_LENGTH_NV=0
GL_EDGE_FLAG_ARRAY_LENGTH_NV=0
GL_SECONDARY_COLOR_ARRAY_LENGTH_NV=0
GL_FOG_COORD_ARRAY_LENGTH_NV=0
GL_ELEMENT_ARRAY_LENGTH_NV=0
GL_MAX_DEBUG_MESSAGE_LENGTH_AMD=Not supported by hardware
GL_MAX_DEBUG_LOGGED_MESSAGES_AMD=Not supported by hardware
GL_DEBUG_LOGGED_MESSAGES_AMD=Not supported by hardware
GL_MAX_DRAW_BUFFERS_ARB=8
GL_DRAW_BUFFER0_ARB=GL_BACK
GL_DRAW_BUFFER1_ARB=0
GL_DRAW_BUFFER2_ARB=0
GL_DRAW_BUFFER3_ARB=0
GL_DRAW_BUFFER4_ARB=0
GL_DRAW_BUFFER5_ARB=0
GL_DRAW_BUFFER6_ARB=0
GL_DRAW_BUFFER7_ARB=0
GL_DRAW_BUFFER8_ARB=N/A
GL_DRAW_BUFFER9_ARB=N/A
GL_DRAW_BUFFER10_ARB=N/A
GL_DRAW_BUFFER11_ARB=N/A
GL_DRAW_BUFFER12_ARB=N/A
GL_DRAW_BUFFER13_ARB=N/A
GL_DRAW_BUFFER14_ARB=N/A
GL_DRAW_BUFFER15_ARB=N/A
GL_MAX_DRAW_BUFFERS_ATI=GL_QUAD_STRIP
GL_DRAW_BUFFER0_ATI=GL_BACK
GL_DRAW_BUFFER1_ATI=0
GL_DRAW_BUFFER2_ATI=0
GL_DRAW_BUFFER3_ATI=0
GL_DRAW_BUFFER4_ATI=0
GL_DRAW_BUFFER5_ATI=0
GL_DRAW_BUFFER6_ATI=0
GL_DRAW_BUFFER7_ATI=0
GL_DRAW_BUFFER8_ATI=N/A
GL_DRAW_BUFFER9_ATI=N/A
GL_DRAW_BUFFER10_ATI=N/A
GL_DRAW_BUFFER11_ATI=N/A
GL_DRAW_BUFFER12_ATI=N/A
GL_DRAW_BUFFER13_ATI=N/A
GL_DRAW_BUFFER14_ATI=N/A
GL_DRAW_BUFFER15_ATI=N/A
GL_RGBA_FLOAT_MODE_ARB=FALSE
GL_CLAMP_VERTEX_COLOR_ARB=1
GL_CLAMP_FRAGMENT_COLOR_ARB=GL_FIXED_ONLY
GL_CLAMP_READ_COLOR_ARB=GL_FIXED_ONLY
GL_POINT_SPRITE_ARB=FALSE
GL_COORD_REPLACE_ARB=0
GL_STENCIL_TEST_TWO_SIDE_EXT=FALSE
GL_ACTIVE_STENCIL_FACE_EXT=GL_FRONT
GL_ACTIVE_TEXTURE_ARB=GL_TEXTURE0
GL_CLIENT_ACTIVE_TEXTURE_ARB=GL_TEXTURE0
GL_MAX_TEXTURE_UNITS_ARB=4
GL_BLEND_EQUATION_EXT=GL_FUNC_ADD
GL_INTERLACE_SGIX=Not supported by hardware
GL_FRAMEBUFFER_BINDING_EXT=0
GL_RENDERBUFFER_BINDING_EXT=0
GL_MAX_RENDERBUFFER_SIZE_EXT=16384
GL_DRAW_FRAMEBUFFER_BINDING_EXT=0
GL_READ_FRAMEBUFFER_BINDING_EXT=0
GL_MAX_SAMPLES_EXT=32
GL_FRAMEBUFFER_BINDING=0
GL_RENDERBUFFER_BINDING=0
GL_MAX_RENDERBUFFER_SIZE=16384
GL_DRAW_FRAMEBUFFER_BINDING=0
GL_READ_FRAMEBUFFER_BINDING=0
GL_MAX_SAMPLES=32
GL_TEXTURE_RECTANGLE_ARB=FALSE
GL_TEXTURE_BINDING_RECTANGLE_ARB=0
GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB=16384
GL_TEXTURE_RECTANGLE_NV=FALSE
GL_TEXTURE_BINDING_RECTANGLE_NV=0
GL_MAX_RECTANGLE_TEXTURE_SIZE_NV=16384
GL_MULTISAMPLE_ARB=TRUE
GL_SAMPLE_ALPHA_TO_COVERAGE_ARB=FALSE
GL_SAMPLE_ALPHA_TO_ONE_ARB=FALSE
GL_SAMPLE_COVERAGE_ARB=FALSE
GL_SAMPLE_COVERAGE_INVERT_ARB=FALSE
GL_SAMPLE_COVERAGE_VALUE_ARB=1
GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT=32
GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT=1024
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT=1024
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT=2048
GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT=124
GL_MAX_VERTEX_VARYING_COMPONENTS_EXT=124
GL_MAX_VARYING_COMPONENTS_EXT=124
GL_TEXTURE_BINDING_1D_ARRAY_EXT=0
GL_TEXTURE_BINDING_2D_ARRAY_EXT=0
GL_MAX_ARRAY_TEXTURE_LAYERS_EXT=2048
GL_ARRAY_ELEMENT_LOCK_FIRST_EXT=0
GL_ARRAY_ELEMENT_LOCK_COUNT_EXT=0
GL_TRANSPOSE_MODELVIEW_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_PROJECTION_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_TEXTURE_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_TRANSPOSE_COLOR_MATRIX_ARB={1, 0, 0, 0}{0, 1, 0, 0}{0, 0, 1, 0}{0, 0, 0, 1}
GL_POINT_SIZE_MIN_ARB=0
GL_POINT_SIZE_MAX_ARB=2047
GL_POINT_FADE_THRESHOLD_SIZE_ARB=1
GL_POINT_DISTANCE_ATTENUATION_ARB={1, 0, 0}
GL_PIXEL_PACK_BUFFER_BINDING_ARB=0
GL_PIXEL_UNPACK_BUFFER_BINDING_ARB=0
GL_FRAMEBUFFER_SRGB=FALSE
GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB=32
GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB=1024
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB=1024
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB=2048
GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB=124
GL_MAX_VERTEX_VARYING_COMPONENTS_ARB=124
GL_MAX_VARYING_COMPONENTS_ARB=Not supported by hardware
GL_TEXTURE_BINDING_BUFFER_ARB=0
GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT=0
GL_TEXTURE_BUFFER_FORMAT_ARB=GL_LUMINANCE8
GL_TEXTURE_BUFFER_ARB=0
GL_MAX_TEXTURE_BUFFER_SIZE_ARB=134217728
GL_TEXTURE_BINDING_BUFFER_EXT=0
GL_TEXTURE_BUFFER_FORMAT_EXT=GL_LUMINANCE8
GL_TEXTURE_BUFFER_EXT=0
GL_MAX_TEXTURE_BUFFER_SIZE_EXT=134217728
GL_VERTEX_ARRAY_BINDING=0
GL_UNIFORM_BUFFER_BINDING=0
GL_MAX_VERTEX_UNIFORM_BLOCKS=14
GL_MAX_FRAGMENT_UNIFORM_BLOCKS=14
GL_MAX_GEOMETRY_UNIFORM_BLOCKS=14
GL_MAX_COMBINED_UNIFORM_BLOCKS=84
GL_MAX_UNIFORM_BUFFER_BINDINGS=84
GL_MAX_UNIFORM_BLOCK_SIZE=65536
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS=4096
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS=2048
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=233472
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=233472
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS=231424
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT=256
GL_DEPTH_CLAMP=FALSE
GL_PROVOKING_VERTEX=36430
GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION=TRUE
GL_TEXTURE_CUBE_MAP_SEAMLESS=FALSE
GL_MAX_SERVER_WAIT_TIMEOUT=-1
GL_SAMPLE_MASK=FALSE
GL_TEXTURE_BINDING_2D_MULTISAMPLE=0
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY=0
GL_MAX_SAMPLE_MASK_WORDS=2
GL_MAX_COLOR_TEXTURE_SAMPLES=32
GL_MAX_DEPTH_TEXTURE_SAMPLES=32
GL_MAX_INTEGER_SAMPLES=32
WGL_SWAP_INTERVAL_EXT=0
GL_UNPACK_CLIENT_STORAGE_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_TYPE_APPLE=Not supported by hardware
GL_ELEMENT_ARRAY_POINTER_APPLE=Not supported by hardware
GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE=Not supported by hardware
GL_TRANSFORM_HINT_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_BINDING_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_POINTER_APPLE=Not supported by hardware
GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE=Not supported by hardware
GL_RGBA_INTEGER_MODE_EXT=FALSE
GL_RGBA_INTEGER_MODE_EXT=0

User avatar
Ident
CEGUI Team
Posts: 1836
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Ident » Tue Sep 19, 2017 20:59

Thats very interesting - that it draws a black triangle. Could you please check in gdebugger if (and please do mind which context you are checking this for and if it matches the used one for drawing) the textures are properly loaded? You should be able to easily see them all in there somewhere when you pause and look at the data. It should show the cegui imagesets as textures.

Another idea: maybe something is wrong with the shader. Not sure how that is best checked though.

Last but not least you could try to run the old OpenGL renderer that will use old deprecated fixed-function calls. Just so see what it does :pint: since we step in the dark here
CrazyEddie: "I don't like GUIs"

Anasky
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Mon Sep 25, 2017 21:34

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Anasky » Mon Sep 25, 2017 21:37

Hey Ident,

Sorry we didn't get back to you within a reasonable timeframe. We ended up swapping the CEGUI library implementation to me rather than Teenee due to me being a bit more accustomed to libraries.
So far I've got to the point where I can actually draw a windows-themed window in the world when I'm not drawing any models.
Once I render a model however, the call to glVertexAttribPointer is made and as a result CEGUI can no longer render the window in the correct method.

Are you aware of any way to "prison" this state to prevent it from going from the model rendering into the CEGUI rendering?

User avatar
Ident
CEGUI Team
Posts: 1836
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Ident » Mon Sep 25, 2017 22:16

Anasky wrote:Hey Ident,

Sorry we didn't get back to you within a reasonable timeframe. We ended up swapping the CEGUI library implementation to me rather than Teenee due to me being a bit more accustomed to libraries.
So far I've got to the point where I can actually draw a windows-themed window in the world when I'm not drawing any models.
Once I render a model however, the call to glVertexAttribPointer is made and as a result CEGUI can no longer render the window in the correct method.

Are you aware of any way to "prison" this state to prevent it from going from the model rendering into the CEGUI rendering?

Yes there is one way to prison states but it is not a perfect one due to the ways OpenGL works. Settings like this should be part of the extra attribute functionality of the CEGUI OpenGL Renderers.

They are enabled with this :
http://static.cegui.org.uk/docs/0.8.4/c ... 477e73f92a

Due to the way OpenGL works we cannot possibly cover all potential state-changes in our code. And this is not only because OpenGL versions can add new functions that were not present on older ones.

I am checking for glVertexAttribPointer ...
First of all, the above mentioned functionality of CEGUI to cleanup and restore states (if enabled) does not cover cleaning previously set vertex attribute pointers so that might be something that could be improved. CEGUI, upon drawing, sets this up the following way:

Code: Select all

    glBindBuffer(GL_ARRAY_BUFFER, d_verticesVBO);
    GLsizei stride = 9 * sizeof(GLfloat);

    glVertexAttribPointer(d_shaderTexCoordLoc, 2, GL_FLOAT, GL_FALSE, stride, 0);
    glEnableVertexAttribArray(d_shaderTexCoordLoc);

    glVertexAttribPointer(d_shaderColourLoc, 4, GL_FLOAT, GL_FALSE, stride, BUFFER_OFFSET(2 * sizeof(GLfloat)));
    glEnableVertexAttribArray(d_shaderColourLoc);

    glVertexAttribPointer(d_shaderPosLoc, 3, GL_FLOAT, GL_FALSE, stride, BUFFER_OFFSET(6 * sizeof(GLfloat)));
    glEnableVertexAttribArray(d_shaderPosLoc);
 


As far as I understand, the pointers are bound to the buffer, in which case it should not matter. Howeer, I am not sure if this is relevant at the point of binding or the point of drawing. If it is at drawing, then it would matter. But yet, we would overwrite the specific positions anyways as seen above. In any case, it might make sense to disable all vertex attrib arrays before rendering CEGUI. Could you try if that makes a difference in your case? Maybe that's already enough.

Side-info: The Vulkan api solves this quite elegantly by allowing to completely separate state machines into different sets of commands, something that OpenGL does not really provide at all. When I will create the Vulkan renderer it will be done in a way it allows a lot of flexibility, and due to the nature of the way the API works, such state related issues should not be able to appear again. But that's all future talk ;)
CrazyEddie: "I don't like GUIs"

Anasky
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Mon Sep 25, 2017 21:34

Re: CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Anasky » Tue Sep 26, 2017 11:24

You're a hero Ident :D

The line of "enableExtraStateSettings" fixed the issue, and we've now got a WindowsThemed window on-screen along with our scene.
My colleague is currently working on re-writing the VAO and VBOs that we had in place seeing as they broke during multi-threading issues, and that should solve the issue completely.
Thanks again! :D

User avatar
Ident
CEGUI Team
Posts: 1836
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] CEGUI 0.8.7 and OpenGL 4.5.0 - GUI only draws a black box

Postby Ident » Tue Sep 26, 2017 11:29

You are welcome
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 1 guest