"""Autogenerated by xml_generate script, do not edit!"""
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GL_INTEL_conservative_rasterization"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_INTEL_conservative_rasterization",
                             error_checker=_errors._error_checker)


GL_CONSERVATIVE_RASTERIZATION_INTEL = _C("GL_CONSERVATIVE_RASTERIZATION_INTEL",
                                         0x83FE)
Ejemplo n.º 2
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_NV_framebuffer_blit'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_NV_framebuffer_blit',error_checker=_errors._error_checker)
GL_DRAW_FRAMEBUFFER_BINDING_NV=_C('GL_DRAW_FRAMEBUFFER_BINDING_NV',0x8CA6)
GL_DRAW_FRAMEBUFFER_NV=_C('GL_DRAW_FRAMEBUFFER_NV',0x8CA9)
GL_READ_FRAMEBUFFER_BINDING_NV=_C('GL_READ_FRAMEBUFFER_BINDING_NV',0x8CAA)
GL_READ_FRAMEBUFFER_NV=_C('GL_READ_FRAMEBUFFER_NV',0x8CA8)
@_f
@_p.types(None,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLbitfield,_cs.GLenum)
def glBlitFramebufferNV(srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter):pass
Ejemplo n.º 3
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ATI_meminfo'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ATI_meminfo',error_checker=_errors._error_checker)
GL_RENDERBUFFER_FREE_MEMORY_ATI=_C('GL_RENDERBUFFER_FREE_MEMORY_ATI',0x87FD)
GL_TEXTURE_FREE_MEMORY_ATI=_C('GL_TEXTURE_FREE_MEMORY_ATI',0x87FC)
GL_VBO_FREE_MEMORY_ATI=_C('GL_VBO_FREE_MEMORY_ATI',0x87FB)

Ejemplo n.º 4
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_EXT_convolution'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_EXT_convolution',error_checker=_errors._error_checker)
GL_CONVOLUTION_1D_EXT=_C('GL_CONVOLUTION_1D_EXT',0x8010)
GL_CONVOLUTION_2D_EXT=_C('GL_CONVOLUTION_2D_EXT',0x8011)
GL_CONVOLUTION_BORDER_MODE_EXT=_C('GL_CONVOLUTION_BORDER_MODE_EXT',0x8013)
GL_CONVOLUTION_FILTER_BIAS_EXT=_C('GL_CONVOLUTION_FILTER_BIAS_EXT',0x8015)
GL_CONVOLUTION_FILTER_SCALE_EXT=_C('GL_CONVOLUTION_FILTER_SCALE_EXT',0x8014)
GL_CONVOLUTION_FORMAT_EXT=_C('GL_CONVOLUTION_FORMAT_EXT',0x8017)
GL_CONVOLUTION_HEIGHT_EXT=_C('GL_CONVOLUTION_HEIGHT_EXT',0x8019)
GL_CONVOLUTION_WIDTH_EXT=_C('GL_CONVOLUTION_WIDTH_EXT',0x8018)
GL_MAX_CONVOLUTION_HEIGHT_EXT=_C('GL_MAX_CONVOLUTION_HEIGHT_EXT',0x801B)
GL_MAX_CONVOLUTION_WIDTH_EXT=_C('GL_MAX_CONVOLUTION_WIDTH_EXT',0x801A)
GL_POST_CONVOLUTION_ALPHA_BIAS_EXT=_C('GL_POST_CONVOLUTION_ALPHA_BIAS_EXT',0x8023)
GL_POST_CONVOLUTION_ALPHA_SCALE_EXT=_C('GL_POST_CONVOLUTION_ALPHA_SCALE_EXT',0x801F)
GL_POST_CONVOLUTION_BLUE_BIAS_EXT=_C('GL_POST_CONVOLUTION_BLUE_BIAS_EXT',0x8022)
GL_POST_CONVOLUTION_BLUE_SCALE_EXT=_C('GL_POST_CONVOLUTION_BLUE_SCALE_EXT',0x801E)
GL_POST_CONVOLUTION_GREEN_BIAS_EXT=_C('GL_POST_CONVOLUTION_GREEN_BIAS_EXT',0x8021)
GL_POST_CONVOLUTION_GREEN_SCALE_EXT=_C('GL_POST_CONVOLUTION_GREEN_SCALE_EXT',0x801D)
GL_POST_CONVOLUTION_RED_BIAS_EXT=_C('GL_POST_CONVOLUTION_RED_BIAS_EXT',0x8020)
GL_POST_CONVOLUTION_RED_SCALE_EXT=_C('GL_POST_CONVOLUTION_RED_SCALE_EXT',0x801C)
Ejemplo n.º 5
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_NV_texture_multisample'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_NV_texture_multisample',error_checker=_errors._error_checker)
GL_TEXTURE_COLOR_SAMPLES_NV=_C('GL_TEXTURE_COLOR_SAMPLES_NV',0x9046)
GL_TEXTURE_COVERAGE_SAMPLES_NV=_C('GL_TEXTURE_COVERAGE_SAMPLES_NV',0x9045)
@_f
@_p.types(None,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTexImage2DMultisampleCoverageNV(target,coverageSamples,colorSamples,internalFormat,width,height,fixedSampleLocations):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTexImage3DMultisampleCoverageNV(target,coverageSamples,colorSamples,internalFormat,width,height,depth,fixedSampleLocations):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTextureImage2DMultisampleCoverageNV(texture,target,coverageSamples,colorSamples,internalFormat,width,height,fixedSampleLocations):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTextureImage2DMultisampleNV(texture,target,samples,internalFormat,width,height,fixedSampleLocations):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTextureImage3DMultisampleCoverageNV(texture,target,coverageSamples,colorSamples,internalFormat,width,height,depth,fixedSampleLocations):pass
@_f
Ejemplo n.º 6
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_KHR_debug'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_KHR_debug',error_checker=_errors._error_checker)
GL_BUFFER=_C('GL_BUFFER',0x82E0)
GL_BUFFER_KHR=_C('GL_BUFFER_KHR',0x82E0)
GL_CONTEXT_FLAG_DEBUG_BIT=_C('GL_CONTEXT_FLAG_DEBUG_BIT',0x00000002)
GL_CONTEXT_FLAG_DEBUG_BIT_KHR=_C('GL_CONTEXT_FLAG_DEBUG_BIT_KHR',0x00000002)
GL_DEBUG_CALLBACK_FUNCTION=_C('GL_DEBUG_CALLBACK_FUNCTION',0x8244)
GL_DEBUG_CALLBACK_FUNCTION_KHR=_C('GL_DEBUG_CALLBACK_FUNCTION_KHR',0x8244)
GL_DEBUG_CALLBACK_USER_PARAM=_C('GL_DEBUG_CALLBACK_USER_PARAM',0x8245)
GL_DEBUG_CALLBACK_USER_PARAM_KHR=_C('GL_DEBUG_CALLBACK_USER_PARAM_KHR',0x8245)
GL_DEBUG_GROUP_STACK_DEPTH=_C('GL_DEBUG_GROUP_STACK_DEPTH',0x826D)
GL_DEBUG_GROUP_STACK_DEPTH_KHR=_C('GL_DEBUG_GROUP_STACK_DEPTH_KHR',0x826D)
GL_DEBUG_LOGGED_MESSAGES=_C('GL_DEBUG_LOGGED_MESSAGES',0x9145)
GL_DEBUG_LOGGED_MESSAGES_KHR=_C('GL_DEBUG_LOGGED_MESSAGES_KHR',0x9145)
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH=_C('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH',0x8243)
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR=_C('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR',0x8243)
GL_DEBUG_OUTPUT=_C('GL_DEBUG_OUTPUT',0x92E0)
GL_DEBUG_OUTPUT_KHR=_C('GL_DEBUG_OUTPUT_KHR',0x92E0)
GL_DEBUG_OUTPUT_SYNCHRONOUS=_C('GL_DEBUG_OUTPUT_SYNCHRONOUS',0x8242)
GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR=_C('GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR',0x8242)
Ejemplo n.º 7
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_compute_shader'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_compute_shader',error_checker=_errors._error_checker)
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER=_C('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER',0x90ED)
GL_COMPUTE_SHADER=_C('GL_COMPUTE_SHADER',0x91B9)
GL_COMPUTE_SHADER_BIT=_C('GL_COMPUTE_SHADER_BIT',0x00000020)
GL_COMPUTE_WORK_GROUP_SIZE=_C('GL_COMPUTE_WORK_GROUP_SIZE',0x8267)
GL_DISPATCH_INDIRECT_BUFFER=_C('GL_DISPATCH_INDIRECT_BUFFER',0x90EE)
GL_DISPATCH_INDIRECT_BUFFER_BINDING=_C('GL_DISPATCH_INDIRECT_BUFFER_BINDING',0x90EF)
GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS=_C('GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS',0x8266)
GL_MAX_COMPUTE_ATOMIC_COUNTERS=_C('GL_MAX_COMPUTE_ATOMIC_COUNTERS',0x8265)
GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS=_C('GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS',0x8264)
GL_MAX_COMPUTE_IMAGE_UNIFORMS=_C('GL_MAX_COMPUTE_IMAGE_UNIFORMS',0x91BD)
GL_MAX_COMPUTE_SHARED_MEMORY_SIZE=_C('GL_MAX_COMPUTE_SHARED_MEMORY_SIZE',0x8262)
GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS=_C('GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS',0x91BC)
GL_MAX_COMPUTE_UNIFORM_BLOCKS=_C('GL_MAX_COMPUTE_UNIFORM_BLOCKS',0x91BB)
GL_MAX_COMPUTE_UNIFORM_COMPONENTS=_C('GL_MAX_COMPUTE_UNIFORM_COMPONENTS',0x8263)
GL_MAX_COMPUTE_WORK_GROUP_COUNT=_C('GL_MAX_COMPUTE_WORK_GROUP_COUNT',0x91BE)
GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS=_C('GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS',0x90EB)
GL_MAX_COMPUTE_WORK_GROUP_SIZE=_C('GL_MAX_COMPUTE_WORK_GROUP_SIZE',0x91BF)
GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER=_C('GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER',0x90EC)
Ejemplo n.º 8
0
"""Autogenerated by xml_generate script, do not edit!"""
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES1 import _types as _cs
# End users want this...
from OpenGL.raw.GLES1._types import *
from OpenGL.raw.GLES1 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GLES1_OES_stencil4"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES1,
                             "GLES1_OES_stencil4",
                             error_checker=_errors._error_checker)


