Package glitter :: Package contexts :: Module context :: Class Context
[hide private]
[frames] | no frames]

Class Context

source code

                         object --+    
                                  |    
utils.proxy.InstanceDescriptorMixin --+
                                      |
                         object --+   |
                                  |   |
           utils.objects.StateMixin --+
                                      |
                                     Context
Known Subclasses:

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__setattr__(self, name, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
_bind(self)
Make the context active.
source code
 
bind(self) source code
 
__enter__(self) source code
 
__exit__(self, type, value, traceback) source code

Inherited from utils.proxy.InstanceDescriptorMixin: __getattribute__

Inherited from utils.objects.StateMixin: __call__

Inherited from object: __delattr__, __format__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

    Global actions
 
_perform_gl_clear(self, color=None, depth=None, stencil=None)
Call glClear with appropriate arguments.
source code
 
clear(self, color=None, depth=None, stencil=None)
Clear the default framebuffer.
source code
 
finish(self)
Block until all GL execution is complete.
source code
 
flush(self)
Force execution of GL commands in finite time.
source code
 
release_shader_compiler(self) source code
Class Variables [hide private]
  _frozen = False
    Enums
  blend_functions = Enum(SRC_COLOR, ONE_MINUS_SRC_COLOR, ONE_MIN...
  blend_equations = Enum(MAX, SUBTRACT, REVERSE_SUBTRACT, ADD, MIN)
  depth_functions = Enum(NEVER, LESS, EQUAL, LEQUAL, GREATER, NO...
  draw_buffers = Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, ...
  hints = Enum(DONT_CARE, FASTEST, NICEST)
  provoking_vertices = Enum(UNDEFINED, FIRST, LAST, PROVOKING)
  logic_op_modes = Enum(CLEAR, AND, AND_REVERSE, COPY, AND_INVER...
  provoke_modes = Enum(FIRST_VERTEX_CONVENTION, LAST_VERTEX_CONV...
  color_read_formats = Enum(BGR, STENCIL_INDEX, DEPTH_COMPONENT,...
  color_read_types = Enum(BYTE, UNSIGNED_BYTE, SHORT, UNSIGNED_S...
  read_buffers = Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, ...
  cull_face_modes = Enum(FRONT_AND_BACK, FRONT, BACK)
  front_face_modes = Enum(CW, CCW)
  polygon_modes = Enum(POINT, LINE, FILL)
    Buffer bindings
  array_buffer_binding = proxy for glBindBuffer(GL_ARRAY_BUFFER)
  atomic_counter_buffer_binding = proxy for glBindBuffer(GL_ATOM...
  copy_read_buffer_binding = proxy for glBindBuffer(GL_COPY_READ...
  copy_write_buffer_binding = proxy for glBindBuffer(GL_COPY_WRI...
  draw_indirect_buffer_binding = proxy for glBindBuffer(GL_DRAW_...
  element_array_buffer_binding = proxy for glBindBuffer(GL_ELEME...
  pixel_pack_buffer_binding = proxy for glBindBuffer(GL_PIXEL_PA...
  pixel_unpack_buffer_binding = proxy for glBindBuffer(GL_PIXEL_...
  texture_buffer_binding = proxy for glBindBuffer(GL_TEXTURE_BUF...
  transform_feedback_buffer_binding = proxy for glBindBuffer(GL_...
  uniform_buffer_binding = proxy for glBindBuffer(GL_UNIFORM_BUF...
    Miscellaneous bindings
  program_pipeline_binding = proxy for glBindProgramPipeline()
  renderbuffer_binding = proxy for glBindRenderbuffer(GL_RENDERB...
  vertex_array_binding = proxy for glBindVertexArray()
  draw_framebuffer_binding = proxy for glBindFramebuffer(GL_DRAW...
  read_framebuffer_binding = proxy for glBindFramebuffer(GL_READ...
  current_program = proxy for glUseProgram()
  active_texture = proxy for glActiveTexture()
    Properties with separate getters but joint setters
  blend_dst_alpha = proxy for GL_BLEND_DST_ALPHA
  blend_dst_rgb = proxy for GL_BLEND_DST_RGB
  blend_src_alpha = proxy for GL_BLEND_SRC_ALPHA
  blend_src_rgb = proxy for GL_BLEND_SRC_RGB
  blend_equation_alpha = proxy for GL_BLEND_EQUATION_ALPHA
  blend_equation_rgb = proxy for GL_BLEND_EQUATION_RGB
  polygon_offset_factor = proxy for GL_POLYGON_OFFSET_FACTOR
  polygon_offset_units = proxy for GL_POLYGON_OFFSET_UNITS
    Miscellaneous enumerations
  depth_func = proxy for glGetIntegerv(GL_DEPTH_FUNC) / glDepthF...
  draw_buffer = proxy for glGetIntegerv(GL_DRAW_BUFFER) / glDraw...
  implementation_color_read_format = proxy for glGetIntegerv(GL_...
  implementation_color_read_type = proxy for glGetIntegerv(GL_IM...
  layer_provoking_vertex = proxy for glGetIntegerv(GL_LAYER_PROV...
  logic_op_mode = proxy for glGetIntegerv(GL_LOGIC_OP_MODE) / gl...
  provoking_vertex = proxy for glGetIntegerv(GL_PROVOKING_VERTEX...
  read_buffer = proxy for glGetIntegerv(GL_READ_BUFFER) / glRead...
  viewport_index_provoking_vertex = proxy for glGetIntegerv(GL_V...
  cull_face_mode = proxy for glGetIntegerv(GL_CULL_FACE_MODE) / ...
  front_face = proxy for glGetIntegerv(GL_FRONT_FACE) / glFrontF...
  polygon_mode = proxy for glGetIntegerv(GL_POLYGON_MODE) / glPo...
    Hints
  fragment_shader_derivative_hint = proxy for glGetIntegerv(GL_F...
  line_smooth_hint = proxy for glGetIntegerv(GL_LINE_SMOOTH_HINT...
  polygon_smooth_hint = proxy for glGetIntegerv(GL_POLYGON_SMOOT...
  texture_compression_hint = proxy for glGetIntegerv(GL_TEXTURE_...
    Enabling and disabling
  blend = proxy for GL_BLEND
  color_logic_op = proxy for GL_COLOR_LOGIC_OP
  cull_face = proxy for GL_CULL_FACE
  depth_test = proxy for GL_DEPTH_TEST
  dither = proxy for GL_DITHER
  line_smooth = proxy for GL_LINE_SMOOTH
  polygon_offset_fill = proxy for GL_POLYGON_OFFSET_FILL
  polygon_offset_line = proxy for GL_POLYGON_OFFSET_LINE
  polygon_offset_point = proxy for GL_POLYGON_OFFSET_POINT
  polygon_smooth = proxy for GL_POLYGON_SMOOTH
  scissor_test = proxy for GL_SCISSOR_TEST
  stencil_test = proxy for GL_STENCIL_TEST
  vertex_program_point_size = proxy for GL_VERTEX_PROGRAM_POINT_...
    Boolean values
  color_writemask = proxy for glGetBooleanv(GL_COLOR_WRITEMASK) ...
  depth_writemask = proxy for glGetBooleanv(GL_DEPTH_WRITEMASK) ...
  doublebuffer = proxy for glGetBooleanv(GL_DOUBLEBUFFER)
  pack_lsb_first = proxy for glGetBooleanv(GL_PACK_LSB_FIRST) / ...
  pack_swap_bytes = proxy for glGetBooleanv(GL_PACK_SWAP_BYTES) ...
  shader_compiler = proxy for glGetBooleanv(GL_SHADER_COMPILER)
  stereo = proxy for glGetBooleanv(GL_STEREO)
  unpack_lsb_first = proxy for glGetBooleanv(GL_UNPACK_LSB_FIRST...
  unpack_swap_bytes = proxy for glGetBooleanv(GL_UNPACK_SWAP_BYT...
    Float values
  aliased_line_width_range = proxy for glGetFloatv(GL_ALIASED_LI...
  blend_color = proxy for glGetFloatv(GL_BLEND_COLOR) / glBlendC...
  color_clear_value = proxy for glGetFloatv(GL_COLOR_CLEAR_VALUE...
  depth_clear_value = proxy for glGetFloatv(GL_DEPTH_CLEAR_VALUE...
  depth_range = proxy for glGetFloatv(GL_DEPTH_RANGE) / glDepthR...
  line_width = proxy for glGetFloatv(GL_LINE_WIDTH) / glLineWidth()
  line_width_granularity = proxy for glGetFloatv(GL_LINE_WIDTH_G...
  line_width_range = proxy for glGetFloatv(GL_LINE_WIDTH_RANGE)
  point_fade_threshold_size = proxy for glGetFloatv(GL_POINT_FAD...
  point_size = proxy for glGetFloatv(GL_POINT_SIZE) / glPointSize()
  point_size_granularity = proxy for glGetFloatv(GL_POINT_SIZE_G...
  point_size_range = proxy for glGetFloatv(GL_POINT_SIZE_RANGE)
  smooth_line_width_range = proxy for glGetFloatv(GL_SMOOTH_LINE...
  smooth_line_width_granularity = proxy for glGetFloatv(GL_SMOOT...
    Integer values
  major_version = proxy for glGetIntegerv(GL_MAJOR_VERSION)
  max_3d_texture_size = proxy for glGetIntegerv(GL_MAX_3D_TEXTUR...
  max_array_texture_layers = proxy for glGetIntegerv(GL_MAX_3D_T...
  max_clip_distances = proxy for glGetIntegerv(GL_MAX_CLIP_DISTA...
  max_color_texture_samples = proxy for glGetIntegerv(GL_MAX_COL...
  max_color_attachments = proxy for glGetIntegerv(GL_MAX_COLOR_A...
  max_combined_fragment_uniform_components = proxy for glGetInte...
  max_combined_geometry_uniform_components = proxy for glGetInte...
  max_combined_texture_image_units = proxy for glGetIntegerv(GL_...
  max_combined_uniform_blocks = proxy for glGetIntegerv(GL_MAX_C...
  max_combined_vertex_uniform_components = proxy for glGetIntege...
  max_cube_map_texture_size = proxy for glGetIntegerv(GL_MAX_CUB...
  max_depth_texture_samples = proxy for glGetIntegerv(GL_MAX_DEP...
  max_draw_buffers = proxy for glGetIntegerv(GL_MAX_DRAW_BUFFERS)
  max_elements_indices = proxy for glGetIntegerv(GL_MAX_ELEMENTS...
  max_elements_vertices = proxy for glGetIntegerv(GL_MAX_ELEMENT...
  max_fragment_input_components = proxy for glGetIntegerv(GL_MAX...
  max_fragment_uniform_components = proxy for glGetIntegerv(GL_M...
  max_fragment_uniform_vectors = proxy for glGetIntegerv(GL_MAX_...
  max_fragment_uniform_blocks = proxy for glGetIntegerv(GL_MAX_F...
  max_geometry_input_components = proxy for glGetIntegerv(GL_MAX...
  max_geometry_output_components = proxy for glGetIntegerv(GL_MA...
  max_geometry_texture_image_units = proxy for glGetIntegerv(GL_...
  max_geometry_uniform_blocks = proxy for glGetIntegerv(GL_MAX_G...
  max_geometry_uniform_components = proxy for glGetIntegerv(GL_M...
  max_integer_samples = proxy for glGetIntegerv(GL_MAX_INTEGER_S...
  max_program_texel_offset = proxy for glGetIntegerv(GL_MAX_PROG...
  min_program_texel_offset = proxy for glGetIntegerv(GL_MIN_PROG...
  max_rectangle_texture_size = proxy for glGetIntegerv(GL_MAX_RE...
  max_renderbuffer_size = proxy for glGetIntegerv(GL_MAX_RENDERB...
  max_sample_mask_words = proxy for glGetIntegerv(GL_MAX_SAMPLE_...
  max_server_wait_timeout = proxy for glGetIntegerv(GL_MAX_SERVE...
  max_texture_buffer_size = proxy for glGetIntegerv(GL_MAX_TEXTU...
  max_texture_image_units = proxy for glGetIntegerv(GL_MAX_TEXTU...
  max_texture_lod_bias = proxy for glGetIntegerv(GL_MAX_TEXTURE_...
  max_texture_size = proxy for glGetIntegerv(GL_MAX_TEXTURE_SIZE)
  max_uniform_buffer_bindings = proxy for glGetIntegerv(GL_MAX_U...
  max_uniform_block_size = proxy for glGetIntegerv(GL_MAX_UNIFOR...
  max_varying_vectors = proxy for glGetIntegerv(GL_MAX_VARYING_V...
  max_vertex_attribs = proxy for glGetIntegerv(GL_MAX_VERTEX_ATT...
  max_vertex_texture_image_units = proxy for glGetIntegerv(GL_MA...
  max_vertex_uniform_components = proxy for glGetIntegerv(GL_MAX...
  max_vertex_uniform_vectors = proxy for glGetIntegerv(GL_MAX_VE...
  max_vertex_output_components = proxy for glGetIntegerv(GL_MAX_...
  max_vertex_uniform_blocks = proxy for glGetIntegerv(GL_MAX_VER...
  max_viewport_dims = proxy for glGetIntegerv(GL_MAX_VIEWPORT_DIMS)
  max_viewports = proxy for glGetIntegerv(GL_MAX_VIEWPORTS)
  minor_version = proxy for glGetIntegerv(GL_MINOR_VERSION)
  pack_alignment = proxy for glGetIntegerv(GL_PACK_ALIGNMENT)
  pack_image_height = proxy for glGetIntegerv(GL_PACK_IMAGE_HEIGHT)
  pack_row_length = proxy for glGetIntegerv(GL_PACK_ROW_LENGTH) ...
  pack_skip_images = proxy for glGetIntegerv(GL_PACK_SKIP_IMAGES...
  pack_skip_pixels = proxy for glGetIntegerv(GL_PACK_SKIP_PIXELS...
  pack_skip_rows = proxy for glGetIntegerv(GL_PACK_SKIP_ROWS) / ...
  primitive_restart_index = proxy for glGetIntegerv(GL_PRIMITIVE...
  sample_buffers = proxy for glGetIntegerv(GL_SAMPLE_BUFFERS)
  samples = proxy for glGetIntegerv(GL_SAMPLES)
  scissor_box = proxy for glGetIntegerv(GL_SCISSOR_BOX) / glScis...
  stencil_clear_value = proxy for glGetIntegerv(GL_STENCIL_CLEAR...
  subpixel_bits = proxy for glGetIntegerv(GL_SUBPIXEL_BITS)
  uniform_buffer_offset_alignment = proxy for glGetIntegerv(GL_U...
  unpack_alignment = proxy for glGetIntegerv(GL_UNPACK_ALIGNMENT...
  unpack_image_height = proxy for glGetIntegerv(GL_UNPACK_IMAGE_...
  unpack_row_length = proxy for glGetIntegerv(GL_UNPACK_ROW_LENG...
  unpack_skip_images = proxy for glGetIntegerv(GL_UNPACK_SKIP_IM...
  unpack_skip_pixels = proxy for glGetIntegerv(GL_UNPACK_SKIP_PI...
  unpack_skip_rows = proxy for glGetIntegerv(GL_UNPACK_SKIP_ROWS...
  viewport = proxy for glGetIntegerv(GL_VIEWPORT) / glViewport()
  viewport_bounds_range = proxy for glGetIntegerv(GL_VIEWPORT_BO...
  viewport_subpixel_bits = proxy for glGetIntegerv(GL_VIEWPORT_S...
    64-bit integer values
  timestamp = proxy for glGetInteger64v(GL_TIMESTAMP)
    Strings
  vendor = proxy for GL_VENDOR
  renderer = proxy for GL_RENDERER
  version = proxy for GL_VERSION
  shading_language_version = proxy for GL_SHADING_LANGUAGE_VERSION
  extensions = proxy for GL_EXTENSIONS
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__setattr__(self, name, value)

source code 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
(inherited documentation)

_bind(self)

source code 

Make the context active.

This should be overwritten appropriately by window system dependent subclasses.

_perform_gl_clear(self, color=None, depth=None, stencil=None)

source code 

Call glClear with appropriate arguments.

Parameters:
  • color (bool or numpy.ndarray.) - Whether to clear the color buffer, and optionally, to which value.
  • depth (bool or numpy.ndarray.) - Whether to clear the depth buffer, and optionally, to which value.
  • stencil (bool or numpy.ndarray.

    If no parameters are given, color, depth and stencil are cleared with the current clear values.

    ) - Whether to clear the stencil buffer, and optionally, to which value.

To Do: Wrap the glClear call in with State() to set and reset color_clear_value, depth_clear_value and stencil_clear_value if these are given as numpy arrays in color, depth, and stencil, respectively.

clear(self, color=None, depth=None, stencil=None)

source code 

Clear the default framebuffer.

Parameters:
  • color (bool or numpy.ndarray.) - Whether to clear the color buffer, and optionally, to which value.
  • depth (bool or numpy.ndarray.) - Whether to clear the depth buffer, and optionally, to which value.
  • stencil (bool or numpy.ndarray.

    If no parameters are given, color, depth and stencil are cleared with the current clear values.

    ) - Whether to clear the stencil buffer, and optionally, to which value.

finish(self)

source code 

Block until all GL execution is complete.

finish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, all changes to connection state, and all changes to the frame buffer contents.

flush(self)

source code 

Force execution of GL commands in finite time.

Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. flush empties all of these buffers, causing all issued commands to be executed as quickly as they are accepted by the actual rendering engine. Though this execution may not be completed in any particular time period, it does complete in finite time.

Because any GL program might be executed over a network, or on an accelerator that buffers commands, all programs should call flush whenever they count on having all of their previously issued commands completed. For example, call flush before waiting for user input that depends on the generated image.

flush can return at any time. It does not wait until the execution of all previously issued GL commands is complete.


Class Variable Details [hide private]

blend_functions

Value:
Enum(SRC_COLOR, ONE_MINUS_SRC_COLOR, ONE_MINUS_CONSTANT_COLOR, ONE_MIN\
US_SRC_ALPHA, ONE_MINUS_CONSTANT_ALPHA, ONE_MINUS_DST_ALPHA, DST_COLOR\
, CONSTANT_COLOR, SRC_ALPHA_SATURATE, ONE_MINUS_DST_COLOR, SRC_ALPHA, \
CONSTANT_ALPHA, ONE, DST_ALPHA, ZERO)

depth_functions

Value:
Enum(NEVER, LESS, EQUAL, LEQUAL, GREATER, NOTEQUAL, GEQUAL, ALWAYS)

draw_buffers

Value:
Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, FRONT, BACK, LEFT, RIGH\
T, FRONT_AND_BACK, FRONT_LEFT, COLOR_ATTACHMENT0, COLOR_ATTACHMENT1, C\
OLOR_ATTACHMENT2, COLOR_ATTACHMENT3, COLOR_ATTACHMENT4, COLOR_ATTACHME\
NT5, COLOR_ATTACHMENT6, COLOR_ATTACHMENT7, COLOR_ATTACHMENT8, COLOR_AT\
TACHMENT9, COLOR_ATTACHMENT10, COLOR_ATTACHMENT11, COLOR_ATTACHMENT12,\
 COLOR_ATTACHMENT13, COLOR_ATTACHMENT14, COLOR_ATTACHMENT15)

logic_op_modes

Value:
Enum(CLEAR, AND, AND_REVERSE, COPY, AND_INVERTED, NOOP, XOR, OR, NOR, \
EQUIV, INVERT, OR_REVERSE, COPY_INVERTED, OR_INVERTED, NAND, SET)

provoke_modes

Value:
Enum(FIRST_VERTEX_CONVENTION, LAST_VERTEX_CONVENTION)

color_read_formats

Value:
Enum(BGR, STENCIL_INDEX, DEPTH_COMPONENT, RED, GREEN, BLUE, RGB, RGBA,\
 BGRA, DEPTH_STENCIL)

color_read_types

Value:
Enum(BYTE, UNSIGNED_BYTE, SHORT, UNSIGNED_SHORT, INT, UNSIGNED_INT, FL\
OAT, HALF_FLOAT, FLOAT_32_UNSIGNED_INT_24_8_REV, UNSIGNED_BYTE_3_3_2, \
UNSIGNED_SHORT_4_4_4_4, UNSIGNED_SHORT_5_5_5_1, UNSIGNED_INT_8_8_8_8, \
UNSIGNED_INT_10_10_10_2, UNSIGNED_INT_10F_11F_11F_REV, UNSIGNED_INT_5_\
9_9_9_REV, UNSIGNED_BYTE_2_3_3_REV, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHO\
RT_5_6_5_REV, UNSIGNED_SHORT_4_4_4_4_REV, UNSIGNED_SHORT_1_5_5_5_REV, \
UNSIGNED_INT_8_8_8_8_REV, UNSIGNED_INT_2_10_10_10_REV, UNSIGNED_INT_24\
_8)

read_buffers

Value:
Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, FRONT, BACK, LEFT, RIGH\
T, FRONT_LEFT, COLOR_ATTACHMENT0, COLOR_ATTACHMENT1, COLOR_ATTACHMENT2\
, COLOR_ATTACHMENT3, COLOR_ATTACHMENT4, COLOR_ATTACHMENT5, COLOR_ATTAC\
HMENT6, COLOR_ATTACHMENT7, COLOR_ATTACHMENT8, COLOR_ATTACHMENT9, COLOR\
_ATTACHMENT10, COLOR_ATTACHMENT11, COLOR_ATTACHMENT12, COLOR_ATTACHMEN\
T13, COLOR_ATTACHMENT14, COLOR_ATTACHMENT15)

atomic_counter_buffer_binding

Value:
proxy for glBindBuffer(GL_ATOMIC_COUNTER_BUFFER)

copy_read_buffer_binding

Value:
proxy for glBindBuffer(GL_COPY_READ_BUFFER)

copy_write_buffer_binding

Value:
proxy for glBindBuffer(GL_COPY_WRITE_BUFFER)

draw_indirect_buffer_binding

Value:
proxy for glBindBuffer(GL_DRAW_INDIRECT_BUFFER)

element_array_buffer_binding

Value:
proxy for glBindBuffer(GL_ELEMENT_ARRAY_BUFFER)

pixel_pack_buffer_binding

Value:
proxy for glBindBuffer(GL_PIXEL_PACK_BUFFER)

pixel_unpack_buffer_binding

Value:
proxy for glBindBuffer(GL_PIXEL_UNPACK_BUFFER)

texture_buffer_binding

Value:
proxy for glBindBuffer(GL_TEXTURE_BUFFER)

transform_feedback_buffer_binding

Value:
proxy for glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER)

uniform_buffer_binding

Value:
proxy for glBindBuffer(GL_UNIFORM_BUFFER)

renderbuffer_binding

Value:
proxy for glBindRenderbuffer(GL_RENDERBUFFER)

draw_framebuffer_binding

Value:
proxy for glBindFramebuffer(GL_DRAW_FRAMEBUFFER)

read_framebuffer_binding

Value:
proxy for glBindFramebuffer(GL_READ_FRAMEBUFFER)

depth_func

Value:
proxy for glGetIntegerv(GL_DEPTH_FUNC) / glDepthFunc()

draw_buffer

Value:
proxy for glGetIntegerv(GL_DRAW_BUFFER) / glDrawBuffer()

implementation_color_read_format

Value:
proxy for glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT)

implementation_color_read_type

Value:
proxy for glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE)

layer_provoking_vertex

Value:
proxy for glGetIntegerv(GL_LAYER_PROVOKING_VERTEX)

logic_op_mode

Value:
proxy for glGetIntegerv(GL_LOGIC_OP_MODE) / glLogicOp()

provoking_vertex

Value:
proxy for glGetIntegerv(GL_PROVOKING_VERTEX) / glProvokingVertex()

read_buffer

Value:
proxy for glGetIntegerv(GL_READ_BUFFER) / glReadBuffer()

viewport_index_provoking_vertex

Value:
proxy for glGetIntegerv(GL_VIEWPORT_INDEX_PROVOKING_VERTEX)

cull_face_mode

Value:
proxy for glGetIntegerv(GL_CULL_FACE_MODE) / glCullFace()

front_face

Value:
proxy for glGetIntegerv(GL_FRONT_FACE) / glFrontFace()

polygon_mode

Value:
proxy for glGetIntegerv(GL_POLYGON_MODE) / glPolygonMode(GL_FRONT_AND_\
BACK)

fragment_shader_derivative_hint

Value:
proxy for glGetIntegerv(GL_FRAGMENT_SHADER_DERIVATIVE_HINT) / glHint(G\
L_FRAGMENT_SHADER_DERIVATIVE_HINT)

line_smooth_hint

Value:
proxy for glGetIntegerv(GL_LINE_SMOOTH_HINT) / glHint(GL_LINE_SMOOTH_H\
INT)

polygon_smooth_hint

Value:
proxy for glGetIntegerv(GL_POLYGON_SMOOTH_HINT) / glHint(GL_POLYGON_SM\
OOTH_HINT)

texture_compression_hint

Value:
proxy for glGetIntegerv(GL_TEXTURE_COMPRESSION_HINT) / glHint(GL_TEXTU\
RE_COMPRESSION_HINT)

vertex_program_point_size

Value:
proxy for GL_VERTEX_PROGRAM_POINT_SIZE

color_writemask

Value:
proxy for glGetBooleanv(GL_COLOR_WRITEMASK) / glColorMask()

depth_writemask

Value:
proxy for glGetBooleanv(GL_DEPTH_WRITEMASK) / glDepthMask()

pack_lsb_first

Value:
proxy for glGetBooleanv(GL_PACK_LSB_FIRST) / glPixelStorei(GL_PACK_LSB\
_FIRST)

pack_swap_bytes

Value:
proxy for glGetBooleanv(GL_PACK_SWAP_BYTES) / glPixelStorei(GL_PACK_SW\
AP_BYTES)

unpack_lsb_first

Value:
proxy for glGetBooleanv(GL_UNPACK_LSB_FIRST) / glPixelStorei(GL_UNPACK\
_LSB_FIRST)

unpack_swap_bytes

Value:
proxy for glGetBooleanv(GL_UNPACK_SWAP_BYTES) / glPixelStorei(GL_UNPAC\
K_SWAP_BYTES)

aliased_line_width_range

Value:
proxy for glGetFloatv(GL_ALIASED_LINE_WIDTH_RANGE)

blend_color

Value:
proxy for glGetFloatv(GL_BLEND_COLOR) / glBlendColor()

color_clear_value

Value:
proxy for glGetFloatv(GL_COLOR_CLEAR_VALUE) / glClearColor()

depth_clear_value

Value:
proxy for glGetFloatv(GL_DEPTH_CLEAR_VALUE) / glClearDepth()

depth_range

Value:
proxy for glGetFloatv(GL_DEPTH_RANGE) / glDepthRange()

line_width_granularity

Value:
proxy for glGetFloatv(GL_LINE_WIDTH_GRANULARITY)

point_fade_threshold_size

Value:
proxy for glGetFloatv(GL_POINT_FADE_THRESHOLD_SIZE) / glPointParameter\
f(GL_POINT_FADE_THRESHOLD_SIZE)

point_size_granularity

Value:
proxy for glGetFloatv(GL_POINT_SIZE_GRANULARITY)

smooth_line_width_range

Value:
proxy for glGetFloatv(GL_SMOOTH_LINE_WIDTH_RANGE)

smooth_line_width_granularity

Value:
proxy for glGetFloatv(GL_SMOOTH_LINE_WIDTH_GRANULARITY)

max_3d_texture_size

Value:
proxy for glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE)

max_array_texture_layers

Value:
proxy for glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE)

max_clip_distances

Value:
proxy for glGetIntegerv(GL_MAX_CLIP_DISTANCES)

max_color_texture_samples

Value:
proxy for glGetIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES)

max_color_attachments

Value:
proxy for glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS)

max_combined_fragment_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS)

max_combined_geometry_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS)

max_combined_texture_image_units

Value:
proxy for glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS)

max_combined_uniform_blocks

Value:
proxy for glGetIntegerv(GL_MAX_COMBINED_UNIFORM_BLOCKS)

max_combined_vertex_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS)

max_cube_map_texture_size

Value:
proxy for glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE)

max_depth_texture_samples

Value:
proxy for glGetIntegerv(GL_MAX_DEPTH_TEXTURE_SAMPLES)

max_elements_indices

Value:
proxy for glGetIntegerv(GL_MAX_ELEMENTS_INDICES)

max_elements_vertices

Value:
proxy for glGetIntegerv(GL_MAX_ELEMENTS_VERTICES)

max_fragment_input_components

Value:
proxy for glGetIntegerv(GL_MAX_FRAGMENT_INPUT_COMPONENTS)

max_fragment_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS)

max_fragment_uniform_vectors

Value:
proxy for glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS)

max_fragment_uniform_blocks

Value:
proxy for glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_BLOCKS)

max_geometry_input_components

Value:
proxy for glGetIntegerv(GL_MAX_GEOMETRY_INPUT_COMPONENTS)

max_geometry_output_components

Value:
proxy for glGetIntegerv(GL_MAX_GEOMETRY_OUTPUT_COMPONENTS)

max_geometry_texture_image_units

Value:
proxy for glGetIntegerv(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS)

max_geometry_uniform_blocks

Value:
proxy for glGetIntegerv(GL_MAX_GEOMETRY_UNIFORM_BLOCKS)

max_geometry_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS)

max_integer_samples

Value:
proxy for glGetIntegerv(GL_MAX_INTEGER_SAMPLES)

max_program_texel_offset

Value:
proxy for glGetIntegerv(GL_MAX_PROGRAM_TEXEL_OFFSET)

min_program_texel_offset

Value:
proxy for glGetIntegerv(GL_MIN_PROGRAM_TEXEL_OFFSET)

max_rectangle_texture_size

Value:
proxy for glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE)

max_renderbuffer_size

Value:
proxy for glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE)

max_sample_mask_words

Value:
proxy for glGetIntegerv(GL_MAX_SAMPLE_MASK_WORDS)

max_server_wait_timeout

Value:
proxy for glGetIntegerv(GL_MAX_SERVER_WAIT_TIMEOUT)

max_texture_buffer_size

Value:
proxy for glGetIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE)

max_texture_image_units

Value:
proxy for glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS)

max_texture_lod_bias

Value:
proxy for glGetIntegerv(GL_MAX_TEXTURE_LOD_BIAS)

max_uniform_buffer_bindings

Value:
proxy for glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS)

max_uniform_block_size

Value:
proxy for glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE)

max_varying_vectors

Value:
proxy for glGetIntegerv(GL_MAX_VARYING_VECTORS)

max_vertex_attribs

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_ATTRIBS)

max_vertex_texture_image_units

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS)

max_vertex_uniform_components

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_UNIFORM_COMPONENTS)

max_vertex_uniform_vectors

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS)

max_vertex_output_components

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_OUTPUT_COMPONENTS)

max_vertex_uniform_blocks

Value:
proxy for glGetIntegerv(GL_MAX_VERTEX_UNIFORM_BLOCKS)

pack_row_length

Value:
proxy for glGetIntegerv(GL_PACK_ROW_LENGTH) / glPixelStorei(GL_PACK_RO\
W_LENGTH)

pack_skip_images

Value:
proxy for glGetIntegerv(GL_PACK_SKIP_IMAGES) / glPixelStorei(GL_PACK_S\
KIP_IMAGES)

pack_skip_pixels

Value:
proxy for glGetIntegerv(GL_PACK_SKIP_PIXELS) / glPixelStorei(GL_PACK_S\
KIP_PIXELS)

pack_skip_rows

Value:
proxy for glGetIntegerv(GL_PACK_SKIP_ROWS) / glPixelStorei(GL_PACK_SKI\
P_ROWS)

primitive_restart_index

Value:
proxy for glGetIntegerv(GL_PRIMITIVE_RESTART_INDEX) / glPrimitiveResta\
rtIndex()

scissor_box

Value:
proxy for glGetIntegerv(GL_SCISSOR_BOX) / glScissor()

stencil_clear_value

Value:
proxy for glGetIntegerv(GL_STENCIL_CLEAR_VALUE) / glClearStencil()

uniform_buffer_offset_alignment

Value:
proxy for glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT)

unpack_alignment

Value:
proxy for glGetIntegerv(GL_UNPACK_ALIGNMENT) / glPixelStorei(GL_UNPACK\
_ALIGNMENT)

unpack_image_height

Value:
proxy for glGetIntegerv(GL_UNPACK_IMAGE_HEIGHT) / glPixelStorei(GL_UNP\
ACK_IMAGE_HEIGHT)

unpack_row_length

Value:
proxy for glGetIntegerv(GL_UNPACK_ROW_LENGTH) / glPixelStorei(GL_UNPAC\
K_ROW_LENGTH)

unpack_skip_images

Value:
proxy for glGetIntegerv(GL_UNPACK_SKIP_IMAGES) / glPixelStorei(GL_UNPA\
CK_SKIP_IMAGES)

unpack_skip_pixels

Value:
proxy for glGetIntegerv(GL_UNPACK_SKIP_PIXELS) / glPixelStorei(GL_UNPA\
CK_SKIP_PIXELS)

unpack_skip_rows

Value:
proxy for glGetIntegerv(GL_UNPACK_SKIP_ROWS) / glPixelStorei(GL_UNPACK\
_SKIP_ROWS)

viewport_bounds_range

Value:
proxy for glGetIntegerv(GL_VIEWPORT_BOUNDS_RANGE)

viewport_subpixel_bits

Value:
proxy for glGetIntegerv(GL_VIEWPORT_SUBPIXEL_BITS)