GL_STENCIL_INDEX4_OES = _C("GL_STENCIL_INDEX4_OES", 0x8D47)
Ejemplo n.º 9
0
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_EXT_robustness'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES2,
                             'GLES2_EXT_robustness',
                             error_checker=_errors._error_checker)


GL_CONTEXT_ROBUST_ACCESS_EXT = _C('GL_CONTEXT_ROBUST_ACCESS_EXT', 0x90F3)
GL_GUILTY_CONTEXT_RESET_EXT = _C('GL_GUILTY_CONTEXT_RESET_EXT', 0x8253)
GL_INNOCENT_CONTEXT_RESET_EXT = _C('GL_INNOCENT_CONTEXT_RESET_EXT', 0x8254)
GL_LOSE_CONTEXT_ON_RESET_EXT = _C('GL_LOSE_CONTEXT_ON_RESET_EXT', 0x8252)
GL_NO_ERROR = _C('GL_NO_ERROR', 0)
GL_NO_RESET_NOTIFICATION_EXT = _C('GL_NO_RESET_NOTIFICATION_EXT', 0x8261)
GL_RESET_NOTIFICATION_STRATEGY_EXT = _C('GL_RESET_NOTIFICATION_STRATEGY_EXT',
                                        0x8256)
GL_UNKNOWN_CONTEXT_RESET_EXT = _C('GL_UNKNOWN_CONTEXT_RESET_EXT', 0x8255)


@_f
@_p.types(
    _cs.GLenum, )
def glGetGraphicsResetStatusEXT():
    pass
Ejemplo n.º 10
0
"""Autogenerated by xml_generate script, do not edit!"""
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GLES2_NV_conservative_raster_pre_snap"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES2,
                             "GLES2_NV_conservative_raster_pre_snap",
                             error_checker=_errors._error_checker)


GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV = _C(
    "GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV", 0x9550)
Ejemplo n.º 11
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_HP_occlusion_test'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_HP_occlusion_test',
                             error_checker=_errors._error_checker)


GL_OCCLUSION_TEST_HP = _C('GL_OCCLUSION_TEST_HP', 0x8165)
GL_OCCLUSION_TEST_RESULT_HP = _C('GL_OCCLUSION_TEST_RESULT_HP', 0x8166)
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_EXT_stencil_clear_tag'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_EXT_stencil_clear_tag',
                             error_checker=_errors._error_checker)


GL_STENCIL_CLEAR_TAG_VALUE_EXT = _C('GL_STENCIL_CLEAR_TAG_VALUE_EXT', 0x88F3)
GL_STENCIL_TAG_BITS_EXT = _C('GL_STENCIL_TAG_BITS_EXT', 0x88F2)


@_f
@_p.types(None, _cs.GLsizei, _cs.GLuint)
def glStencilClearTagEXT(stencilTagBits, stencilClearTag):
    pass
Ejemplo n.º 13
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_ES_VERSION_3_2'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_ES_VERSION_3_2',error_checker=_errors._error_checker)
GL_BUFFER=_C('GL_BUFFER',0x82E0)
GL_CCW=_C('GL_CCW',0x0901)
GL_CLAMP_TO_BORDER=_C('GL_CLAMP_TO_BORDER',0x812D)
GL_COLORBURN=_C('GL_COLORBURN',0x929A)
GL_COLORDODGE=_C('GL_COLORDODGE',0x9299)
GL_COMPRESSED_RGBA_ASTC_10x10=_C('GL_COMPRESSED_RGBA_ASTC_10x10',0x93BB)
GL_COMPRESSED_RGBA_ASTC_10x5=_C('GL_COMPRESSED_RGBA_ASTC_10x5',0x93B8)
GL_COMPRESSED_RGBA_ASTC_10x6=_C('GL_COMPRESSED_RGBA_ASTC_10x6',0x93B9)
GL_COMPRESSED_RGBA_ASTC_10x8=_C('GL_COMPRESSED_RGBA_ASTC_10x8',0x93BA)
GL_COMPRESSED_RGBA_ASTC_12x10=_C('GL_COMPRESSED_RGBA_ASTC_12x10',0x93BC)
GL_COMPRESSED_RGBA_ASTC_12x12=_C('GL_COMPRESSED_RGBA_ASTC_12x12',0x93BD)
GL_COMPRESSED_RGBA_ASTC_4x4=_C('GL_COMPRESSED_RGBA_ASTC_4x4',0x93B0)
GL_COMPRESSED_RGBA_ASTC_5x4=_C('GL_COMPRESSED_RGBA_ASTC_5x4',0x93B1)
GL_COMPRESSED_RGBA_ASTC_5x5=_C('GL_COMPRESSED_RGBA_ASTC_5x5',0x93B2)
GL_COMPRESSED_RGBA_ASTC_6x5=_C('GL_COMPRESSED_RGBA_ASTC_6x5',0x93B3)
GL_COMPRESSED_RGBA_ASTC_6x6=_C('GL_COMPRESSED_RGBA_ASTC_6x6',0x93B4)
GL_COMPRESSED_RGBA_ASTC_8x5=_C('GL_COMPRESSED_RGBA_ASTC_8x5',0x93B5)
GL_COMPRESSED_RGBA_ASTC_8x6=_C('GL_COMPRESSED_RGBA_ASTC_8x6',0x93B6)
Ejemplo n.º 14
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_AMD_gpu_shader_half_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_AMD_gpu_shader_half_float',error_checker=_errors._error_checker)
GL_FLOAT16_MAT2_AMD=_C('GL_FLOAT16_MAT2_AMD',0x91C5)
GL_FLOAT16_MAT2x3_AMD=_C('GL_FLOAT16_MAT2x3_AMD',0x91C8)
GL_FLOAT16_MAT2x4_AMD=_C('GL_FLOAT16_MAT2x4_AMD',0x91C9)
GL_FLOAT16_MAT3_AMD=_C('GL_FLOAT16_MAT3_AMD',0x91C6)
GL_FLOAT16_MAT3x2_AMD=_C('GL_FLOAT16_MAT3x2_AMD',0x91CA)
GL_FLOAT16_MAT3x4_AMD=_C('GL_FLOAT16_MAT3x4_AMD',0x91CB)
GL_FLOAT16_MAT4_AMD=_C('GL_FLOAT16_MAT4_AMD',0x91C7)
GL_FLOAT16_MAT4x2_AMD=_C('GL_FLOAT16_MAT4x2_AMD',0x91CC)
GL_FLOAT16_MAT4x3_AMD=_C('GL_FLOAT16_MAT4x3_AMD',0x91CD)
GL_FLOAT16_NV=_C('GL_FLOAT16_NV',0x8FF8)
GL_FLOAT16_VEC2_NV=_C('GL_FLOAT16_VEC2_NV',0x8FF9)
GL_FLOAT16_VEC3_NV=_C('GL_FLOAT16_VEC3_NV',0x8FFA)
GL_FLOAT16_VEC4_NV=_C('GL_FLOAT16_VEC4_NV',0x8FFB)

Ejemplo n.º 15
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_KHR_blend_equation_advanced'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_KHR_blend_equation_advanced',error_checker=_errors._error_checker)
GL_COLORBURN_KHR=_C('GL_COLORBURN_KHR',0x929A)
GL_COLORDODGE_KHR=_C('GL_COLORDODGE_KHR',0x9299)
GL_DARKEN_KHR=_C('GL_DARKEN_KHR',0x9297)
GL_DIFFERENCE_KHR=_C('GL_DIFFERENCE_KHR',0x929E)
GL_EXCLUSION_KHR=_C('GL_EXCLUSION_KHR',0x92A0)
GL_HARDLIGHT_KHR=_C('GL_HARDLIGHT_KHR',0x929B)
GL_HSL_COLOR_KHR=_C('GL_HSL_COLOR_KHR',0x92AF)
GL_HSL_HUE_KHR=_C('GL_HSL_HUE_KHR',0x92AD)
GL_HSL_LUMINOSITY_KHR=_C('GL_HSL_LUMINOSITY_KHR',0x92B0)
GL_HSL_SATURATION_KHR=_C('GL_HSL_SATURATION_KHR',0x92AE)
GL_LIGHTEN_KHR=_C('GL_LIGHTEN_KHR',0x9298)
GL_MULTIPLY_KHR=_C('GL_MULTIPLY_KHR',0x9294)
GL_OVERLAY_KHR=_C('GL_OVERLAY_KHR',0x9296)
GL_SCREEN_KHR=_C('GL_SCREEN_KHR',0x9295)
GL_SOFTLIGHT_KHR=_C('GL_SOFTLIGHT_KHR',0x929C)
@_f
@_p.types(None,)
def glBlendBarrierKHR():pass
Ejemplo n.º 16
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_sparse_texture'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_sparse_texture',error_checker=_errors._error_checker)
GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB=_C('GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB',0x9199)
GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB=_C('GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB',0x919A)
GL_MAX_SPARSE_TEXTURE_SIZE_ARB=_C('GL_MAX_SPARSE_TEXTURE_SIZE_ARB',0x9198)
GL_NUM_SPARSE_LEVELS_ARB=_C('GL_NUM_SPARSE_LEVELS_ARB',0x91AA)
GL_NUM_VIRTUAL_PAGE_SIZES_ARB=_C('GL_NUM_VIRTUAL_PAGE_SIZES_ARB',0x91A8)
GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB=_C('GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB',0x91A9)
GL_TEXTURE_SPARSE_ARB=_C('GL_TEXTURE_SPARSE_ARB',0x91A6)
GL_VIRTUAL_PAGE_SIZE_INDEX_ARB=_C('GL_VIRTUAL_PAGE_SIZE_INDEX_ARB',0x91A7)
GL_VIRTUAL_PAGE_SIZE_X_ARB=_C('GL_VIRTUAL_PAGE_SIZE_X_ARB',0x9195)
GL_VIRTUAL_PAGE_SIZE_Y_ARB=_C('GL_VIRTUAL_PAGE_SIZE_Y_ARB',0x9196)
GL_VIRTUAL_PAGE_SIZE_Z_ARB=_C('GL_VIRTUAL_PAGE_SIZE_Z_ARB',0x9197)
@_f
@_p.types(None,_cs.GLenum,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
def glTexPageCommitmentARB(target,level,xoffset,yoffset,zoffset,width,height,depth,resident):pass
Ejemplo n.º 17
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_EXT_packed_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_EXT_packed_float',error_checker=_errors._error_checker)
GL_R11F_G11F_B10F_EXT=_C('GL_R11F_G11F_B10F_EXT',0x8C3A)
GL_RGBA_SIGNED_COMPONENTS_EXT=_C('GL_RGBA_SIGNED_COMPONENTS_EXT',0x8C3C)
GL_UNSIGNED_INT_10F_11F_11F_REV_EXT=_C('GL_UNSIGNED_INT_10F_11F_11F_REV_EXT',0x8C3B)

from OpenGL.raw.GLES1 import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = 'GLES1_OES_fixed_point'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES1,
                             'GLES1_OES_fixed_point',
                             error_checker=_errors._error_checker)


GL_FIXED_OES = _C('GL_FIXED_OES', 0x140C)


@_f
@_p.types(None, _cs.GLenum, _cs.GLfixed)
def glAccumxOES(op, value):
    pass


@_f
@_p.types(None, _cs.GLenum, _cs.GLfixed)
def glAlphaFuncxOES(func, ref):
    pass


@_f
Ejemplo n.º 19
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.EGL import _types as _cs
# End users want this...
from OpenGL.raw.EGL._types import *
from OpenGL.raw.EGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'EGL_KHR_image'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.EGL,'EGL_KHR_image',error_checker=_errors._error_checker)
EGL_NATIVE_PIXMAP_KHR=_C('EGL_NATIVE_PIXMAP_KHR',0x30B0)
# EGL_NO_IMAGE_KHR=_C('EGL_NO_IMAGE_KHR',((EGLImageKHR)0))
@_f
@_p.types(_cs.EGLImageKHR,_cs.EGLDisplay,_cs.EGLContext,_cs.EGLenum,_cs.EGLClientBuffer,arrays.GLintArray)
def eglCreateImageKHR(dpy,ctx,target,buffer,attrib_list):pass
@_f
@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLImageKHR)
def eglDestroyImageKHR(dpy,image):pass
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES1 import _types as _cs
# End users want this...
from OpenGL.raw.GLES1._types import *
from OpenGL.raw.GLES1 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES1_OES_byte_coordinates'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES1,'GLES1_OES_byte_coordinates',error_checker=_errors._error_checker)
GL_BYTE=_C('GL_BYTE',0x1400)
@_f
@_p.types(None,_cs.GLenum,_cs.GLbyte)
def glMultiTexCoord1bOES(texture,s):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLbyteArray)
def glMultiTexCoord1bvOES(texture,coords):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLbyte,_cs.GLbyte)
def glMultiTexCoord2bOES(texture,s,t):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLbyteArray)
def glMultiTexCoord2bvOES(texture,coords):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLbyte,_cs.GLbyte,_cs.GLbyte)
def glMultiTexCoord3bOES(texture,s,t,r):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLbyteArray)
Ejemplo n.º 21
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_EXT_texture_compression_latc'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_EXT_texture_compression_latc',error_checker=_errors._error_checker)
GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT=_C('GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT',0x8C72)
GL_COMPRESSED_LUMINANCE_LATC1_EXT=_C('GL_COMPRESSED_LUMINANCE_LATC1_EXT',0x8C70)
GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT=_C('GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT',0x8C73)
GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT=_C('GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT',0x8C71)

Ejemplo n.º 22
0
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = "GL_IBM_vertex_array_lists"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_IBM_vertex_array_lists",
                             error_checker=_errors._error_checker)


GL_COLOR_ARRAY_LIST_IBM = _C("GL_COLOR_ARRAY_LIST_IBM", 103072)
GL_COLOR_ARRAY_LIST_STRIDE_IBM = _C("GL_COLOR_ARRAY_LIST_STRIDE_IBM", 103082)
GL_EDGE_FLAG_ARRAY_LIST_IBM = _C("GL_EDGE_FLAG_ARRAY_LIST_IBM", 103075)
GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = _C("GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM",
                                        103085)
GL_FOG_COORDINATE_ARRAY_LIST_IBM = _C("GL_FOG_COORDINATE_ARRAY_LIST_IBM",
                                      103076)
GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = _C(
    "GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM", 103086)
GL_INDEX_ARRAY_LIST_IBM = _C("GL_INDEX_ARRAY_LIST_IBM", 103073)
GL_INDEX_ARRAY_LIST_STRIDE_IBM = _C("GL_INDEX_ARRAY_LIST_STRIDE_IBM", 103083)
GL_NORMAL_ARRAY_LIST_IBM = _C("GL_NORMAL_ARRAY_LIST_IBM", 103071)
GL_NORMAL_ARRAY_LIST_STRIDE_IBM = _C("GL_NORMAL_ARRAY_LIST_STRIDE_IBM", 103081)
GL_SECONDARY_COLOR_ARRAY_LIST_IBM = _C("GL_SECONDARY_COLOR_ARRAY_LIST_IBM",
                                       103077)
GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = _C(
Ejemplo n.º 23
0
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = "GL_EXT_multisample"


def _f(function):
    return _p.createFunction(function, _p.PLATFORM.GL, "GL_EXT_multisample", error_checker=_errors._error_checker)


GL_1PASS_EXT = _C("GL_1PASS_EXT", 0x80A1)
GL_2PASS_0_EXT = _C("GL_2PASS_0_EXT", 0x80A2)
GL_2PASS_1_EXT = _C("GL_2PASS_1_EXT", 0x80A3)
GL_4PASS_0_EXT = _C("GL_4PASS_0_EXT", 0x80A4)
GL_4PASS_1_EXT = _C("GL_4PASS_1_EXT", 0x80A5)
GL_4PASS_2_EXT = _C("GL_4PASS_2_EXT", 0x80A6)
GL_4PASS_3_EXT = _C("GL_4PASS_3_EXT", 0x80A7)
GL_MULTISAMPLE_BIT_EXT = _C("GL_MULTISAMPLE_BIT_EXT", 0x20000000)
GL_MULTISAMPLE_EXT = _C("GL_MULTISAMPLE_EXT", 0x809D)
GL_SAMPLES_EXT = _C("GL_SAMPLES_EXT", 0x80A9)
GL_SAMPLE_ALPHA_TO_MASK_EXT = _C("GL_SAMPLE_ALPHA_TO_MASK_EXT", 0x809E)
GL_SAMPLE_ALPHA_TO_ONE_EXT = _C("GL_SAMPLE_ALPHA_TO_ONE_EXT", 0x809F)
GL_SAMPLE_BUFFERS_EXT = _C("GL_SAMPLE_BUFFERS_EXT", 0x80A8)
GL_SAMPLE_MASK_EXT = _C("GL_SAMPLE_MASK_EXT", 0x80A0)
GL_SAMPLE_MASK_INVERT_EXT = _C("GL_SAMPLE_MASK_INVERT_EXT", 0x80AB)
GL_SAMPLE_MASK_VALUE_EXT = _C("GL_SAMPLE_MASK_VALUE_EXT", 0x80AA)
Ejemplo n.º 24
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = 'GL_EXT_abgr'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_EXT_abgr',
                             error_checker=_errors._error_checker)


GL_ABGR_EXT = _C('GL_ABGR_EXT', 0x8000)
Ejemplo n.º 25
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_instanced_arrays'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_instanced_arrays',error_checker=_errors._error_checker)
GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB=_C('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB',0x88FE)
@_f
@_p.types(None,_cs.GLuint,_cs.GLuint)
def glVertexAttribDivisorARB(index,divisor):pass
Ejemplo n.º 26
0
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = 'GL_NV_conservative_raster'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_NV_conservative_raster',
                             error_checker=_errors._error_checker)


GL_CONSERVATIVE_RASTERIZATION_NV = _C('GL_CONSERVATIVE_RASTERIZATION_NV',
                                      0x9346)
GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV = _C(
    'GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV', 0x9349)
GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV = _C(
    'GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV', 0x9347)
GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV = _C(
    'GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV', 0x9348)


@_f
@_p.types(None, _cs.GLuint, _cs.GLuint)
def glSubpixelPrecisionBiasNV(xbits, ybits):
    pass
Ejemplo n.º 27
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_EXT_map_buffer_range'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_EXT_map_buffer_range',error_checker=_errors._error_checker)
GL_MAP_FLUSH_EXPLICIT_BIT_EXT=_C('GL_MAP_FLUSH_EXPLICIT_BIT_EXT',0x0010)
GL_MAP_INVALIDATE_BUFFER_BIT_EXT=_C('GL_MAP_INVALIDATE_BUFFER_BIT_EXT',0x0008)
GL_MAP_INVALIDATE_RANGE_BIT_EXT=_C('GL_MAP_INVALIDATE_RANGE_BIT_EXT',0x0004)
GL_MAP_READ_BIT_EXT=_C('GL_MAP_READ_BIT_EXT',0x0001)
GL_MAP_UNSYNCHRONIZED_BIT_EXT=_C('GL_MAP_UNSYNCHRONIZED_BIT_EXT',0x0020)
GL_MAP_WRITE_BIT_EXT=_C('GL_MAP_WRITE_BIT_EXT',0x0002)
@_f
@_p.types(None,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr)
def glFlushMappedBufferRangeEXT(target,offset,length):pass
@_f
@_p.types(ctypes.c_void_p,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLbitfield)
def glMapBufferRangeEXT(target,offset,length,access):pass
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GL_EXT_separate_shader_objects"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_EXT_separate_shader_objects",
                             error_checker=_errors._error_checker)


GL_ACTIVE_PROGRAM_EXT = _C("GL_ACTIVE_PROGRAM_EXT", 0x8B8D)
GL_ACTIVE_PROGRAM_EXT = _C("GL_ACTIVE_PROGRAM_EXT", 0x8B8D)
GL_ALL_SHADER_BITS_EXT = _C("GL_ALL_SHADER_BITS_EXT", 0xFFFFFFFF)
GL_FRAGMENT_SHADER_BIT_EXT = _C("GL_FRAGMENT_SHADER_BIT_EXT", 0x00000002)
GL_PROGRAM_PIPELINE_BINDING_EXT = _C("GL_PROGRAM_PIPELINE_BINDING_EXT", 0x825A)
GL_PROGRAM_SEPARABLE_EXT = _C("GL_PROGRAM_SEPARABLE_EXT", 0x8258)
GL_VERTEX_SHADER_BIT_EXT = _C("GL_VERTEX_SHADER_BIT_EXT", 0x00000001)


@_f
@_p.types(None, _cs.GLuint)
def glActiveProgramEXT(program):
    pass


@_f
Ejemplo n.º 29
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_EXT_abgr'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_EXT_abgr',error_checker=_errors._error_checker)
GL_ABGR_EXT=_C('GL_ABGR_EXT',0x8000)

from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GL_ARB_shader_storage_buffer_object"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_ARB_shader_storage_buffer_object",
                             error_checker=_errors._error_checker)


GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = _C(
    "GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS", 0x8F39)
GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES = _C(
    "GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES", 0x8F39)
GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS = _C(
    "GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS", 0x90DC)
GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS = _C(
    "GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS", 0x90DB)
GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS = _C(
    "GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS", 0x90DA)
GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS = _C(
    "GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS", 0x90D7)
GL_MAX_SHADER_STORAGE_BLOCK_SIZE = _C("GL_MAX_SHADER_STORAGE_BLOCK_SIZE",
                                      0x90DE)
GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS = _C(
    "GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS", 0x90DD)
GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS = _C(
Ejemplo n.º 31
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLX_EXT_fbconfig_packed_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_EXT_fbconfig_packed_float',error_checker=_errors._error_checker)
GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT=_C('GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT',0x00000008)
GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT=_C('GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT',0x20B1)

Ejemplo n.º 32
0
"""Autogenerated by xml_generate script, do not edit!"""
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GL_EXT_packed_pixels"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_EXT_packed_pixels",
                             error_checker=_errors._error_checker)


GL_UNSIGNED_BYTE_3_3_2_EXT = _C("GL_UNSIGNED_BYTE_3_3_2_EXT", 0x8032)
GL_UNSIGNED_INT_10_10_10_2_EXT = _C("GL_UNSIGNED_INT_10_10_10_2_EXT", 0x8036)
GL_UNSIGNED_INT_8_8_8_8_EXT = _C("GL_UNSIGNED_INT_8_8_8_8_EXT", 0x8035)
GL_UNSIGNED_SHORT_4_4_4_4_EXT = _C("GL_UNSIGNED_SHORT_4_4_4_4_EXT", 0x8033)
GL_UNSIGNED_SHORT_5_5_5_1_EXT = _C("GL_UNSIGNED_SHORT_5_5_5_1_EXT", 0x8034)
Ejemplo n.º 33
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLX_ARB_fbconfig_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_ARB_fbconfig_float',error_checker=_errors._error_checker)
GLX_RGBA_FLOAT_BIT_ARB=_C('GLX_RGBA_FLOAT_BIT_ARB',0x00000004)
GLX_RGBA_FLOAT_TYPE_ARB=_C('GLX_RGBA_FLOAT_TYPE_ARB',0x20B9)

Ejemplo n.º 34
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.EGL import _types as _cs
# End users want this...
from OpenGL.raw.EGL._types import *
from OpenGL.raw.EGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'EGL_KHR_stream'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.EGL,'EGL_KHR_stream',error_checker=_errors._error_checker)
EGL_BAD_STATE_KHR=_C('EGL_BAD_STATE_KHR',0x321C)
EGL_BAD_STREAM_KHR=_C('EGL_BAD_STREAM_KHR',0x321B)
EGL_CONSUMER_FRAME_KHR=_C('EGL_CONSUMER_FRAME_KHR',0x3213)
EGL_CONSUMER_LATENCY_USEC_KHR=_C('EGL_CONSUMER_LATENCY_USEC_KHR',0x3210)
# EGL_NO_STREAM_KHR=_C('EGL_NO_STREAM_KHR',((EGLStreamKHR)0))
EGL_PRODUCER_FRAME_KHR=_C('EGL_PRODUCER_FRAME_KHR',0x3212)
EGL_STREAM_STATE_CONNECTING_KHR=_C('EGL_STREAM_STATE_CONNECTING_KHR',0x3216)
EGL_STREAM_STATE_CREATED_KHR=_C('EGL_STREAM_STATE_CREATED_KHR',0x3215)
EGL_STREAM_STATE_DISCONNECTED_KHR=_C('EGL_STREAM_STATE_DISCONNECTED_KHR',0x321A)
EGL_STREAM_STATE_EMPTY_KHR=_C('EGL_STREAM_STATE_EMPTY_KHR',0x3217)
EGL_STREAM_STATE_KHR=_C('EGL_STREAM_STATE_KHR',0x3214)
EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR=_C('EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR',0x3218)
EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR=_C('EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR',0x3219)
@_f
@_p.types(_cs.EGLStreamKHR,_cs.EGLDisplay,arrays.GLintArray)
def eglCreateStreamKHR(dpy,attrib_list):pass
@_f
@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLStreamKHR)
Ejemplo n.º 35
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.EGL import _types as _cs
# End users want this...
from OpenGL.raw.EGL._types import *
from OpenGL.raw.EGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'EGL_NV_EGL_3dvision_surface'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.EGL,'EGL_NV_EGL_3dvision_surface',error_checker=_errors._error_checker)
EGL_AUTO_STEREO_NV=_C('EGL_AUTO_STEREO_NV',0x3136)

Ejemplo n.º 36
0
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_texture_storage'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_ARB_texture_storage',
                             error_checker=_errors._error_checker)


GL_TEXTURE_IMMUTABLE_FORMAT = _C('GL_TEXTURE_IMMUTABLE_FORMAT', 0x912F)


@_f
@_p.types(None, _cs.GLenum, _cs.GLsizei, _cs.GLenum, _cs.GLsizei)
def glTexStorage1D(target, levels, internalformat, width):
    pass


@_f
@_p.types(None, _cs.GLenum, _cs.GLsizei, _cs.GLenum, _cs.GLsizei, _cs.GLsizei)
def glTexStorage2D(target, levels, internalformat, width, height):
    pass


@_f
Ejemplo n.º 37
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_SGIX_async'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_SGIX_async',error_checker=_errors._error_checker)
GL_ASYNC_MARKER_SGIX=_C('GL_ASYNC_MARKER_SGIX',0x8329)
@_f
@_p.types(None,_cs.GLuint)
def glAsyncMarkerSGIX(marker):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei)
def glDeleteAsyncMarkersSGIX(marker,range):pass
@_f
@_p.types(_cs.GLint,arrays.GLuintArray)
def glFinishAsyncSGIX(markerp):pass
@_f
@_p.types(_cs.GLuint,_cs.GLsizei)
def glGenAsyncMarkersSGIX(range):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint)
def glIsAsyncMarkerSGIX(marker):pass
@_f
@_p.types(_cs.GLint,arrays.GLuintArray)
Ejemplo n.º 38
0
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GL_ATI_vertex_streams"


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             "GL_ATI_vertex_streams",
                             error_checker=_errors._error_checker)


GL_MAX_VERTEX_STREAMS_ATI = _C("GL_MAX_VERTEX_STREAMS_ATI", 0x876B)
GL_VERTEX_SOURCE_ATI = _C("GL_VERTEX_SOURCE_ATI", 0x8774)
GL_VERTEX_STREAM0_ATI = _C("GL_VERTEX_STREAM0_ATI", 0x876C)
GL_VERTEX_STREAM1_ATI = _C("GL_VERTEX_STREAM1_ATI", 0x876D)
GL_VERTEX_STREAM2_ATI = _C("GL_VERTEX_STREAM2_ATI", 0x876E)
GL_VERTEX_STREAM3_ATI = _C("GL_VERTEX_STREAM3_ATI", 0x876F)
GL_VERTEX_STREAM4_ATI = _C("GL_VERTEX_STREAM4_ATI", 0x8770)
GL_VERTEX_STREAM5_ATI = _C("GL_VERTEX_STREAM5_ATI", 0x8771)
GL_VERTEX_STREAM6_ATI = _C("GL_VERTEX_STREAM6_ATI", 0x8772)
GL_VERTEX_STREAM7_ATI = _C("GL_VERTEX_STREAM7_ATI", 0x8773)


@_f
@_p.types(None, _cs.GLenum)
def glClientActiveVertexStreamATI(stream):
    pass
Ejemplo n.º 39
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_color_buffer_float'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_color_buffer_float',error_checker=_errors._error_checker)
GL_CLAMP_FRAGMENT_COLOR_ARB=_C('GL_CLAMP_FRAGMENT_COLOR_ARB',0x891B)
GL_CLAMP_READ_COLOR_ARB=_C('GL_CLAMP_READ_COLOR_ARB',0x891C)
GL_CLAMP_VERTEX_COLOR_ARB=_C('GL_CLAMP_VERTEX_COLOR_ARB',0x891A)
GL_FIXED_ONLY_ARB=_C('GL_FIXED_ONLY_ARB',0x891D)
GL_RGBA_FLOAT_MODE_ARB=_C('GL_RGBA_FLOAT_MODE_ARB',0x8820)
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum)
def glClampColorARB(target,clamp):pass
Ejemplo n.º 40
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLX_INTEL_swap_event'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLX,
                             'GLX_INTEL_swap_event',
                             error_checker=_errors._error_checker)


GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK = _C('GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK',
                                         0x04000000)
GLX_COPY_COMPLETE_INTEL = _C('GLX_COPY_COMPLETE_INTEL', 0x8181)
GLX_EXCHANGE_COMPLETE_INTEL = _C('GLX_EXCHANGE_COMPLETE_INTEL', 0x8180)
GLX_FLIP_COMPLETE_INTEL = _C('GLX_FLIP_COMPLETE_INTEL', 0x8182)
Ejemplo n.º 41
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_sparse_buffer'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_sparse_buffer',error_checker=_errors._error_checker)
GL_SPARSE_BUFFER_PAGE_SIZE_ARB=_C('GL_SPARSE_BUFFER_PAGE_SIZE_ARB',0x82F8)
GL_SPARSE_STORAGE_BIT_ARB=_C('GL_SPARSE_STORAGE_BIT_ARB',0x0400)
@_f
@_p.types(None,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLboolean)
def glBufferPageCommitmentARB(target,offset,size,commit):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLboolean)
def glNamedBufferPageCommitmentARB(buffer,offset,size,commit):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLboolean)
def glNamedBufferPageCommitmentEXT(buffer,offset,size,commit):pass
Ejemplo n.º 42
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.WGL import _types as _cs
# End users want this...
from OpenGL.raw.WGL._types import *
from OpenGL.raw.WGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'WGL_I3D_digital_video_control'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.WGL,'WGL_I3D_digital_video_control',error_checker=_errors._error_checker)
WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D=_C('WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D',0x2050)
WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D=_C('WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D',0x2051)
WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D=_C('WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D',0x2052)
WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D=_C('WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D',0x2053)
@_f
@_p.types(_cs.BOOL,_cs.HDC,_cs.c_int,ctypes.POINTER(_cs.c_int))
def wglGetDigitalVideoParametersI3D(hDC,iAttribute,piValue):pass
@_f
@_p.types(_cs.BOOL,_cs.HDC,_cs.c_int,ctypes.POINTER(_cs.c_int))
def wglSetDigitalVideoParametersI3D(hDC,iAttribute,piValue):pass
Ejemplo n.º 43
0
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes

_EXTENSION_NAME = "GLX_SGIX_video_resize"


def _f(function):
    return _p.createFunction(function, _p.PLATFORM.GLX, "GLX_SGIX_video_resize", error_checker=_errors._error_checker)


GLX_SYNC_FRAME_SGIX = _C("GLX_SYNC_FRAME_SGIX", 0x00000000)
GLX_SYNC_SWAP_SGIX = _C("GLX_SYNC_SWAP_SGIX", 0x00000001)


@_f
@_p.types(_cs.c_int, ctypes.POINTER(_cs.Display), _cs.c_int, _cs.c_int, _cs.Window)
def glXBindChannelToWindowSGIX(display, screen, channel, window):
    pass


@_f
@_p.types(_cs.c_int, ctypes.POINTER(_cs.Display), _cs.c_int, _cs.c_int, _cs.c_int, _cs.c_int, _cs.c_int, _cs.c_int)
def glXChannelRectSGIX(display, screen, channel, x, y, w, h):
    pass

Ejemplo n.º 44
0
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_SGI_color_table'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GL,
                             'GL_SGI_color_table',
                             error_checker=_errors._error_checker)


GL_COLOR_TABLE_ALPHA_SIZE_SGI = _C('GL_COLOR_TABLE_ALPHA_SIZE_SGI', 0x80DD)
GL_COLOR_TABLE_BIAS_SGI = _C('GL_COLOR_TABLE_BIAS_SGI', 0x80D7)
GL_COLOR_TABLE_BLUE_SIZE_SGI = _C('GL_COLOR_TABLE_BLUE_SIZE_SGI', 0x80DC)
GL_COLOR_TABLE_FORMAT_SGI = _C('GL_COLOR_TABLE_FORMAT_SGI', 0x80D8)
GL_COLOR_TABLE_GREEN_SIZE_SGI = _C('GL_COLOR_TABLE_GREEN_SIZE_SGI', 0x80DB)
GL_COLOR_TABLE_INTENSITY_SIZE_SGI = _C('GL_COLOR_TABLE_INTENSITY_SIZE_SGI',
                                       0x80DF)
GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = _C('GL_COLOR_TABLE_LUMINANCE_SIZE_SGI',
                                       0x80DE)
GL_COLOR_TABLE_RED_SIZE_SGI = _C('GL_COLOR_TABLE_RED_SIZE_SGI', 0x80DA)
GL_COLOR_TABLE_SCALE_SGI = _C('GL_COLOR_TABLE_SCALE_SGI', 0x80D6)
GL_COLOR_TABLE_SGI = _C('GL_COLOR_TABLE_SGI', 0x80D0)
GL_COLOR_TABLE_WIDTH_SGI = _C('GL_COLOR_TABLE_WIDTH_SGI', 0x80D9)
GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = _C(
    'GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI', 0x80D2)
GL_POST_CONVOLUTION_COLOR_TABLE_SGI = _C('GL_POST_CONVOLUTION_COLOR_TABLE_SGI',
Ejemplo n.º 45
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES1 import _types as _cs
# End users want this...
from OpenGL.raw.GLES1._types import *
from OpenGL.raw.GLES1 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES1_EXT_read_format_bgra'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES1,'GLES1_EXT_read_format_bgra',error_checker=_errors._error_checker)
GL_BGRA_EXT=_C('GL_BGRA_EXT',0x80E1)
GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT=_C('GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT',0x8366)
GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT=_C('GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT',0x8365)

Ejemplo n.º 46
0
from OpenGL.raw.WGL._types import *
from OpenGL.raw.WGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'WGL_AMD_gpu_association'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.WGL,
                             'WGL_AMD_gpu_association',
                             error_checker=_errors._error_checker)


WGL_GPU_CLOCK_AMD = _C('WGL_GPU_CLOCK_AMD', 0x21A4)
WGL_GPU_FASTEST_TARGET_GPUS_AMD = _C('WGL_GPU_FASTEST_TARGET_GPUS_AMD', 0x21A2)
WGL_GPU_NUM_PIPES_AMD = _C('WGL_GPU_NUM_PIPES_AMD', 0x21A5)
WGL_GPU_NUM_RB_AMD = _C('WGL_GPU_NUM_RB_AMD', 0x21A7)
WGL_GPU_NUM_SIMD_AMD = _C('WGL_GPU_NUM_SIMD_AMD', 0x21A6)
WGL_GPU_NUM_SPI_AMD = _C('WGL_GPU_NUM_SPI_AMD', 0x21A8)
WGL_GPU_OPENGL_VERSION_STRING_AMD = _C('WGL_GPU_OPENGL_VERSION_STRING_AMD',
                                       0x1F02)
WGL_GPU_RAM_AMD = _C('WGL_GPU_RAM_AMD', 0x21A3)
WGL_GPU_RENDERER_STRING_AMD = _C('WGL_GPU_RENDERER_STRING_AMD', 0x1F01)
WGL_GPU_VENDOR_AMD = _C('WGL_GPU_VENDOR_AMD', 0x1F00)


@_f
@_p.types(_cs.VOID, _cs.HGLRC, _cs.GLint, _cs.GLint, _cs.GLint, _cs.GLint,
          _cs.GLint, _cs.GLint, _cs.GLint, _cs.GLint, _cs.GLbitfield,
Ejemplo n.º 47
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_NV_packed_depth_stencil'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_NV_packed_depth_stencil',error_checker=_errors._error_checker)
GL_DEPTH_STENCIL_NV=_C('GL_DEPTH_STENCIL_NV',0x84F9)
GL_UNSIGNED_INT_24_8_NV=_C('GL_UNSIGNED_INT_24_8_NV',0x84FA)

Ejemplo n.º 48
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_NV_coverage_sample'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_NV_coverage_sample',error_checker=_errors._error_checker)
GL_COVERAGE_ALL_FRAGMENTS_NV=_C('GL_COVERAGE_ALL_FRAGMENTS_NV',0x8ED5)
GL_COVERAGE_ATTACHMENT_NV=_C('GL_COVERAGE_ATTACHMENT_NV',0x8ED2)
GL_COVERAGE_AUTOMATIC_NV=_C('GL_COVERAGE_AUTOMATIC_NV',0x8ED7)
GL_COVERAGE_BUFFERS_NV=_C('GL_COVERAGE_BUFFERS_NV',0x8ED3)
GL_COVERAGE_BUFFER_BIT_NV=_C('GL_COVERAGE_BUFFER_BIT_NV',0x00008000)
GL_COVERAGE_COMPONENT4_NV=_C('GL_COVERAGE_COMPONENT4_NV',0x8ED1)
GL_COVERAGE_COMPONENT_NV=_C('GL_COVERAGE_COMPONENT_NV',0x8ED0)
GL_COVERAGE_EDGE_FRAGMENTS_NV=_C('GL_COVERAGE_EDGE_FRAGMENTS_NV',0x8ED6)
GL_COVERAGE_SAMPLES_NV=_C('GL_COVERAGE_SAMPLES_NV',0x8ED4)
@_f
@_p.types(None,_cs.GLboolean)
def glCoverageMaskNV(mask):pass
@_f
@_p.types(None,_cs.GLenum)
def glCoverageOperationNV(operation):pass
Ejemplo n.º 49
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_EXT_shader_framebuffer_fetch'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_EXT_shader_framebuffer_fetch',error_checker=_errors._error_checker)
GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT=_C('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT',0x8A52)

'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_EXT_unpack_subimage'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES2,
                             'GLES2_EXT_unpack_subimage',
                             error_checker=_errors._error_checker)


GL_UNPACK_ROW_LENGTH_EXT = _C('GL_UNPACK_ROW_LENGTH_EXT', 0x0CF2)
GL_UNPACK_SKIP_PIXELS_EXT = _C('GL_UNPACK_SKIP_PIXELS_EXT', 0x0CF4)
GL_UNPACK_SKIP_ROWS_EXT = _C('GL_UNPACK_SKIP_ROWS_EXT', 0x0CF3)
Ejemplo n.º 51
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_VERSION_GL_2_0'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_VERSION_GL_2_0',error_checker=_errors._error_checker)
GL_ACTIVE_ATTRIBUTES=_C('GL_ACTIVE_ATTRIBUTES',0x8B89)
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH=_C('GL_ACTIVE_ATTRIBUTE_MAX_LENGTH',0x8B8A)
GL_ACTIVE_UNIFORMS=_C('GL_ACTIVE_UNIFORMS',0x8B86)
GL_ACTIVE_UNIFORM_MAX_LENGTH=_C('GL_ACTIVE_UNIFORM_MAX_LENGTH',0x8B87)
GL_ATTACHED_SHADERS=_C('GL_ATTACHED_SHADERS',0x8B85)
GL_BLEND_EQUATION_ALPHA=_C('GL_BLEND_EQUATION_ALPHA',0x883D)
GL_BLEND_EQUATION_RGB=_C('GL_BLEND_EQUATION_RGB',0x8009)
GL_BOOL=_C('GL_BOOL',0x8B56)
GL_BOOL_VEC2=_C('GL_BOOL_VEC2',0x8B57)
GL_BOOL_VEC3=_C('GL_BOOL_VEC3',0x8B58)
GL_BOOL_VEC4=_C('GL_BOOL_VEC4',0x8B59)
GL_COMPILE_STATUS=_C('GL_COMPILE_STATUS',0x8B81)
GL_COORD_REPLACE=_C('GL_COORD_REPLACE',0x8862)
GL_CURRENT_PROGRAM=_C('GL_CURRENT_PROGRAM',0x8B8D)
GL_CURRENT_VERTEX_ATTRIB=_C('GL_CURRENT_VERTEX_ATTRIB',0x8626)
GL_DELETE_STATUS=_C('GL_DELETE_STATUS',0x8B80)
GL_DRAW_BUFFER0=_C('GL_DRAW_BUFFER0',0x8825)
GL_DRAW_BUFFER1=_C('GL_DRAW_BUFFER1',0x8826)
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_point_sprite'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_point_sprite',error_checker=_errors._error_checker)
GL_COORD_REPLACE_ARB=_C('GL_COORD_REPLACE_ARB',0x8862)
GL_POINT_SPRITE_ARB=_C('GL_POINT_SPRITE_ARB',0x8861)

Ejemplo n.º 53
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_IMG_shader_binary'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_IMG_shader_binary',error_checker=_errors._error_checker)
GL_SGX_BINARY_IMG=_C('GL_SGX_BINARY_IMG',0x8C0A)

Ejemplo n.º 54
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLX_SGIS_multisample'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLX,
                             'GLX_SGIS_multisample',
                             error_checker=_errors._error_checker)


GLX_SAMPLES_SGIS = _C('GLX_SAMPLES_SGIS', 100001)
GLX_SAMPLE_BUFFERS_SGIS = _C('GLX_SAMPLE_BUFFERS_SGIS', 100000)
Ejemplo n.º 55
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_ARB_vertex_program'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_vertex_program',error_checker=_errors._error_checker)
GL_COLOR_SUM_ARB=_C('GL_COLOR_SUM_ARB',0x8458)
GL_CURRENT_MATRIX_ARB=_C('GL_CURRENT_MATRIX_ARB',0x8641)
GL_CURRENT_MATRIX_STACK_DEPTH_ARB=_C('GL_CURRENT_MATRIX_STACK_DEPTH_ARB',0x8640)
GL_CURRENT_VERTEX_ATTRIB_ARB=_C('GL_CURRENT_VERTEX_ATTRIB_ARB',0x8626)
GL_MATRIX0_ARB=_C('GL_MATRIX0_ARB',0x88C0)
GL_MATRIX10_ARB=_C('GL_MATRIX10_ARB',0x88CA)
GL_MATRIX11_ARB=_C('GL_MATRIX11_ARB',0x88CB)
GL_MATRIX12_ARB=_C('GL_MATRIX12_ARB',0x88CC)
GL_MATRIX13_ARB=_C('GL_MATRIX13_ARB',0x88CD)
GL_MATRIX14_ARB=_C('GL_MATRIX14_ARB',0x88CE)
GL_MATRIX15_ARB=_C('GL_MATRIX15_ARB',0x88CF)
GL_MATRIX16_ARB=_C('GL_MATRIX16_ARB',0x88D0)
GL_MATRIX17_ARB=_C('GL_MATRIX17_ARB',0x88D1)
GL_MATRIX18_ARB=_C('GL_MATRIX18_ARB',0x88D2)
GL_MATRIX19_ARB=_C('GL_MATRIX19_ARB',0x88D3)
GL_MATRIX1_ARB=_C('GL_MATRIX1_ARB',0x88C1)
GL_MATRIX20_ARB=_C('GL_MATRIX20_ARB',0x88D4)
GL_MATRIX21_ARB=_C('GL_MATRIX21_ARB',0x88D5)
Ejemplo n.º 56
0
"""Autogenerated by xml_generate script, do not edit!"""
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = "GLES2_OES_texture_float"
def _f(function):
    return _p.createFunction(function,_p.PLATFORM.GLES2,"GLES2_OES_texture_float",error_checker=_errors._error_checker)
GL_FLOAT=_C("GL_FLOAT",0x1406)

Ejemplo n.º 57
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES1 import _types as _cs
# End users want this...
from OpenGL.raw.GLES1._types import *
from OpenGL.raw.GLES1 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES1_VERSION_GLES1_1_0'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLES1,'GLES1_VERSION_GLES1_1_0',error_checker=_errors._error_checker)
GL_ACTIVE_TEXTURE=_C('GL_ACTIVE_TEXTURE',0x84E0)
GL_ADD=_C('GL_ADD',0x0104)
GL_ADD_SIGNED=_C('GL_ADD_SIGNED',0x8574)
GL_ALIASED_LINE_WIDTH_RANGE=_C('GL_ALIASED_LINE_WIDTH_RANGE',0x846E)
GL_ALIASED_POINT_SIZE_RANGE=_C('GL_ALIASED_POINT_SIZE_RANGE',0x846D)
GL_ALPHA=_C('GL_ALPHA',0x1906)
GL_ALPHA_BITS=_C('GL_ALPHA_BITS',0x0D55)
GL_ALPHA_SCALE=_C('GL_ALPHA_SCALE',0x0D1C)
GL_ALPHA_TEST=_C('GL_ALPHA_TEST',0x0BC0)
GL_ALPHA_TEST_FUNC=_C('GL_ALPHA_TEST_FUNC',0x0BC1)
GL_ALPHA_TEST_REF=_C('GL_ALPHA_TEST_REF',0x0BC2)
GL_ALWAYS=_C('GL_ALWAYS',0x0207)
GL_AMBIENT=_C('GL_AMBIENT',0x1200)
GL_AMBIENT_AND_DIFFUSE=_C('GL_AMBIENT_AND_DIFFUSE',0x1602)
GL_AND=_C('GL_AND',0x1501)
GL_AND_INVERTED=_C('GL_AND_INVERTED',0x1504)
GL_AND_REVERSE=_C('GL_AND_REVERSE',0x1502)
GL_ARRAY_BUFFER=_C('GL_ARRAY_BUFFER',0x8892)
Ejemplo n.º 58
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GL_NV_vertex_program'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GL,'GL_NV_vertex_program',error_checker=_errors._error_checker)
GL_ATTRIB_ARRAY_POINTER_NV=_C('GL_ATTRIB_ARRAY_POINTER_NV',0x8645)
GL_ATTRIB_ARRAY_SIZE_NV=_C('GL_ATTRIB_ARRAY_SIZE_NV',0x8623)
GL_ATTRIB_ARRAY_STRIDE_NV=_C('GL_ATTRIB_ARRAY_STRIDE_NV',0x8624)
GL_ATTRIB_ARRAY_TYPE_NV=_C('GL_ATTRIB_ARRAY_TYPE_NV',0x8625)
GL_CURRENT_ATTRIB_NV=_C('GL_CURRENT_ATTRIB_NV',0x8626)
GL_CURRENT_MATRIX_NV=_C('GL_CURRENT_MATRIX_NV',0x8641)
GL_CURRENT_MATRIX_STACK_DEPTH_NV=_C('GL_CURRENT_MATRIX_STACK_DEPTH_NV',0x8640)
GL_IDENTITY_NV=_C('GL_IDENTITY_NV',0x862A)
GL_INVERSE_NV=_C('GL_INVERSE_NV',0x862B)
GL_INVERSE_TRANSPOSE_NV=_C('GL_INVERSE_TRANSPOSE_NV',0x862D)
GL_MAP1_VERTEX_ATTRIB0_4_NV=_C('GL_MAP1_VERTEX_ATTRIB0_4_NV',0x8660)
GL_MAP1_VERTEX_ATTRIB10_4_NV=_C('GL_MAP1_VERTEX_ATTRIB10_4_NV',0x866A)
GL_MAP1_VERTEX_ATTRIB11_4_NV=_C('GL_MAP1_VERTEX_ATTRIB11_4_NV',0x866B)
GL_MAP1_VERTEX_ATTRIB12_4_NV=_C('GL_MAP1_VERTEX_ATTRIB12_4_NV',0x866C)
GL_MAP1_VERTEX_ATTRIB13_4_NV=_C('GL_MAP1_VERTEX_ATTRIB13_4_NV',0x866D)
GL_MAP1_VERTEX_ATTRIB14_4_NV=_C('GL_MAP1_VERTEX_ATTRIB14_4_NV',0x866E)
GL_MAP1_VERTEX_ATTRIB15_4_NV=_C('GL_MAP1_VERTEX_ATTRIB15_4_NV',0x866F)
GL_MAP1_VERTEX_ATTRIB1_4_NV=_C('GL_MAP1_VERTEX_ATTRIB1_4_NV',0x8661)
Ejemplo n.º 59
0
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLX_AMD_gpu_association'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_AMD_gpu_association',error_checker=_errors._error_checker)
GLX_GPU_CLOCK_AMD=_C('GLX_GPU_CLOCK_AMD',0x21A4)
GLX_GPU_FASTEST_TARGET_GPUS_AMD=_C('GLX_GPU_FASTEST_TARGET_GPUS_AMD',0x21A2)
GLX_GPU_NUM_PIPES_AMD=_C('GLX_GPU_NUM_PIPES_AMD',0x21A5)
GLX_GPU_NUM_RB_AMD=_C('GLX_GPU_NUM_RB_AMD',0x21A7)
GLX_GPU_NUM_SIMD_AMD=_C('GLX_GPU_NUM_SIMD_AMD',0x21A6)
GLX_GPU_NUM_SPI_AMD=_C('GLX_GPU_NUM_SPI_AMD',0x21A8)
GLX_GPU_OPENGL_VERSION_STRING_AMD=_C('GLX_GPU_OPENGL_VERSION_STRING_AMD',0x1F02)
GLX_GPU_RAM_AMD=_C('GLX_GPU_RAM_AMD',0x21A3)
GLX_GPU_RENDERER_STRING_AMD=_C('GLX_GPU_RENDERER_STRING_AMD',0x1F01)
GLX_GPU_VENDOR_AMD=_C('GLX_GPU_VENDOR_AMD',0x1F00)
@_f
@_p.types(None,_cs.GLXContext,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLbitfield,_cs.GLenum)
def glXBlitContextFramebufferAMD(dstCtx,srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter):pass
@_f
@_p.types(_cs.GLXContext,_cs.c_uint,_cs.GLXContext)
def glXCreateAssociatedContextAMD(id,share_list):pass
@_f
@_p.types(_cs.GLXContext,_cs.c_uint,_cs.GLXContext,ctypes.POINTER(_cs.c_int))
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'GLES2_VERSION_GLES2_2_0'


def _f(function):
    return _p.createFunction(function,
                             _p.PLATFORM.GLES2,
                             'GLES2_VERSION_GLES2_2_0',
                             error_checker=_errors._error_checker)


GL_ACTIVE_ATTRIBUTES = _C('GL_ACTIVE_ATTRIBUTES', 0x8B89)
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = _C('GL_ACTIVE_ATTRIBUTE_MAX_LENGTH', 0x8B8A)
GL_ACTIVE_TEXTURE = _C('GL_ACTIVE_TEXTURE', 0x84E0)
GL_ACTIVE_UNIFORMS = _C('GL_ACTIVE_UNIFORMS', 0x8B86)
GL_ACTIVE_UNIFORM_MAX_LENGTH = _C('GL_ACTIVE_UNIFORM_MAX_LENGTH', 0x8B87)
GL_ALIASED_LINE_WIDTH_RANGE = _C('GL_ALIASED_LINE_WIDTH_RANGE', 0x846E)
GL_ALIASED_POINT_SIZE_RANGE = _C('GL_ALIASED_POINT_SIZE_RANGE', 0x846D)
GL_ALPHA = _C('GL_ALPHA', 0x1906)
GL_ALPHA_BITS = _C('GL_ALPHA_BITS', 0x0D55)
GL_ALWAYS = _C('GL_ALWAYS', 0x0207)
GL_ARRAY_BUFFER = _C('GL_ARRAY_BUFFER', 0x8892)
GL_ARRAY_BUFFER_BINDING = _C('GL_ARRAY_BUFFER_BINDING', 0x8894)
GL_ATTACHED_SHADERS = _C('GL_ATTACHED_SHADERS', 0x8B85)
GL_BACK = _C('GL_BACK', 0x0405)
GL_BLEND = _C('GL_BLEND', 0x0BE2)
GL_BLEND_COLOR = _C('GL_BLEND_COLOR', 0x8005)