diff --git a/OpenGL/GL/AMD/debug_output.py b/OpenGL/GL/AMD/debug_output.py index a2ccad17..605fd610 100644 --- a/OpenGL/GL/AMD/debug_output.py +++ b/OpenGL/GL/AMD/debug_output.py @@ -81,7 +81,7 @@ def glInitDebugOutputAMD(): ).setOutput( 'lengths',size=lambda x:(x,),pnameArg='count',orPassIn=True ).setOutput( - 'message',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True + 'message',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ).setOutput( 'severities',size=lambda x:(x,),pnameArg='count',orPassIn=True ) diff --git a/OpenGL/GL/AMD/multi_draw_indirect.py b/OpenGL/GL/AMD/multi_draw_indirect.py index b7592bd9..d5075018 100644 --- a/OpenGL/GL/AMD/multi_draw_indirect.py +++ b/OpenGL/GL/AMD/multi_draw_indirect.py @@ -33,5 +33,12 @@ def glInitMultiDrawIndirectAMD(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glMultiDrawArraysIndirectAMD.indirect size not checked against 'primcount,stride' +glMultiDrawArraysIndirectAMD=wrapper.wrapper(glMultiDrawArraysIndirectAMD).setInputArraySize( + 'indirect', None +) +# INPUT glMultiDrawElementsIndirectAMD.indirect size not checked against 'primcount,stride' +glMultiDrawElementsIndirectAMD=wrapper.wrapper(glMultiDrawElementsIndirectAMD).setInputArraySize( + 'indirect', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/AMD/performance_monitor.py b/OpenGL/GL/AMD/performance_monitor.py index 9aecf2ad..08c48184 100644 --- a/OpenGL/GL/AMD/performance_monitor.py +++ b/OpenGL/GL/AMD/performance_monitor.py @@ -66,6 +66,6 @@ def glInitPerformanceMonitorAMD(): glGetPerfMonitorCounterDataAMD=wrapper.wrapper(glGetPerfMonitorCounterDataAMD).setOutput( 'bytesWritten',size=(1,),orPassIn=True ).setOutput( - 'data',size=lambda x:(x,),pnameArg='dataSize',orPassIn=True + 'data',size=lambda x:(x,),pnameArg='dataSize / 4',orPassIn=True ) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/APPLE/ycbcr_422.py b/OpenGL/GL/APPLE/ycbcr_422.py index bcc27ff9..a070000e 100644 --- a/OpenGL/GL/APPLE/ycbcr_422.py +++ b/OpenGL/GL/APPLE/ycbcr_422.py @@ -32,7 +32,7 @@ in memory; Cb, Y0, Cr, Y1. The luminance components have a range of [16, 235], while the chroma value has a range of [16, 240]. This is consistent with the CCIR601 spec. This format is fairly prevalent on both Mac and Win32 - platforms. The equivalent Microsoft fourCC is OUYVYO. This format is + platforms. The equivalent Microsoft fourCC is 'UYVY'. This format is supported with the UNSIGNED_SHORT_8_8_REV_APPLE type for pixel storage operations. diff --git a/OpenGL/GL/ARB/direct_state_access.py b/OpenGL/GL/ARB/direct_state_access.py index cc14492c..3458a4e9 100644 --- a/OpenGL/GL/ARB/direct_state_access.py +++ b/OpenGL/GL/ARB/direct_state_access.py @@ -66,14 +66,57 @@ def glInitDirectStateAccessARB(): glNamedBufferStorage=wrapper.wrapper(glNamedBufferStorage).setInputArraySize( 'data', None ) -# INPUT glNamedBufferSubData.data size not checked against 'size' +# INPUT glNamedBufferData.data size not checked against size +glNamedBufferData=wrapper.wrapper(glNamedBufferData).setInputArraySize( + 'data', None +) +# INPUT glNamedBufferSubData.data size not checked against size glNamedBufferSubData=wrapper.wrapper(glNamedBufferSubData).setInputArraySize( 'data', None ) +# INPUT glClearNamedBufferData.data size not checked against 'format,type' +glClearNamedBufferData=wrapper.wrapper(glClearNamedBufferData).setInputArraySize( + 'data', None +) +# INPUT glClearNamedBufferSubData.data size not checked against 'format,type' +glClearNamedBufferSubData=wrapper.wrapper(glClearNamedBufferSubData).setInputArraySize( + 'data', None +) +glGetNamedBufferPointerv=wrapper.wrapper(glGetNamedBufferPointerv).setInputArraySize( + 'params', 1 +) +# INPUT glGetNamedBufferSubData.data size not checked against size +glGetNamedBufferSubData=wrapper.wrapper(glGetNamedBufferSubData).setInputArraySize( + 'data', None +) # INPUT glCreateFramebuffers.framebuffers size not checked against n glCreateFramebuffers=wrapper.wrapper(glCreateFramebuffers).setInputArraySize( 'framebuffers', None ) +# INPUT glNamedFramebufferDrawBuffers.bufs size not checked against n +glNamedFramebufferDrawBuffers=wrapper.wrapper(glNamedFramebufferDrawBuffers).setInputArraySize( + 'bufs', None +) +# INPUT glInvalidateNamedFramebufferData.attachments size not checked against numAttachments +glInvalidateNamedFramebufferData=wrapper.wrapper(glInvalidateNamedFramebufferData).setInputArraySize( + 'attachments', None +) +# INPUT glInvalidateNamedFramebufferSubData.attachments size not checked against numAttachments +glInvalidateNamedFramebufferSubData=wrapper.wrapper(glInvalidateNamedFramebufferSubData).setInputArraySize( + 'attachments', None +) +# INPUT glClearNamedFramebufferiv.value size not checked against 'buffer' +glClearNamedFramebufferiv=wrapper.wrapper(glClearNamedFramebufferiv).setInputArraySize( + 'value', None +) +# INPUT glClearNamedFramebufferuiv.value size not checked against 'buffer' +glClearNamedFramebufferuiv=wrapper.wrapper(glClearNamedFramebufferuiv).setInputArraySize( + 'value', None +) +# INPUT glClearNamedFramebufferfv.value size not checked against 'buffer' +glClearNamedFramebufferfv=wrapper.wrapper(glClearNamedFramebufferfv).setInputArraySize( + 'value', None +) # INPUT glCreateRenderbuffers.renderbuffers size not checked against n glCreateRenderbuffers=wrapper.wrapper(glCreateRenderbuffers).setInputArraySize( 'renderbuffers', None @@ -82,10 +125,56 @@ def glInitDirectStateAccessARB(): glCreateTextures=wrapper.wrapper(glCreateTextures).setInputArraySize( 'textures', None ) +# INPUT glCompressedTextureSubImage1D.data size not checked against imageSize +glCompressedTextureSubImage1D=wrapper.wrapper(glCompressedTextureSubImage1D).setInputArraySize( + 'data', None +) +# INPUT glCompressedTextureSubImage2D.data size not checked against imageSize +glCompressedTextureSubImage2D=wrapper.wrapper(glCompressedTextureSubImage2D).setInputArraySize( + 'data', None +) +# INPUT glCompressedTextureSubImage3D.data size not checked against imageSize +glCompressedTextureSubImage3D=wrapper.wrapper(glCompressedTextureSubImage3D).setInputArraySize( + 'data', None +) +# INPUT glTextureParameterfv.param size not checked against 'pname' +glTextureParameterfv=wrapper.wrapper(glTextureParameterfv).setInputArraySize( + 'param', None +) +# INPUT glTextureParameterIiv.params size not checked against 'pname' +glTextureParameterIiv=wrapper.wrapper(glTextureParameterIiv).setInputArraySize( + 'params', None +) +# INPUT glTextureParameterIuiv.params size not checked against 'pname' +glTextureParameterIuiv=wrapper.wrapper(glTextureParameterIuiv).setInputArraySize( + 'params', None +) +# INPUT glTextureParameteriv.param size not checked against 'pname' +glTextureParameteriv=wrapper.wrapper(glTextureParameteriv).setInputArraySize( + 'param', None +) +# INPUT glGetTextureImage.pixels size not checked against bufSize +glGetTextureImage=wrapper.wrapper(glGetTextureImage).setInputArraySize( + 'pixels', None +) +# INPUT glGetCompressedTextureImage.pixels size not checked against bufSize +glGetCompressedTextureImage=wrapper.wrapper(glGetCompressedTextureImage).setInputArraySize( + 'pixels', None +) # INPUT glCreateVertexArrays.arrays size not checked against n glCreateVertexArrays=wrapper.wrapper(glCreateVertexArrays).setInputArraySize( 'arrays', None ) +# INPUT glVertexArrayVertexBuffers.buffers size not checked against count +# INPUT glVertexArrayVertexBuffers.offsets size not checked against count +# INPUT glVertexArrayVertexBuffers.strides size not checked against count +glVertexArrayVertexBuffers=wrapper.wrapper(glVertexArrayVertexBuffers).setInputArraySize( + 'buffers', None +).setInputArraySize( + 'offsets', None +).setInputArraySize( + 'strides', None +) # INPUT glCreateSamplers.samplers size not checked against n glCreateSamplers=wrapper.wrapper(glCreateSamplers).setInputArraySize( 'samplers', None diff --git a/OpenGL/GL/ARB/draw_elements_base_vertex.py b/OpenGL/GL/ARB/draw_elements_base_vertex.py index 324623ed..db8fb4d2 100644 --- a/OpenGL/GL/ARB/draw_elements_base_vertex.py +++ b/OpenGL/GL/ARB/draw_elements_base_vertex.py @@ -88,9 +88,9 @@ def glInitDrawElementsBaseVertexARB(): glDrawElementsInstancedBaseVertex=wrapper.wrapper(glDrawElementsInstancedBaseVertex).setInputArraySize( 'indices', None ) -# INPUT glMultiDrawElementsBaseVertex.basevertex size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertex.count size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertex.indices size not checked against 'drawcount' +# INPUT glMultiDrawElementsBaseVertex.basevertex size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertex.count size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertex.indices size not checked against drawcount glMultiDrawElementsBaseVertex=wrapper.wrapper(glMultiDrawElementsBaseVertex).setInputArraySize( 'basevertex', None ).setInputArraySize( diff --git a/OpenGL/GL/ARB/get_texture_sub_image.py b/OpenGL/GL/ARB/get_texture_sub_image.py index 40150666..56665d0d 100644 --- a/OpenGL/GL/ARB/get_texture_sub_image.py +++ b/OpenGL/GL/ARB/get_texture_sub_image.py @@ -24,5 +24,12 @@ def glInitGetTextureSubImageARB(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glGetTextureSubImage.pixels size not checked against bufSize +glGetTextureSubImage=wrapper.wrapper(glGetTextureSubImage).setInputArraySize( + 'pixels', None +) +# INPUT glGetCompressedTextureSubImage.pixels size not checked against bufSize +glGetCompressedTextureSubImage=wrapper.wrapper(glGetCompressedTextureSubImage).setInputArraySize( + 'pixels', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/ARB/gpu_shader_int64.py b/OpenGL/GL/ARB/gpu_shader_int64.py index 446b521d..af06b331 100644 --- a/OpenGL/GL/ARB/gpu_shader_int64.py +++ b/OpenGL/GL/ARB/gpu_shader_int64.py @@ -80,14 +80,6 @@ def glInitGpuShaderInt64ARB(): glGetUniformui64vARB=wrapper.wrapper(glGetUniformui64vARB).setInputArraySize( 'params', None ) -# INPUT glGetnUniformi64vARB.params size not checked against bufSize -glGetnUniformi64vARB=wrapper.wrapper(glGetnUniformi64vARB).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformui64vARB.params size not checked against bufSize -glGetnUniformui64vARB=wrapper.wrapper(glGetnUniformui64vARB).setInputArraySize( - 'params', None -) # INPUT glProgramUniform1i64vARB.value size not checked against count glProgramUniform1i64vARB=wrapper.wrapper(glProgramUniform1i64vARB).setInputArraySize( 'value', None diff --git a/OpenGL/GL/ARB/internalformat_query.py b/OpenGL/GL/ARB/internalformat_query.py index f7b4cb40..8361ef68 100644 --- a/OpenGL/GL/ARB/internalformat_query.py +++ b/OpenGL/GL/ARB/internalformat_query.py @@ -34,6 +34,6 @@ def glInitInternalformatQueryARB(): return extensions.hasGLExtension( _EXTENSION_NAME ) glGetInternalformativ=wrapper.wrapper(glGetInternalformativ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/ARB/internalformat_query2.py b/OpenGL/GL/ARB/internalformat_query2.py index 2b6f3803..521e3298 100644 --- a/OpenGL/GL/ARB/internalformat_query2.py +++ b/OpenGL/GL/ARB/internalformat_query2.py @@ -68,6 +68,6 @@ def glInitInternalformatQuery2ARB(): return extensions.hasGLExtension( _EXTENSION_NAME ) glGetInternalformati64v=wrapper.wrapper(glGetInternalformati64v).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/ARB/program_interface_query.py b/OpenGL/GL/ARB/program_interface_query.py index 0a7ba56d..153ad14f 100644 --- a/OpenGL/GL/ARB/program_interface_query.py +++ b/OpenGL/GL/ARB/program_interface_query.py @@ -71,7 +71,7 @@ def glInitProgramInterfaceQueryARB(): glGetProgramResourceiv=wrapper.wrapper(glGetProgramResourceiv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ).setInputArraySize( 'props', None ) diff --git a/OpenGL/GL/ARB/robustness.py b/OpenGL/GL/ARB/robustness.py index d1c0ed3b..d09ea97a 100644 --- a/OpenGL/GL/ARB/robustness.py +++ b/OpenGL/GL/ARB/robustness.py @@ -124,19 +124,19 @@ def glInitRobustnessARB(): 'img',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) glGetnUniformfvARB=wrapper.wrapper(glGetnUniformfvARB).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='bufSize / 4',orPassIn=True ) glGetnUniformivARB=wrapper.wrapper(glGetnUniformivARB).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='bufSize / 4',orPassIn=True ) glGetnUniformuivARB=wrapper.wrapper(glGetnUniformuivARB).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='bufSize / 4',orPassIn=True ) glGetnUniformdvARB=wrapper.wrapper(glGetnUniformdvARB).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='bufSize / 8',orPassIn=True ) glGetnMapdvARB=wrapper.wrapper(glGetnMapdvARB).setOutput( - 'v',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'v',size=lambda x:(x,),pnameArg='bufSize / 8',orPassIn=True ) glGetnMapfvARB=wrapper.wrapper(glGetnMapfvARB).setOutput( 'v',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True @@ -145,7 +145,7 @@ def glInitRobustnessARB(): 'v',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) glGetnPixelMapfvARB=wrapper.wrapper(glGetnPixelMapfvARB).setOutput( - 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'values',size=lambda x:(x,),pnameArg='bufSize / 4',orPassIn=True ) glGetnPixelMapuivARB=wrapper.wrapper(glGetnPixelMapuivARB).setOutput( 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True diff --git a/OpenGL/GL/ARB/shader_clock.py b/OpenGL/GL/ARB/shader_clock.py index 2ef007f9..fe03c85e 100644 --- a/OpenGL/GL/ARB/shader_clock.py +++ b/OpenGL/GL/ARB/shader_clock.py @@ -9,6 +9,16 @@ This extension exposes a 64-bit monotonically incrementing shader counter which may be used to derive local timing information within a single shader invocation. + + Mapping to SPIR-V + ----------------- + + For informational purposes (non-specification), the following is an + expected way for an implementation to map GLSL constructs to SPIR-V + constructs: + + clock2x32ARB -> OpReadClockKHR with a Scope of Subgroup, Result type of uvec2 + clockARB -> OpReadClockKHR with a Scope of Subgroup, Result type of uitn64_t The official definition of this extension is available here: http://www.opengl.org/registry/specs/ARB/shader_clock.txt diff --git a/OpenGL/GL/ARB/shader_subroutine.py b/OpenGL/GL/ARB/shader_subroutine.py index de0a5f4d..1712b704 100644 --- a/OpenGL/GL/ARB/shader_subroutine.py +++ b/OpenGL/GL/ARB/shader_subroutine.py @@ -34,12 +34,12 @@ def glInitShaderSubroutineARB(): glGetActiveSubroutineUniformName=wrapper.wrapper(glGetActiveSubroutineUniformName).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'name',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True + 'name',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) glGetActiveSubroutineName=wrapper.wrapper(glGetActiveSubroutineName).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'name',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True + 'name',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) # INPUT glUniformSubroutinesuiv.indices size not checked against count glUniformSubroutinesuiv=wrapper.wrapper(glUniformSubroutinesuiv).setInputArraySize( diff --git a/OpenGL/GL/ARB/sync.py b/OpenGL/GL/ARB/sync.py index 2f41b8b7..4c7b210f 100644 --- a/OpenGL/GL/ARB/sync.py +++ b/OpenGL/GL/ARB/sync.py @@ -47,7 +47,7 @@ def glInitSyncARB(): glGetSynciv=wrapper.wrapper(glGetSynciv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'values',size=lambda x:(x,),pnameArg='count',orPassIn=True ) ### END AUTOGENERATED SECTION from OpenGL.raw.GL._types import GLint diff --git a/OpenGL/GL/ARB/texture_compression.py b/OpenGL/GL/ARB/texture_compression.py index b97569a7..fd638242 100644 --- a/OpenGL/GL/ARB/texture_compression.py +++ b/OpenGL/GL/ARB/texture_compression.py @@ -65,7 +65,6 @@ The official definition of this extension is available here: http://www.opengl.org/registry/specs/ARB/texture_compression.txt ''' - from OpenGL import platform, constant, arrays from OpenGL import extensions, wrapper import ctypes @@ -73,39 +72,36 @@ from OpenGL.raw.GL.ARB.texture_compression import * from OpenGL.raw.GL.ARB.texture_compression import _EXTENSION_NAME - def glInitTextureCompressionARB(): '''Return boolean indicating whether this extension is available''' from OpenGL import extensions - - return extensions.hasGLExtension(_EXTENSION_NAME) - + return extensions.hasGLExtension( _EXTENSION_NAME ) # INPUT glCompressedTexImage3DARB.data size not checked against imageSize -glCompressedTexImage3DARB = wrapper.wrapper( - glCompressedTexImage3DARB -).setInputArraySize('data', None) +glCompressedTexImage3DARB=wrapper.wrapper(glCompressedTexImage3DARB).setInputArraySize( + 'data', None +) # INPUT glCompressedTexImage2DARB.data size not checked against imageSize -glCompressedTexImage2DARB = wrapper.wrapper( - glCompressedTexImage2DARB -).setInputArraySize('data', None) +glCompressedTexImage2DARB=wrapper.wrapper(glCompressedTexImage2DARB).setInputArraySize( + 'data', None +) # INPUT glCompressedTexImage1DARB.data size not checked against imageSize -glCompressedTexImage1DARB = wrapper.wrapper( - glCompressedTexImage1DARB -).setInputArraySize('data', None) +glCompressedTexImage1DARB=wrapper.wrapper(glCompressedTexImage1DARB).setInputArraySize( + 'data', None +) # INPUT glCompressedTexSubImage3DARB.data size not checked against imageSize -glCompressedTexSubImage3DARB = wrapper.wrapper( - glCompressedTexSubImage3DARB -).setInputArraySize('data', None) +glCompressedTexSubImage3DARB=wrapper.wrapper(glCompressedTexSubImage3DARB).setInputArraySize( + 'data', None +) # INPUT glCompressedTexSubImage2DARB.data size not checked against imageSize -glCompressedTexSubImage2DARB = wrapper.wrapper( - glCompressedTexSubImage2DARB -).setInputArraySize('data', None) +glCompressedTexSubImage2DARB=wrapper.wrapper(glCompressedTexSubImage2DARB).setInputArraySize( + 'data', None +) # INPUT glCompressedTexSubImage1DARB.data size not checked against imageSize -glCompressedTexSubImage1DARB = wrapper.wrapper( - glCompressedTexSubImage1DARB -).setInputArraySize('data', None) -# OUTPUT glGetCompressedTexImageARB.img COMPSIZE(target, level) +glCompressedTexSubImage1DARB=wrapper.wrapper(glCompressedTexSubImage1DARB).setInputArraySize( + 'data', None +) +# OUTPUT glGetCompressedTexImageARB.img COMPSIZE(target, level) ### END AUTOGENERATED SECTION from OpenGL.GL import images diff --git a/OpenGL/GL/ARB/vertex_attrib_64bit.py b/OpenGL/GL/ARB/vertex_attrib_64bit.py index 498ef6b5..7cb43b5e 100644 --- a/OpenGL/GL/ARB/vertex_attrib_64bit.py +++ b/OpenGL/GL/ARB/vertex_attrib_64bit.py @@ -74,10 +74,6 @@ def glInitVertexAttrib64BitARB(): glVertexAttribL4dv=wrapper.wrapper(glVertexAttribL4dv).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribLPointer.pointer size not checked against size -glVertexAttribLPointer=wrapper.wrapper(glVertexAttribLPointer).setInputArraySize( - 'pointer', None -) glGetVertexAttribLdv=wrapper.wrapper(glGetVertexAttribLdv).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) diff --git a/OpenGL/GL/ARB/vertex_program.py b/OpenGL/GL/ARB/vertex_program.py index 4955eade..a2f99259 100644 --- a/OpenGL/GL/ARB/vertex_program.py +++ b/OpenGL/GL/ARB/vertex_program.py @@ -137,10 +137,6 @@ def glInitVertexProgramARB(): glVertexAttrib4usvARB=wrapper.wrapper(glVertexAttrib4usvARB).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribPointerARB.pointer size not checked against 'size,type,stride' -glVertexAttribPointerARB=wrapper.wrapper(glVertexAttribPointerARB).setInputArraySize( - 'pointer', None -) # INPUT glProgramStringARB.string size not checked against len glProgramStringARB=wrapper.wrapper(glProgramStringARB).setInputArraySize( 'string', None diff --git a/OpenGL/GL/ARB/vertex_shader.py b/OpenGL/GL/ARB/vertex_shader.py index c5aee8c3..b8c05e2f 100644 --- a/OpenGL/GL/ARB/vertex_shader.py +++ b/OpenGL/GL/ARB/vertex_shader.py @@ -102,10 +102,6 @@ def glInitVertexShaderARB(): glVertexAttrib4NuivARB=wrapper.wrapper(glVertexAttrib4NuivARB).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribPointerARB.pointer size not checked against 'size,type,stride' -glVertexAttribPointerARB=wrapper.wrapper(glVertexAttribPointerARB).setInputArraySize( - 'pointer', None -) glGetActiveAttribARB=wrapper.wrapper(glGetActiveAttribARB).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( diff --git a/OpenGL/GL/EXT/direct_state_access.py b/OpenGL/GL/EXT/direct_state_access.py index 6ba92072..7750b996 100644 --- a/OpenGL/GL/EXT/direct_state_access.py +++ b/OpenGL/GL/EXT/direct_state_access.py @@ -650,6 +650,9 @@ def glInitDirectStateAccessEXT(): glGetVertexArrayPointervEXT=wrapper.wrapper(glGetVertexArrayPointervEXT).setInputArraySize( 'param', 1 ) +glGetVertexArrayPointeri_vEXT=wrapper.wrapper(glGetVertexArrayPointeri_vEXT).setInputArraySize( + 'param', 1 +) # INPUT glNamedBufferStorageEXT.data size not checked against size glNamedBufferStorageEXT=wrapper.wrapper(glNamedBufferStorageEXT).setInputArraySize( 'data', None diff --git a/OpenGL/GL/EXT/gpu_shader4.py b/OpenGL/GL/EXT/gpu_shader4.py index 65c51f20..5653fd2b 100644 --- a/OpenGL/GL/EXT/gpu_shader4.py +++ b/OpenGL/GL/EXT/gpu_shader4.py @@ -144,4 +144,46 @@ def glInitGpuShader4EXT(): glUniform4uivEXT=wrapper.wrapper(glUniform4uivEXT).setInputArraySize( 'value', None ) +glVertexAttribI1ivEXT=wrapper.wrapper(glVertexAttribI1ivEXT).setInputArraySize( + 'v', 1 +) +glVertexAttribI2ivEXT=wrapper.wrapper(glVertexAttribI2ivEXT).setInputArraySize( + 'v', 2 +) +glVertexAttribI3ivEXT=wrapper.wrapper(glVertexAttribI3ivEXT).setInputArraySize( + 'v', 3 +) +glVertexAttribI4ivEXT=wrapper.wrapper(glVertexAttribI4ivEXT).setInputArraySize( + 'v', 4 +) +glVertexAttribI1uivEXT=wrapper.wrapper(glVertexAttribI1uivEXT).setInputArraySize( + 'v', 1 +) +glVertexAttribI2uivEXT=wrapper.wrapper(glVertexAttribI2uivEXT).setInputArraySize( + 'v', 2 +) +glVertexAttribI3uivEXT=wrapper.wrapper(glVertexAttribI3uivEXT).setInputArraySize( + 'v', 3 +) +glVertexAttribI4uivEXT=wrapper.wrapper(glVertexAttribI4uivEXT).setInputArraySize( + 'v', 4 +) +glVertexAttribI4bvEXT=wrapper.wrapper(glVertexAttribI4bvEXT).setInputArraySize( + 'v', 4 +) +glVertexAttribI4svEXT=wrapper.wrapper(glVertexAttribI4svEXT).setInputArraySize( + 'v', 4 +) +glVertexAttribI4ubvEXT=wrapper.wrapper(glVertexAttribI4ubvEXT).setInputArraySize( + 'v', 4 +) +glVertexAttribI4usvEXT=wrapper.wrapper(glVertexAttribI4usvEXT).setInputArraySize( + 'v', 4 +) +glGetVertexAttribIivEXT=wrapper.wrapper(glGetVertexAttribIivEXT).setOutput( + 'params',size=(1,),orPassIn=True +) +glGetVertexAttribIuivEXT=wrapper.wrapper(glGetVertexAttribIuivEXT).setOutput( + 'params',size=(1,),orPassIn=True +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/EXT/multi_draw_arrays.py b/OpenGL/GL/EXT/multi_draw_arrays.py index 23749505..61eb50c7 100644 --- a/OpenGL/GL/EXT/multi_draw_arrays.py +++ b/OpenGL/GL/EXT/multi_draw_arrays.py @@ -27,15 +27,15 @@ def glInitMultiDrawArraysEXT(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glMultiDrawArraysEXT.count size not checked against 'primcount' -# INPUT glMultiDrawArraysEXT.first size not checked against 'primcount' +# INPUT glMultiDrawArraysEXT.count size not checked against primcount +# INPUT glMultiDrawArraysEXT.first size not checked against primcount glMultiDrawArraysEXT=wrapper.wrapper(glMultiDrawArraysEXT).setInputArraySize( 'count', None ).setInputArraySize( 'first', None ) -# INPUT glMultiDrawElementsEXT.count size not checked against 'primcount' -# INPUT glMultiDrawElementsEXT.indices size not checked against 'primcount' +# INPUT glMultiDrawElementsEXT.count size not checked against primcount +# INPUT glMultiDrawElementsEXT.indices size not checked against primcount glMultiDrawElementsEXT=wrapper.wrapper(glMultiDrawElementsEXT).setInputArraySize( 'count', None ).setInputArraySize( diff --git a/OpenGL/GL/EXT/separate_shader_objects.py b/OpenGL/GL/EXT/separate_shader_objects.py index 429d09c4..635ef364 100644 --- a/OpenGL/GL/EXT/separate_shader_objects.py +++ b/OpenGL/GL/EXT/separate_shader_objects.py @@ -97,10 +97,6 @@ def glInitSeparateShaderObjectsEXT(): glProgramUniform4uivEXT=wrapper.wrapper(glProgramUniform4uivEXT).setInputArraySize( 'value', None ) -# INPUT glProgramUniformMatrix4fvEXT.value size not checked against count*16 -glProgramUniformMatrix4fvEXT=wrapper.wrapper(glProgramUniformMatrix4fvEXT).setInputArraySize( - 'value', None -) # INPUT glProgramUniformMatrix2x3fvEXT.value size not checked against count*6 glProgramUniformMatrix2x3fvEXT=wrapper.wrapper(glProgramUniformMatrix2x3fvEXT).setInputArraySize( 'value', None diff --git a/OpenGL/GL/EXT/vertex_attrib_64bit.py b/OpenGL/GL/EXT/vertex_attrib_64bit.py index 1ae4ebab..06192c2a 100644 --- a/OpenGL/GL/EXT/vertex_attrib_64bit.py +++ b/OpenGL/GL/EXT/vertex_attrib_64bit.py @@ -75,10 +75,6 @@ def glInitVertexAttrib64BitEXT(): glVertexAttribL4dvEXT=wrapper.wrapper(glVertexAttribL4dvEXT).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribLPointerEXT.pointer size not checked against size -glVertexAttribLPointerEXT=wrapper.wrapper(glVertexAttribLPointerEXT).setInputArraySize( - 'pointer', None -) glGetVertexAttribLdvEXT=wrapper.wrapper(glGetVertexAttribLdvEXT).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) diff --git a/OpenGL/GL/IBM/multimode_draw_arrays.py b/OpenGL/GL/IBM/multimode_draw_arrays.py index 713b4114..b482293a 100644 --- a/OpenGL/GL/IBM/multimode_draw_arrays.py +++ b/OpenGL/GL/IBM/multimode_draw_arrays.py @@ -32,9 +32,9 @@ def glInitMultimodeDrawArraysIBM(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glMultiModeDrawArraysIBM.count size not checked against 'primcount' -# INPUT glMultiModeDrawArraysIBM.first size not checked against 'primcount' -# INPUT glMultiModeDrawArraysIBM.mode size not checked against 'primcount' +# INPUT glMultiModeDrawArraysIBM.count size not checked against primcount +# INPUT glMultiModeDrawArraysIBM.first size not checked against primcount +# INPUT glMultiModeDrawArraysIBM.mode size not checked against 'primcount,modestride' glMultiModeDrawArraysIBM=wrapper.wrapper(glMultiModeDrawArraysIBM).setInputArraySize( 'count', None ).setInputArraySize( @@ -42,9 +42,9 @@ def glInitMultimodeDrawArraysIBM(): ).setInputArraySize( 'mode', None ) -# INPUT glMultiModeDrawElementsIBM.count size not checked against 'primcount' -# INPUT glMultiModeDrawElementsIBM.indices size not checked against 'primcount' -# INPUT glMultiModeDrawElementsIBM.mode size not checked against 'primcount' +# INPUT glMultiModeDrawElementsIBM.count size not checked against primcount +# INPUT glMultiModeDrawElementsIBM.indices size not checked against primcount +# INPUT glMultiModeDrawElementsIBM.mode size not checked against 'primcount,modestride' glMultiModeDrawElementsIBM=wrapper.wrapper(glMultiModeDrawElementsIBM).setInputArraySize( 'count', None ).setInputArraySize( diff --git a/OpenGL/GL/INTEL/performance_query.py b/OpenGL/GL/INTEL/performance_query.py index 59de464f..2b5181c3 100644 --- a/OpenGL/GL/INTEL/performance_query.py +++ b/OpenGL/GL/INTEL/performance_query.py @@ -60,5 +60,15 @@ def glInitPerformanceQueryINTEL(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glGetPerfCounterInfoINTEL.counterDesc size not checked against counterDescLength +# INPUT glGetPerfCounterInfoINTEL.counterName size not checked against counterNameLength +glGetPerfCounterInfoINTEL=wrapper.wrapper(glGetPerfCounterInfoINTEL).setInputArraySize( + 'counterDesc', None +).setInputArraySize( + 'counterName', None +) +# INPUT glGetPerfQueryInfoINTEL.queryName size not checked against queryNameLength +glGetPerfQueryInfoINTEL=wrapper.wrapper(glGetPerfQueryInfoINTEL).setInputArraySize( + 'queryName', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/KHR/debug.py b/OpenGL/GL/KHR/debug.py index 8bb6e44c..1ae09ea2 100644 --- a/OpenGL/GL/KHR/debug.py +++ b/OpenGL/GL/KHR/debug.py @@ -203,4 +203,7 @@ def glInitDebugKHR(): ).setInputArraySize( 'length', 1 ) +glGetPointervKHR=wrapper.wrapper(glGetPointervKHR).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/KHR/robustness.py b/OpenGL/GL/KHR/robustness.py index 5b5fd399..d72544a2 100644 --- a/OpenGL/GL/KHR/robustness.py +++ b/OpenGL/GL/KHR/robustness.py @@ -80,32 +80,8 @@ def glInitRobustnessKHR(): glReadnPixels=wrapper.wrapper(glReadnPixels).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfv.params size not checked against bufSize -glGetnUniformfv=wrapper.wrapper(glGetnUniformfv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformiv.params size not checked against bufSize -glGetnUniformiv=wrapper.wrapper(glGetnUniformiv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformuiv.params size not checked against bufSize -glGetnUniformuiv=wrapper.wrapper(glGetnUniformuiv).setInputArraySize( - 'params', None -) # INPUT glReadnPixelsKHR.data size not checked against bufSize glReadnPixelsKHR=wrapper.wrapper(glReadnPixelsKHR).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfvKHR.params size not checked against bufSize -glGetnUniformfvKHR=wrapper.wrapper(glGetnUniformfvKHR).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformivKHR.params size not checked against bufSize -glGetnUniformivKHR=wrapper.wrapper(glGetnUniformivKHR).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformuivKHR.params size not checked against bufSize -glGetnUniformuivKHR=wrapper.wrapper(glGetnUniformuivKHR).setInputArraySize( - 'params', None -) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/NV/command_list.py b/OpenGL/GL/NV/command_list.py index 276651ad..4fc20dd8 100644 --- a/OpenGL/GL/NV/command_list.py +++ b/OpenGL/GL/NV/command_list.py @@ -63,4 +63,17 @@ def glInitCommandListNV(): glDeleteCommandListsNV=wrapper.wrapper(glDeleteCommandListsNV).setInputArraySize( 'lists', None ) +# INPUT glListDrawCommandsStatesClientNV.fbos size not checked against count +# INPUT glListDrawCommandsStatesClientNV.indirects size not checked against count +# INPUT glListDrawCommandsStatesClientNV.sizes size not checked against count +# INPUT glListDrawCommandsStatesClientNV.states size not checked against count +glListDrawCommandsStatesClientNV=wrapper.wrapper(glListDrawCommandsStatesClientNV).setInputArraySize( + 'fbos', None +).setInputArraySize( + 'indirects', None +).setInputArraySize( + 'sizes', None +).setInputArraySize( + 'states', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/NV/half_float.py b/OpenGL/GL/NV/half_float.py index d1c4b394..fa76e842 100644 --- a/OpenGL/GL/NV/half_float.py +++ b/OpenGL/GL/NV/half_float.py @@ -79,15 +79,6 @@ def glInitHalfFloatNV(): glMultiTexCoord4hvNV=wrapper.wrapper(glMultiTexCoord4hvNV).setInputArraySize( 'v', 4 ) -glFogCoordhvNV=wrapper.wrapper(glFogCoordhvNV).setInputArraySize( - 'fog', 1 -) -glSecondaryColor3hvNV=wrapper.wrapper(glSecondaryColor3hvNV).setInputArraySize( - 'v', 3 -) -glVertexWeighthvNV=wrapper.wrapper(glVertexWeighthvNV).setInputArraySize( - 'weight', 1 -) glVertexAttrib1hvNV=wrapper.wrapper(glVertexAttrib1hvNV).setInputArraySize( 'v', 1 ) @@ -116,4 +107,13 @@ def glInitHalfFloatNV(): glVertexAttribs4hvNV=wrapper.wrapper(glVertexAttribs4hvNV).setInputArraySize( 'v', None ) +glFogCoordhvNV=wrapper.wrapper(glFogCoordhvNV).setInputArraySize( + 'fog', 1 +) +glSecondaryColor3hvNV=wrapper.wrapper(glSecondaryColor3hvNV).setInputArraySize( + 'v', 3 +) +glVertexWeighthvNV=wrapper.wrapper(glVertexWeighthvNV).setInputArraySize( + 'weight', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/NV/internalformat_sample_query.py b/OpenGL/GL/NV/internalformat_sample_query.py index d71d6165..1fed2e43 100644 --- a/OpenGL/GL/NV/internalformat_sample_query.py +++ b/OpenGL/GL/NV/internalformat_sample_query.py @@ -57,7 +57,7 @@ def glInitInternalformatSampleQueryNV(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glGetInternalformatSampleivNV.params size not checked against bufSize +# INPUT glGetInternalformatSampleivNV.params size not checked against count glGetInternalformatSampleivNV=wrapper.wrapper(glGetInternalformatSampleivNV).setInputArraySize( 'params', None ) diff --git a/OpenGL/GL/NV/path_rendering.py b/OpenGL/GL/NV/path_rendering.py index 63d37433..9f00a377 100644 --- a/OpenGL/GL/NV/path_rendering.py +++ b/OpenGL/GL/NV/path_rendering.py @@ -517,6 +517,29 @@ def glInitPathRenderingNV(): ).setOutput( 'y',size=(1,),orPassIn=True ) +# INPUT glStencilThenCoverFillPathInstancedNV.paths size not checked against 'numPaths,pathNameType,paths' +# INPUT glStencilThenCoverFillPathInstancedNV.transformValues size not checked against 'numPaths,transformType' +glStencilThenCoverFillPathInstancedNV=wrapper.wrapper(glStencilThenCoverFillPathInstancedNV).setInputArraySize( + 'paths', None +).setInputArraySize( + 'transformValues', None +) +# INPUT glStencilThenCoverStrokePathInstancedNV.paths size not checked against 'numPaths,pathNameType,paths' +# INPUT glStencilThenCoverStrokePathInstancedNV.transformValues size not checked against 'numPaths,transformType' +glStencilThenCoverStrokePathInstancedNV=wrapper.wrapper(glStencilThenCoverStrokePathInstancedNV).setInputArraySize( + 'paths', None +).setInputArraySize( + 'transformValues', None +) +glPathGlyphIndexRangeNV=wrapper.wrapper(glPathGlyphIndexRangeNV).setInputArraySize( + 'baseAndCount', 2 +) +# INPUT glGetProgramResourcefvNV.params size not checked against count +glGetProgramResourcefvNV=wrapper.wrapper(glGetProgramResourcefvNV).setInputArraySize( + 'length', 1 +).setInputArraySize( + 'params', None +) # INPUT glPathColorGenNV.coeffs size not checked against 'genMode,colorFormat' glPathColorGenNV=wrapper.wrapper(glPathColorGenNV).setInputArraySize( 'coeffs', None diff --git a/OpenGL/GL/NV/query_resource.py b/OpenGL/GL/NV/query_resource.py index 6c9595ef..961cab70 100644 --- a/OpenGL/GL/NV/query_resource.py +++ b/OpenGL/GL/NV/query_resource.py @@ -41,5 +41,8 @@ def glInitQueryResourceNV(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glQueryResourceNV.buffer size not checked against count +glQueryResourceNV=wrapper.wrapper(glQueryResourceNV).setInputArraySize( + 'buffer', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GL/NV/transform_feedback.py b/OpenGL/GL/NV/transform_feedback.py index 10cc9b5f..197b9d45 100644 --- a/OpenGL/GL/NV/transform_feedback.py +++ b/OpenGL/GL/NV/transform_feedback.py @@ -69,9 +69,10 @@ def glInitTransformFeedbackNV(): glGetVaryingLocationNV=wrapper.wrapper(glGetVaryingLocationNV).setInputArraySize( 'name', None ) -# OUTPUT glGetActiveVaryingNV.name COMPSIZE(program, index, bufSize) glGetActiveVaryingNV=wrapper.wrapper(glGetActiveVaryingNV).setOutput( 'length',size=(1,),orPassIn=True +).setOutput( + 'name',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ).setOutput( 'size',size=(1,),orPassIn=True ).setOutput( diff --git a/OpenGL/GL/NV/vdpau_interop.py b/OpenGL/GL/NV/vdpau_interop.py index 1932949c..86a1eb20 100644 --- a/OpenGL/GL/NV/vdpau_interop.py +++ b/OpenGL/GL/NV/vdpau_interop.py @@ -45,7 +45,7 @@ def glInitVdpauInteropNV(): ) # glVDPAUGetSurfaceivNV.length is OUTPUT without known output size glVDPAUGetSurfaceivNV=wrapper.wrapper(glVDPAUGetSurfaceivNV).setOutput( - 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'values',size=lambda x:(x,),pnameArg='count',orPassIn=True ) # INPUT glVDPAUMapSurfacesNV.surfaces size not checked against numSurfaces glVDPAUMapSurfacesNV=wrapper.wrapper(glVDPAUMapSurfacesNV).setInputArraySize( diff --git a/OpenGL/GL/NV/vertex_program4.py b/OpenGL/GL/NV/vertex_program4.py index dcca9d89..5f99f549 100644 --- a/OpenGL/GL/NV/vertex_program4.py +++ b/OpenGL/GL/NV/vertex_program4.py @@ -82,10 +82,6 @@ def glInitVertexProgram4NV(): glVertexAttribI4usvEXT=wrapper.wrapper(glVertexAttribI4usvEXT).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribIPointerEXT.pointer size not checked against 'size,type,stride' -glVertexAttribIPointerEXT=wrapper.wrapper(glVertexAttribIPointerEXT).setInputArraySize( - 'pointer', None -) glGetVertexAttribIivEXT=wrapper.wrapper(glGetVertexAttribIivEXT).setOutput( 'params',size=(1,),orPassIn=True ) diff --git a/OpenGL/GL/VERSION/GL_1_3.py b/OpenGL/GL/VERSION/GL_1_3.py index 6f494960..b561257a 100644 --- a/OpenGL/GL/VERSION/GL_1_3.py +++ b/OpenGL/GL/VERSION/GL_1_3.py @@ -7,7 +7,6 @@ The official definition of this extension is available here: http://www.opengl.org/registry/specs/VERSION/GL_1_3.txt ''' - from OpenGL import platform, constant, arrays from OpenGL import extensions, wrapper import ctypes @@ -15,65 +14,94 @@ from OpenGL.raw.GL.VERSION.GL_1_3 import * from OpenGL.raw.GL.VERSION.GL_1_3 import _EXTENSION_NAME - def glInitGl13VERSION(): '''Return boolean indicating whether this extension is available''' from OpenGL import extensions - - return extensions.hasGLExtension(_EXTENSION_NAME) - + return extensions.hasGLExtension( _EXTENSION_NAME ) # INPUT glCompressedTexImage3D.data size not checked against imageSize -glCompressedTexImage3D = wrapper.wrapper(glCompressedTexImage3D).setInputArraySize( +glCompressedTexImage3D=wrapper.wrapper(glCompressedTexImage3D).setInputArraySize( 'data', None ) # INPUT glCompressedTexImage2D.data size not checked against imageSize -glCompressedTexImage2D = wrapper.wrapper(glCompressedTexImage2D).setInputArraySize( +glCompressedTexImage2D=wrapper.wrapper(glCompressedTexImage2D).setInputArraySize( 'data', None ) # INPUT glCompressedTexImage1D.data size not checked against imageSize -glCompressedTexImage1D = wrapper.wrapper(glCompressedTexImage1D).setInputArraySize( +glCompressedTexImage1D=wrapper.wrapper(glCompressedTexImage1D).setInputArraySize( 'data', None ) # INPUT glCompressedTexSubImage3D.data size not checked against imageSize -glCompressedTexSubImage3D = wrapper.wrapper( - glCompressedTexSubImage3D -).setInputArraySize('data', None) +glCompressedTexSubImage3D=wrapper.wrapper(glCompressedTexSubImage3D).setInputArraySize( + 'data', None +) # INPUT glCompressedTexSubImage2D.data size not checked against imageSize -glCompressedTexSubImage2D = wrapper.wrapper( - glCompressedTexSubImage2D -).setInputArraySize('data', None) +glCompressedTexSubImage2D=wrapper.wrapper(glCompressedTexSubImage2D).setInputArraySize( + 'data', None +) # INPUT glCompressedTexSubImage1D.data size not checked against imageSize -glCompressedTexSubImage1D = wrapper.wrapper( - glCompressedTexSubImage1D -).setInputArraySize('data', None) -# OUTPUT glGetCompressedTexImage.img COMPSIZE(target, level) -glMultiTexCoord1dv = wrapper.wrapper(glMultiTexCoord1dv).setInputArraySize('v', 1) -glMultiTexCoord1fv = wrapper.wrapper(glMultiTexCoord1fv).setInputArraySize('v', 1) -glMultiTexCoord1iv = wrapper.wrapper(glMultiTexCoord1iv).setInputArraySize('v', 1) -glMultiTexCoord1sv = wrapper.wrapper(glMultiTexCoord1sv).setInputArraySize('v', 1) -glMultiTexCoord2dv = wrapper.wrapper(glMultiTexCoord2dv).setInputArraySize('v', 2) -glMultiTexCoord2fv = wrapper.wrapper(glMultiTexCoord2fv).setInputArraySize('v', 2) -glMultiTexCoord2iv = wrapper.wrapper(glMultiTexCoord2iv).setInputArraySize('v', 2) -glMultiTexCoord2sv = wrapper.wrapper(glMultiTexCoord2sv).setInputArraySize('v', 2) -glMultiTexCoord3dv = wrapper.wrapper(glMultiTexCoord3dv).setInputArraySize('v', 3) -glMultiTexCoord3fv = wrapper.wrapper(glMultiTexCoord3fv).setInputArraySize('v', 3) -glMultiTexCoord3iv = wrapper.wrapper(glMultiTexCoord3iv).setInputArraySize('v', 3) -glMultiTexCoord3sv = wrapper.wrapper(glMultiTexCoord3sv).setInputArraySize('v', 3) -glMultiTexCoord4dv = wrapper.wrapper(glMultiTexCoord4dv).setInputArraySize('v', 4) -glMultiTexCoord4fv = wrapper.wrapper(glMultiTexCoord4fv).setInputArraySize('v', 4) -glMultiTexCoord4iv = wrapper.wrapper(glMultiTexCoord4iv).setInputArraySize('v', 4) -glMultiTexCoord4sv = wrapper.wrapper(glMultiTexCoord4sv).setInputArraySize('v', 4) -glLoadTransposeMatrixf = wrapper.wrapper(glLoadTransposeMatrixf).setInputArraySize( +glCompressedTexSubImage1D=wrapper.wrapper(glCompressedTexSubImage1D).setInputArraySize( + 'data', None +) +# OUTPUT glGetCompressedTexImage.img COMPSIZE(target, level) +glMultiTexCoord1dv=wrapper.wrapper(glMultiTexCoord1dv).setInputArraySize( + 'v', 1 +) +glMultiTexCoord1fv=wrapper.wrapper(glMultiTexCoord1fv).setInputArraySize( + 'v', 1 +) +glMultiTexCoord1iv=wrapper.wrapper(glMultiTexCoord1iv).setInputArraySize( + 'v', 1 +) +glMultiTexCoord1sv=wrapper.wrapper(glMultiTexCoord1sv).setInputArraySize( + 'v', 1 +) +glMultiTexCoord2dv=wrapper.wrapper(glMultiTexCoord2dv).setInputArraySize( + 'v', 2 +) +glMultiTexCoord2fv=wrapper.wrapper(glMultiTexCoord2fv).setInputArraySize( + 'v', 2 +) +glMultiTexCoord2iv=wrapper.wrapper(glMultiTexCoord2iv).setInputArraySize( + 'v', 2 +) +glMultiTexCoord2sv=wrapper.wrapper(glMultiTexCoord2sv).setInputArraySize( + 'v', 2 +) +glMultiTexCoord3dv=wrapper.wrapper(glMultiTexCoord3dv).setInputArraySize( + 'v', 3 +) +glMultiTexCoord3fv=wrapper.wrapper(glMultiTexCoord3fv).setInputArraySize( + 'v', 3 +) +glMultiTexCoord3iv=wrapper.wrapper(glMultiTexCoord3iv).setInputArraySize( + 'v', 3 +) +glMultiTexCoord3sv=wrapper.wrapper(glMultiTexCoord3sv).setInputArraySize( + 'v', 3 +) +glMultiTexCoord4dv=wrapper.wrapper(glMultiTexCoord4dv).setInputArraySize( + 'v', 4 +) +glMultiTexCoord4fv=wrapper.wrapper(glMultiTexCoord4fv).setInputArraySize( + 'v', 4 +) +glMultiTexCoord4iv=wrapper.wrapper(glMultiTexCoord4iv).setInputArraySize( + 'v', 4 +) +glMultiTexCoord4sv=wrapper.wrapper(glMultiTexCoord4sv).setInputArraySize( + 'v', 4 +) +glLoadTransposeMatrixf=wrapper.wrapper(glLoadTransposeMatrixf).setInputArraySize( 'm', 16 ) -glLoadTransposeMatrixd = wrapper.wrapper(glLoadTransposeMatrixd).setInputArraySize( +glLoadTransposeMatrixd=wrapper.wrapper(glLoadTransposeMatrixd).setInputArraySize( 'm', 16 ) -glMultTransposeMatrixf = wrapper.wrapper(glMultTransposeMatrixf).setInputArraySize( +glMultTransposeMatrixf=wrapper.wrapper(glMultTransposeMatrixf).setInputArraySize( 'm', 16 ) -glMultTransposeMatrixd = wrapper.wrapper(glMultTransposeMatrixd).setInputArraySize( +glMultTransposeMatrixd=wrapper.wrapper(glMultTransposeMatrixd).setInputArraySize( 'm', 16 ) ### END AUTOGENERATED SECTION diff --git a/OpenGL/GL/VERSION/GL_1_4.py b/OpenGL/GL/VERSION/GL_1_4.py index 21c70169..3f7121e5 100644 --- a/OpenGL/GL/VERSION/GL_1_4.py +++ b/OpenGL/GL/VERSION/GL_1_4.py @@ -19,15 +19,15 @@ def glInitGl14VERSION(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glMultiDrawArrays.count size not checked against 'drawcount' -# INPUT glMultiDrawArrays.first size not checked against 'count' +# INPUT glMultiDrawArrays.count size not checked against drawcount +# INPUT glMultiDrawArrays.first size not checked against drawcount glMultiDrawArrays=wrapper.wrapper(glMultiDrawArrays).setInputArraySize( 'count', None ).setInputArraySize( 'first', None ) -# INPUT glMultiDrawElements.count size not checked against 'drawcount' -# INPUT glMultiDrawElements.indices size not checked against 'drawcount' +# INPUT glMultiDrawElements.count size not checked against drawcount +# INPUT glMultiDrawElements.indices size not checked against drawcount glMultiDrawElements=wrapper.wrapper(glMultiDrawElements).setInputArraySize( 'count', None ).setInputArraySize( diff --git a/OpenGL/GL/VERSION/GL_2_0.py b/OpenGL/GL/VERSION/GL_2_0.py index d6a87072..f34bfda1 100644 --- a/OpenGL/GL/VERSION/GL_2_0.py +++ b/OpenGL/GL/VERSION/GL_2_0.py @@ -203,10 +203,6 @@ def glInitGl20VERSION(): glVertexAttrib4usv=wrapper.wrapper(glVertexAttrib4usv).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribPointer.pointer size not checked against 'size,type,stride' -glVertexAttribPointer=wrapper.wrapper(glVertexAttribPointer).setInputArraySize( - 'pointer', None -) ### END AUTOGENERATED SECTION import OpenGL from OpenGL import _configflags diff --git a/OpenGL/GL/VERSION/GL_3_0.py b/OpenGL/GL/VERSION/GL_3_0.py index fb4f0376..fd568fdb 100644 --- a/OpenGL/GL/VERSION/GL_3_0.py +++ b/OpenGL/GL/VERSION/GL_3_0.py @@ -38,10 +38,6 @@ def glInitGl30VERSION(): ).setOutput( 'type',size=(1,),orPassIn=True ) -# INPUT glVertexAttribIPointer.pointer size not checked against 'size,type,stride' -glVertexAttribIPointer=wrapper.wrapper(glVertexAttribIPointer).setInputArraySize( - 'pointer', None -) glGetVertexAttribIiv=wrapper.wrapper(glGetVertexAttribIiv).setOutput( 'params',size=(1,),orPassIn=True ) diff --git a/OpenGL/GL/VERSION/GL_3_2.py b/OpenGL/GL/VERSION/GL_3_2.py index a68cac64..9c227e73 100644 --- a/OpenGL/GL/VERSION/GL_3_2.py +++ b/OpenGL/GL/VERSION/GL_3_2.py @@ -31,9 +31,9 @@ def glInitGl32VERSION(): glDrawElementsInstancedBaseVertex=wrapper.wrapper(glDrawElementsInstancedBaseVertex).setInputArraySize( 'indices', None ) -# INPUT glMultiDrawElementsBaseVertex.basevertex size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertex.count size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertex.indices size not checked against 'drawcount' +# INPUT glMultiDrawElementsBaseVertex.basevertex size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertex.count size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertex.indices size not checked against drawcount glMultiDrawElementsBaseVertex=wrapper.wrapper(glMultiDrawElementsBaseVertex).setInputArraySize( 'basevertex', None ).setInputArraySize( @@ -47,7 +47,7 @@ def glInitGl32VERSION(): glGetSynciv=wrapper.wrapper(glGetSynciv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'values',size=lambda x:(x,),pnameArg='count',orPassIn=True ) glGetInteger64i_v=wrapper.wrapper(glGetInteger64i_v).setOutput( 'data',size=_glgets._glget_size_mapping,pnameArg='target',orPassIn=True diff --git a/OpenGL/GL/VERSION/GL_4_0.py b/OpenGL/GL/VERSION/GL_4_0.py index 829c3b64..e3ceb492 100644 --- a/OpenGL/GL/VERSION/GL_4_0.py +++ b/OpenGL/GL/VERSION/GL_4_0.py @@ -78,12 +78,12 @@ def glInitGl40VERSION(): glGetActiveSubroutineUniformName=wrapper.wrapper(glGetActiveSubroutineUniformName).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'name',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True + 'name',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) glGetActiveSubroutineName=wrapper.wrapper(glGetActiveSubroutineName).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'name',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True + 'name',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True ) # INPUT glUniformSubroutinesuiv.indices size not checked against count glUniformSubroutinesuiv=wrapper.wrapper(glUniformSubroutinesuiv).setInputArraySize( diff --git a/OpenGL/GL/VERSION/GL_4_1.py b/OpenGL/GL/VERSION/GL_4_1.py index a41470d5..005a9aff 100644 --- a/OpenGL/GL/VERSION/GL_4_1.py +++ b/OpenGL/GL/VERSION/GL_4_1.py @@ -209,10 +209,6 @@ def glInitGl41VERSION(): glVertexAttribL4dv=wrapper.wrapper(glVertexAttribL4dv).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribLPointer.pointer size not checked against size -glVertexAttribLPointer=wrapper.wrapper(glVertexAttribLPointer).setInputArraySize( - 'pointer', None -) glGetVertexAttribLdv=wrapper.wrapper(glGetVertexAttribLdv).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) diff --git a/OpenGL/GL/VERSION/GL_4_2.py b/OpenGL/GL/VERSION/GL_4_2.py index 97224a8e..322d77b2 100644 --- a/OpenGL/GL/VERSION/GL_4_2.py +++ b/OpenGL/GL/VERSION/GL_4_2.py @@ -28,7 +28,7 @@ def glInitGl42VERSION(): 'indices', None ) glGetInternalformativ=wrapper.wrapper(glGetInternalformativ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ) glGetActiveAtomicCounterBufferiv=wrapper.wrapper(glGetActiveAtomicCounterBufferiv).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True diff --git a/OpenGL/GL/VERSION/GL_4_3.py b/OpenGL/GL/VERSION/GL_4_3.py index c6fef267..8b383621 100644 --- a/OpenGL/GL/VERSION/GL_4_3.py +++ b/OpenGL/GL/VERSION/GL_4_3.py @@ -31,7 +31,7 @@ def glInitGl43VERSION(): 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) glGetInternalformati64v=wrapper.wrapper(glGetInternalformati64v).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ) # INPUT glInvalidateFramebuffer.attachments size not checked against numAttachments glInvalidateFramebuffer=wrapper.wrapper(glInvalidateFramebuffer).setInputArraySize( @@ -65,7 +65,7 @@ def glInitGl43VERSION(): glGetProgramResourceiv=wrapper.wrapper(glGetProgramResourceiv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ).setInputArraySize( 'props', None ) diff --git a/OpenGL/GL/VERSION/GL_4_5.py b/OpenGL/GL/VERSION/GL_4_5.py index ab5eb766..a853890d 100644 --- a/OpenGL/GL/VERSION/GL_4_5.py +++ b/OpenGL/GL/VERSION/GL_4_5.py @@ -31,14 +31,57 @@ def glInitGl45VERSION(): glNamedBufferStorage=wrapper.wrapper(glNamedBufferStorage).setInputArraySize( 'data', None ) -# INPUT glNamedBufferSubData.data size not checked against 'size' +# INPUT glNamedBufferData.data size not checked against size +glNamedBufferData=wrapper.wrapper(glNamedBufferData).setInputArraySize( + 'data', None +) +# INPUT glNamedBufferSubData.data size not checked against size glNamedBufferSubData=wrapper.wrapper(glNamedBufferSubData).setInputArraySize( 'data', None ) +# INPUT glClearNamedBufferData.data size not checked against 'format,type' +glClearNamedBufferData=wrapper.wrapper(glClearNamedBufferData).setInputArraySize( + 'data', None +) +# INPUT glClearNamedBufferSubData.data size not checked against 'format,type' +glClearNamedBufferSubData=wrapper.wrapper(glClearNamedBufferSubData).setInputArraySize( + 'data', None +) +glGetNamedBufferPointerv=wrapper.wrapper(glGetNamedBufferPointerv).setInputArraySize( + 'params', 1 +) +# INPUT glGetNamedBufferSubData.data size not checked against size +glGetNamedBufferSubData=wrapper.wrapper(glGetNamedBufferSubData).setInputArraySize( + 'data', None +) # INPUT glCreateFramebuffers.framebuffers size not checked against n glCreateFramebuffers=wrapper.wrapper(glCreateFramebuffers).setInputArraySize( 'framebuffers', None ) +# INPUT glNamedFramebufferDrawBuffers.bufs size not checked against n +glNamedFramebufferDrawBuffers=wrapper.wrapper(glNamedFramebufferDrawBuffers).setInputArraySize( + 'bufs', None +) +# INPUT glInvalidateNamedFramebufferData.attachments size not checked against numAttachments +glInvalidateNamedFramebufferData=wrapper.wrapper(glInvalidateNamedFramebufferData).setInputArraySize( + 'attachments', None +) +# INPUT glInvalidateNamedFramebufferSubData.attachments size not checked against numAttachments +glInvalidateNamedFramebufferSubData=wrapper.wrapper(glInvalidateNamedFramebufferSubData).setInputArraySize( + 'attachments', None +) +# INPUT glClearNamedFramebufferiv.value size not checked against 'buffer' +glClearNamedFramebufferiv=wrapper.wrapper(glClearNamedFramebufferiv).setInputArraySize( + 'value', None +) +# INPUT glClearNamedFramebufferuiv.value size not checked against 'buffer' +glClearNamedFramebufferuiv=wrapper.wrapper(glClearNamedFramebufferuiv).setInputArraySize( + 'value', None +) +# INPUT glClearNamedFramebufferfv.value size not checked against 'buffer' +glClearNamedFramebufferfv=wrapper.wrapper(glClearNamedFramebufferfv).setInputArraySize( + 'value', None +) # INPUT glCreateRenderbuffers.renderbuffers size not checked against n glCreateRenderbuffers=wrapper.wrapper(glCreateRenderbuffers).setInputArraySize( 'renderbuffers', None @@ -47,10 +90,56 @@ def glInitGl45VERSION(): glCreateTextures=wrapper.wrapper(glCreateTextures).setInputArraySize( 'textures', None ) +# INPUT glCompressedTextureSubImage1D.data size not checked against imageSize +glCompressedTextureSubImage1D=wrapper.wrapper(glCompressedTextureSubImage1D).setInputArraySize( + 'data', None +) +# INPUT glCompressedTextureSubImage2D.data size not checked against imageSize +glCompressedTextureSubImage2D=wrapper.wrapper(glCompressedTextureSubImage2D).setInputArraySize( + 'data', None +) +# INPUT glCompressedTextureSubImage3D.data size not checked against imageSize +glCompressedTextureSubImage3D=wrapper.wrapper(glCompressedTextureSubImage3D).setInputArraySize( + 'data', None +) +# INPUT glTextureParameterfv.param size not checked against 'pname' +glTextureParameterfv=wrapper.wrapper(glTextureParameterfv).setInputArraySize( + 'param', None +) +# INPUT glTextureParameterIiv.params size not checked against 'pname' +glTextureParameterIiv=wrapper.wrapper(glTextureParameterIiv).setInputArraySize( + 'params', None +) +# INPUT glTextureParameterIuiv.params size not checked against 'pname' +glTextureParameterIuiv=wrapper.wrapper(glTextureParameterIuiv).setInputArraySize( + 'params', None +) +# INPUT glTextureParameteriv.param size not checked against 'pname' +glTextureParameteriv=wrapper.wrapper(glTextureParameteriv).setInputArraySize( + 'param', None +) +# INPUT glGetTextureImage.pixels size not checked against bufSize +glGetTextureImage=wrapper.wrapper(glGetTextureImage).setInputArraySize( + 'pixels', None +) +# INPUT glGetCompressedTextureImage.pixels size not checked against bufSize +glGetCompressedTextureImage=wrapper.wrapper(glGetCompressedTextureImage).setInputArraySize( + 'pixels', None +) # INPUT glCreateVertexArrays.arrays size not checked against n glCreateVertexArrays=wrapper.wrapper(glCreateVertexArrays).setInputArraySize( 'arrays', None ) +# INPUT glVertexArrayVertexBuffers.buffers size not checked against count +# INPUT glVertexArrayVertexBuffers.offsets size not checked against count +# INPUT glVertexArrayVertexBuffers.strides size not checked against count +glVertexArrayVertexBuffers=wrapper.wrapper(glVertexArrayVertexBuffers).setInputArraySize( + 'buffers', None +).setInputArraySize( + 'offsets', None +).setInputArraySize( + 'strides', None +) # INPUT glCreateSamplers.samplers size not checked against n glCreateSamplers=wrapper.wrapper(glCreateSamplers).setInputArraySize( 'samplers', None @@ -63,28 +152,61 @@ def glInitGl45VERSION(): glCreateQueries=wrapper.wrapper(glCreateQueries).setInputArraySize( 'ids', None ) -# INPUT glGetnTexImage.pixels size not checked against bufSize -glGetnTexImage=wrapper.wrapper(glGetnTexImage).setInputArraySize( +# INPUT glGetTextureSubImage.pixels size not checked against bufSize +glGetTextureSubImage=wrapper.wrapper(glGetTextureSubImage).setInputArraySize( 'pixels', None ) -# INPUT glGetnUniformdv.params size not checked against bufSize -glGetnUniformdv=wrapper.wrapper(glGetnUniformdv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformfv.params size not checked against bufSize -glGetnUniformfv=wrapper.wrapper(glGetnUniformfv).setInputArraySize( - 'params', None +# INPUT glGetCompressedTextureSubImage.pixels size not checked against bufSize +glGetCompressedTextureSubImage=wrapper.wrapper(glGetCompressedTextureSubImage).setInputArraySize( + 'pixels', None ) -# INPUT glGetnUniformiv.params size not checked against bufSize -glGetnUniformiv=wrapper.wrapper(glGetnUniformiv).setInputArraySize( - 'params', None +# INPUT glGetnCompressedTexImage.pixels size not checked against bufSize +glGetnCompressedTexImage=wrapper.wrapper(glGetnCompressedTexImage).setInputArraySize( + 'pixels', None ) -# INPUT glGetnUniformuiv.params size not checked against bufSize -glGetnUniformuiv=wrapper.wrapper(glGetnUniformuiv).setInputArraySize( - 'params', None +# INPUT glGetnTexImage.pixels size not checked against bufSize +glGetnTexImage=wrapper.wrapper(glGetnTexImage).setInputArraySize( + 'pixels', None ) # INPUT glReadnPixels.data size not checked against bufSize glReadnPixels=wrapper.wrapper(glReadnPixels).setInputArraySize( 'data', None ) +# INPUT glGetnMapdv.v size not checked against 'bufSize' +glGetnMapdv=wrapper.wrapper(glGetnMapdv).setInputArraySize( + 'v', None +) +# INPUT glGetnPixelMapfv.values size not checked against 'bufSize' +glGetnPixelMapfv=wrapper.wrapper(glGetnPixelMapfv).setInputArraySize( + 'values', None +) +# INPUT glGetnPolygonStipple.pattern size not checked against bufSize +glGetnPolygonStipple=wrapper.wrapper(glGetnPolygonStipple).setInputArraySize( + 'pattern', None +) +# INPUT glGetnColorTable.table size not checked against bufSize +glGetnColorTable=wrapper.wrapper(glGetnColorTable).setInputArraySize( + 'table', None +) +# INPUT glGetnConvolutionFilter.image size not checked against bufSize +glGetnConvolutionFilter=wrapper.wrapper(glGetnConvolutionFilter).setInputArraySize( + 'image', None +) +# INPUT glGetnSeparableFilter.column size not checked against columnBufSize +# INPUT glGetnSeparableFilter.row size not checked against rowBufSize +glGetnSeparableFilter=wrapper.wrapper(glGetnSeparableFilter).setInputArraySize( + 'column', None +).setInputArraySize( + 'row', None +).setInputArraySize( + 'span', 0 +) +# INPUT glGetnHistogram.values size not checked against bufSize +glGetnHistogram=wrapper.wrapper(glGetnHistogram).setInputArraySize( + 'values', None +) +# INPUT glGetnMinmax.values size not checked against bufSize +glGetnMinmax=wrapper.wrapper(glGetnMinmax).setInputArraySize( + 'values', None +) ### END AUTOGENERATED SECTION diff --git a/OpenGL/GL/VERSION/GL_4_6.py b/OpenGL/GL/VERSION/GL_4_6.py index b406e3f0..9d4f77ea 100644 --- a/OpenGL/GL/VERSION/GL_4_6.py +++ b/OpenGL/GL/VERSION/GL_4_6.py @@ -19,5 +19,11 @@ def glInitGl46VERSION(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glSpecializeShader.pConstantIndex size not checked against numSpecializationConstants +# INPUT glSpecializeShader.pConstantValue size not checked against numSpecializationConstants +glSpecializeShader=wrapper.wrapper(glSpecializeShader).setInputArraySize( + 'pConstantIndex', None +).setInputArraySize( + 'pConstantValue', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES1/APPLE/sync.py b/OpenGL/GLES1/APPLE/sync.py index da276cc6..e2aa54df 100644 --- a/OpenGL/GLES1/APPLE/sync.py +++ b/OpenGL/GLES1/APPLE/sync.py @@ -41,7 +41,7 @@ def glInitSyncAPPLE(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glGetSyncivAPPLE.values size not checked against bufSize +# INPUT glGetSyncivAPPLE.values size not checked against count glGetSyncivAPPLE=wrapper.wrapper(glGetSyncivAPPLE).setInputArraySize( 'values', None ) diff --git a/OpenGL/GLES1/EXT/multi_draw_arrays.py b/OpenGL/GLES1/EXT/multi_draw_arrays.py index 8bc4456e..9552e649 100644 --- a/OpenGL/GLES1/EXT/multi_draw_arrays.py +++ b/OpenGL/GLES1/EXT/multi_draw_arrays.py @@ -27,15 +27,15 @@ def glInitMultiDrawArraysEXT(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glMultiDrawArraysEXT.count size not checked against 'primcount' -# INPUT glMultiDrawArraysEXT.first size not checked against 'primcount' +# INPUT glMultiDrawArraysEXT.count size not checked against primcount +# INPUT glMultiDrawArraysEXT.first size not checked against primcount glMultiDrawArraysEXT=wrapper.wrapper(glMultiDrawArraysEXT).setInputArraySize( 'count', None ).setInputArraySize( 'first', None ) -# INPUT glMultiDrawElementsEXT.count size not checked against 'primcount' -# INPUT glMultiDrawElementsEXT.indices size not checked against 'primcount' +# INPUT glMultiDrawElementsEXT.count size not checked against primcount +# INPUT glMultiDrawElementsEXT.indices size not checked against primcount glMultiDrawElementsEXT=wrapper.wrapper(glMultiDrawElementsEXT).setInputArraySize( 'count', None ).setInputArraySize( diff --git a/OpenGL/GLES1/EXT/robustness.py b/OpenGL/GLES1/EXT/robustness.py index 0933f45e..165ac129 100644 --- a/OpenGL/GLES1/EXT/robustness.py +++ b/OpenGL/GLES1/EXT/robustness.py @@ -78,12 +78,4 @@ def glInitRobustnessEXT(): glReadnPixelsEXT=wrapper.wrapper(glReadnPixelsEXT).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfvEXT.params size not checked against bufSize -glGetnUniformfvEXT=wrapper.wrapper(glGetnUniformfvEXT).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformivEXT.params size not checked against bufSize -glGetnUniformivEXT=wrapper.wrapper(glGetnUniformivEXT).setInputArraySize( - 'params', None -) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES1/EXT/texture_format_BGRA8888.py b/OpenGL/GLES1/EXT/texture_format_BGRA8888.py index 1708931a..21e15f8c 100644 --- a/OpenGL/GLES1/EXT/texture_format_BGRA8888.py +++ b/OpenGL/GLES1/EXT/texture_format_BGRA8888.py @@ -12,14 +12,14 @@ Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- - RGBA RGBA UNSIGNED_BYTE 4 - RGB RGB UNSIGNED_BYTE 3 - RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 - RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 - RGB RGB UNSIGNED_SHORT_5_6_5 2 - LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 - LUMINANCE LUMINANCE UNSIGNED_BYTE 1 - ALPHA ALPHA UNSIGNED_BYTE 1 + RGBA RGBA UNSIGNED_BYTE 4 + RGB RGB UNSIGNED_BYTE 3 + RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 + RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 + RGB RGB UNSIGNED_SHORT_5_6_5 2 + LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 + LUMINANCE LUMINANCE UNSIGNED_BYTE 1 + ALPHA ALPHA UNSIGNED_BYTE 1 This table is extended to include format BGRA_EXT and type UNSIGNED_BYTE: @@ -27,6 +27,7 @@ Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- BGRA_EXT BGRA_EXT UNSIGNED_BYTE 4 + BGRA8_EXT BGRA_EXT UNSIGNED_BYTE 4 RGBA RGBA UNSIGNED_BYTE 4 RGB RGB UNSIGNED_BYTE 3 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 diff --git a/OpenGL/GLES1/KHR/debug.py b/OpenGL/GLES1/KHR/debug.py index 9f3a60b6..a60e6fb6 100644 --- a/OpenGL/GLES1/KHR/debug.py +++ b/OpenGL/GLES1/KHR/debug.py @@ -203,4 +203,7 @@ def glInitDebugKHR(): ).setInputArraySize( 'length', 1 ) +glGetPointervKHR=wrapper.wrapper(glGetPointervKHR).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES1/OES/mapbuffer.py b/OpenGL/GLES1/OES/mapbuffer.py index 1b4e5fdd..d185b7d6 100644 --- a/OpenGL/GLES1/OES/mapbuffer.py +++ b/OpenGL/GLES1/OES/mapbuffer.py @@ -25,5 +25,7 @@ def glInitMapbufferOES(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +glGetBufferPointervOES=wrapper.wrapper(glGetBufferPointervOES).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES1/QCOM/extended_get.py b/OpenGL/GLES1/QCOM/extended_get.py index 2cc95c4e..b7b70fda 100644 --- a/OpenGL/GLES1/QCOM/extended_get.py +++ b/OpenGL/GLES1/QCOM/extended_get.py @@ -42,4 +42,7 @@ def glInitExtendedGetQCOM(): ).setInputArraySize( 'numFramebuffers', 1 ) +glExtGetBufferPointervQCOM=wrapper.wrapper(glExtGetBufferPointervQCOM).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES1/QCOM/extended_get2.py b/OpenGL/GLES1/QCOM/extended_get2.py index fd93b51f..9962dd0c 100644 --- a/OpenGL/GLES1/QCOM/extended_get2.py +++ b/OpenGL/GLES1/QCOM/extended_get2.py @@ -36,4 +36,8 @@ def glInitExtendedGet2QCOM(): ).setInputArraySize( 'programs', None ) +# INPUT glExtGetProgramBinarySourceQCOM.source size not checked against length +glExtGetProgramBinarySourceQCOM=wrapper.wrapper(glExtGetProgramBinarySourceQCOM).setInputArraySize( + 'source', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/AMD/performance_monitor.py b/OpenGL/GLES2/AMD/performance_monitor.py index d50a373b..839dad1a 100644 --- a/OpenGL/GLES2/AMD/performance_monitor.py +++ b/OpenGL/GLES2/AMD/performance_monitor.py @@ -66,6 +66,6 @@ def glInitPerformanceMonitorAMD(): glGetPerfMonitorCounterDataAMD=wrapper.wrapper(glGetPerfMonitorCounterDataAMD).setOutput( 'bytesWritten',size=(1,),orPassIn=True ).setOutput( - 'data',size=lambda x:(x,),pnameArg='dataSize',orPassIn=True + 'data',size=lambda x:(x,),pnameArg='dataSize / 4',orPassIn=True ) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/ANGLE/translated_shader_source.py b/OpenGL/GLES2/ANGLE/translated_shader_source.py index 84172572..bda8e03a 100644 --- a/OpenGL/GLES2/ANGLE/translated_shader_source.py +++ b/OpenGL/GLES2/ANGLE/translated_shader_source.py @@ -30,7 +30,10 @@ def glInitTranslatedShaderSourceANGLE(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) +# INPUT glGetTranslatedShaderSourceANGLE.source size not checked against bufSize glGetTranslatedShaderSourceANGLE=wrapper.wrapper(glGetTranslatedShaderSourceANGLE).setInputArraySize( 'length', 1 +).setInputArraySize( + 'source', None ) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/APPLE/sync.py b/OpenGL/GLES2/APPLE/sync.py index adc5f9a1..7c1fa756 100644 --- a/OpenGL/GLES2/APPLE/sync.py +++ b/OpenGL/GLES2/APPLE/sync.py @@ -41,7 +41,7 @@ def glInitSyncAPPLE(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glGetSyncivAPPLE.values size not checked against bufSize +# INPUT glGetSyncivAPPLE.values size not checked against count glGetSyncivAPPLE=wrapper.wrapper(glGetSyncivAPPLE).setInputArraySize( 'values', None ) diff --git a/OpenGL/GLES2/ES/VERSION_3_2.py b/OpenGL/GLES2/ES/VERSION_3_2.py index 34fb09e2..55281bb9 100644 --- a/OpenGL/GLES2/ES/VERSION_3_2.py +++ b/OpenGL/GLES2/ES/VERSION_3_2.py @@ -81,18 +81,6 @@ def glInitVersion32ES(): glReadnPixels=wrapper.wrapper(glReadnPixels).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfv.params size not checked against bufSize -glGetnUniformfv=wrapper.wrapper(glGetnUniformfv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformiv.params size not checked against bufSize -glGetnUniformiv=wrapper.wrapper(glGetnUniformiv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformuiv.params size not checked against bufSize -glGetnUniformuiv=wrapper.wrapper(glGetnUniformuiv).setInputArraySize( - 'params', None -) # INPUT glTexParameterIiv.params size not checked against 'pname' glTexParameterIiv=wrapper.wrapper(glTexParameterIiv).setInputArraySize( 'params', None diff --git a/OpenGL/GLES2/EXT/disjoint_timer_query.py b/OpenGL/GLES2/EXT/disjoint_timer_query.py index a01ff891..74bf3ce6 100644 --- a/OpenGL/GLES2/EXT/disjoint_timer_query.py +++ b/OpenGL/GLES2/EXT/disjoint_timer_query.py @@ -68,4 +68,8 @@ def glInitDisjointTimerQueryEXT(): glGetQueryObjectui64vEXT=wrapper.wrapper(glGetQueryObjectui64vEXT).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) +# INPUT glGetInteger64vEXT.data size not checked against 'pname' +glGetInteger64vEXT=wrapper.wrapper(glGetInteger64vEXT).setInputArraySize( + 'data', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/EXT/draw_elements_base_vertex.py b/OpenGL/GLES2/EXT/draw_elements_base_vertex.py index a3878d23..37a21db1 100644 --- a/OpenGL/GLES2/EXT/draw_elements_base_vertex.py +++ b/OpenGL/GLES2/EXT/draw_elements_base_vertex.py @@ -88,9 +88,9 @@ def glInitDrawElementsBaseVertexEXT(): glDrawElementsInstancedBaseVertexEXT=wrapper.wrapper(glDrawElementsInstancedBaseVertexEXT).setInputArraySize( 'indices', None ) -# INPUT glMultiDrawElementsBaseVertexEXT.basevertex size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertexEXT.count size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertexEXT.indices size not checked against 'drawcount' +# INPUT glMultiDrawElementsBaseVertexEXT.basevertex size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertexEXT.count size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertexEXT.indices size not checked against drawcount glMultiDrawElementsBaseVertexEXT=wrapper.wrapper(glMultiDrawElementsBaseVertexEXT).setInputArraySize( 'basevertex', None ).setInputArraySize( diff --git a/OpenGL/GLES2/EXT/multi_draw_arrays.py b/OpenGL/GLES2/EXT/multi_draw_arrays.py index 212bb846..868e3721 100644 --- a/OpenGL/GLES2/EXT/multi_draw_arrays.py +++ b/OpenGL/GLES2/EXT/multi_draw_arrays.py @@ -27,15 +27,15 @@ def glInitMultiDrawArraysEXT(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glMultiDrawArraysEXT.count size not checked against 'primcount' -# INPUT glMultiDrawArraysEXT.first size not checked against 'primcount' +# INPUT glMultiDrawArraysEXT.count size not checked against primcount +# INPUT glMultiDrawArraysEXT.first size not checked against primcount glMultiDrawArraysEXT=wrapper.wrapper(glMultiDrawArraysEXT).setInputArraySize( 'count', None ).setInputArraySize( 'first', None ) -# INPUT glMultiDrawElementsEXT.count size not checked against 'primcount' -# INPUT glMultiDrawElementsEXT.indices size not checked against 'primcount' +# INPUT glMultiDrawElementsEXT.count size not checked against primcount +# INPUT glMultiDrawElementsEXT.indices size not checked against primcount glMultiDrawElementsEXT=wrapper.wrapper(glMultiDrawElementsEXT).setInputArraySize( 'count', None ).setInputArraySize( diff --git a/OpenGL/GLES2/EXT/render_snorm.py b/OpenGL/GLES2/EXT/render_snorm.py index 6e597651..f8df7297 100644 --- a/OpenGL/GLES2/EXT/render_snorm.py +++ b/OpenGL/GLES2/EXT/render_snorm.py @@ -6,7 +6,7 @@ Overview (from the spec) - OpenGL ES 3.1 supports a variety of signed normalized texture and + OpenGL ES 3.0 supports a variety of signed normalized texture and renderbuffer formats which are not color-renderable. This extension enables signed normalized texture and renderbuffer diff --git a/OpenGL/GLES2/EXT/robustness.py b/OpenGL/GLES2/EXT/robustness.py index c0ce14fe..d520d56b 100644 --- a/OpenGL/GLES2/EXT/robustness.py +++ b/OpenGL/GLES2/EXT/robustness.py @@ -78,12 +78,4 @@ def glInitRobustnessEXT(): glReadnPixelsEXT=wrapper.wrapper(glReadnPixelsEXT).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfvEXT.params size not checked against bufSize -glGetnUniformfvEXT=wrapper.wrapper(glGetnUniformfvEXT).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformivEXT.params size not checked against bufSize -glGetnUniformivEXT=wrapper.wrapper(glGetnUniformivEXT).setInputArraySize( - 'params', None -) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/EXT/separate_shader_objects.py b/OpenGL/GLES2/EXT/separate_shader_objects.py index f0533cb9..f053e5b7 100644 --- a/OpenGL/GLES2/EXT/separate_shader_objects.py +++ b/OpenGL/GLES2/EXT/separate_shader_objects.py @@ -97,10 +97,6 @@ def glInitSeparateShaderObjectsEXT(): glProgramUniform4uivEXT=wrapper.wrapper(glProgramUniform4uivEXT).setInputArraySize( 'value', None ) -# INPUT glProgramUniformMatrix4fvEXT.value size not checked against count*16 -glProgramUniformMatrix4fvEXT=wrapper.wrapper(glProgramUniformMatrix4fvEXT).setInputArraySize( - 'value', None -) # INPUT glProgramUniformMatrix2x3fvEXT.value size not checked against count*6 glProgramUniformMatrix2x3fvEXT=wrapper.wrapper(glProgramUniformMatrix2x3fvEXT).setInputArraySize( 'value', None diff --git a/OpenGL/GLES2/EXT/texture_format_BGRA8888.py b/OpenGL/GLES2/EXT/texture_format_BGRA8888.py index b76bace9..f5ec0588 100644 --- a/OpenGL/GLES2/EXT/texture_format_BGRA8888.py +++ b/OpenGL/GLES2/EXT/texture_format_BGRA8888.py @@ -12,14 +12,14 @@ Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- - RGBA RGBA UNSIGNED_BYTE 4 - RGB RGB UNSIGNED_BYTE 3 - RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 - RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 - RGB RGB UNSIGNED_SHORT_5_6_5 2 - LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 - LUMINANCE LUMINANCE UNSIGNED_BYTE 1 - ALPHA ALPHA UNSIGNED_BYTE 1 + RGBA RGBA UNSIGNED_BYTE 4 + RGB RGB UNSIGNED_BYTE 3 + RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 + RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 + RGB RGB UNSIGNED_SHORT_5_6_5 2 + LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 + LUMINANCE LUMINANCE UNSIGNED_BYTE 1 + ALPHA ALPHA UNSIGNED_BYTE 1 This table is extended to include format BGRA_EXT and type UNSIGNED_BYTE: @@ -27,6 +27,7 @@ Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- BGRA_EXT BGRA_EXT UNSIGNED_BYTE 4 + BGRA8_EXT BGRA_EXT UNSIGNED_BYTE 4 RGBA RGBA UNSIGNED_BYTE 4 RGB RGB UNSIGNED_BYTE 3 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 diff --git a/OpenGL/GLES2/EXT/texture_norm16.py b/OpenGL/GLES2/EXT/texture_norm16.py index 1629565b..3fac51fa 100644 --- a/OpenGL/GLES2/EXT/texture_norm16.py +++ b/OpenGL/GLES2/EXT/texture_norm16.py @@ -6,7 +6,7 @@ Overview (from the spec) - OpenGL ES 3.1 supports 8-bit (signed) normalized textures. + OpenGL ES 3.0 supports 8-bit (signed) normalized textures. This extension provides a set of new 16 bit signed normalized and unsigned normalized fixed point texture, renderbuffer and diff --git a/OpenGL/GLES2/INTEL/performance_query.py b/OpenGL/GLES2/INTEL/performance_query.py index a102b886..c1e70bad 100644 --- a/OpenGL/GLES2/INTEL/performance_query.py +++ b/OpenGL/GLES2/INTEL/performance_query.py @@ -60,5 +60,15 @@ def glInitPerformanceQueryINTEL(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +# INPUT glGetPerfCounterInfoINTEL.counterDesc size not checked against counterDescLength +# INPUT glGetPerfCounterInfoINTEL.counterName size not checked against counterNameLength +glGetPerfCounterInfoINTEL=wrapper.wrapper(glGetPerfCounterInfoINTEL).setInputArraySize( + 'counterDesc', None +).setInputArraySize( + 'counterName', None +) +# INPUT glGetPerfQueryInfoINTEL.queryName size not checked against queryNameLength +glGetPerfQueryInfoINTEL=wrapper.wrapper(glGetPerfQueryInfoINTEL).setInputArraySize( + 'queryName', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/KHR/debug.py b/OpenGL/GLES2/KHR/debug.py index baf2d067..df216b8d 100644 --- a/OpenGL/GLES2/KHR/debug.py +++ b/OpenGL/GLES2/KHR/debug.py @@ -203,4 +203,7 @@ def glInitDebugKHR(): ).setInputArraySize( 'length', 1 ) +glGetPointervKHR=wrapper.wrapper(glGetPointervKHR).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/KHR/robustness.py b/OpenGL/GLES2/KHR/robustness.py index bfbbf361..66543cc1 100644 --- a/OpenGL/GLES2/KHR/robustness.py +++ b/OpenGL/GLES2/KHR/robustness.py @@ -80,32 +80,8 @@ def glInitRobustnessKHR(): glReadnPixels=wrapper.wrapper(glReadnPixels).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfv.params size not checked against bufSize -glGetnUniformfv=wrapper.wrapper(glGetnUniformfv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformiv.params size not checked against bufSize -glGetnUniformiv=wrapper.wrapper(glGetnUniformiv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformuiv.params size not checked against bufSize -glGetnUniformuiv=wrapper.wrapper(glGetnUniformuiv).setInputArraySize( - 'params', None -) # INPUT glReadnPixelsKHR.data size not checked against bufSize glReadnPixelsKHR=wrapper.wrapper(glReadnPixelsKHR).setInputArraySize( 'data', None ) -# INPUT glGetnUniformfvKHR.params size not checked against bufSize -glGetnUniformfvKHR=wrapper.wrapper(glGetnUniformfvKHR).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformivKHR.params size not checked against bufSize -glGetnUniformivKHR=wrapper.wrapper(glGetnUniformivKHR).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformuivKHR.params size not checked against bufSize -glGetnUniformuivKHR=wrapper.wrapper(glGetnUniformuivKHR).setInputArraySize( - 'params', None -) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/NV/internalformat_sample_query.py b/OpenGL/GLES2/NV/internalformat_sample_query.py index 951fc2bc..a113913d 100644 --- a/OpenGL/GLES2/NV/internalformat_sample_query.py +++ b/OpenGL/GLES2/NV/internalformat_sample_query.py @@ -57,7 +57,7 @@ def glInitInternalformatSampleQueryNV(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) -# INPUT glGetInternalformatSampleivNV.params size not checked against bufSize +# INPUT glGetInternalformatSampleivNV.params size not checked against count glGetInternalformatSampleivNV=wrapper.wrapper(glGetInternalformatSampleivNV).setInputArraySize( 'params', None ) diff --git a/OpenGL/GLES2/NV/path_rendering.py b/OpenGL/GLES2/NV/path_rendering.py index b693c453..31ca9911 100644 --- a/OpenGL/GLES2/NV/path_rendering.py +++ b/OpenGL/GLES2/NV/path_rendering.py @@ -517,6 +517,29 @@ def glInitPathRenderingNV(): ).setOutput( 'y',size=(1,),orPassIn=True ) +# INPUT glStencilThenCoverFillPathInstancedNV.paths size not checked against 'numPaths,pathNameType,paths' +# INPUT glStencilThenCoverFillPathInstancedNV.transformValues size not checked against 'numPaths,transformType' +glStencilThenCoverFillPathInstancedNV=wrapper.wrapper(glStencilThenCoverFillPathInstancedNV).setInputArraySize( + 'paths', None +).setInputArraySize( + 'transformValues', None +) +# INPUT glStencilThenCoverStrokePathInstancedNV.paths size not checked against 'numPaths,pathNameType,paths' +# INPUT glStencilThenCoverStrokePathInstancedNV.transformValues size not checked against 'numPaths,transformType' +glStencilThenCoverStrokePathInstancedNV=wrapper.wrapper(glStencilThenCoverStrokePathInstancedNV).setInputArraySize( + 'paths', None +).setInputArraySize( + 'transformValues', None +) +glPathGlyphIndexRangeNV=wrapper.wrapper(glPathGlyphIndexRangeNV).setInputArraySize( + 'baseAndCount', 2 +) +# INPUT glGetProgramResourcefvNV.params size not checked against count +glGetProgramResourcefvNV=wrapper.wrapper(glGetProgramResourcefvNV).setInputArraySize( + 'length', 1 +).setInputArraySize( + 'params', None +) # INPUT glPathColorGenNV.coeffs size not checked against 'genMode,colorFormat' glPathColorGenNV=wrapper.wrapper(glPathColorGenNV).setInputArraySize( 'coeffs', None diff --git a/OpenGL/GLES2/OES/draw_elements_base_vertex.py b/OpenGL/GLES2/OES/draw_elements_base_vertex.py index 1eea674b..14245b7c 100644 --- a/OpenGL/GLES2/OES/draw_elements_base_vertex.py +++ b/OpenGL/GLES2/OES/draw_elements_base_vertex.py @@ -88,9 +88,9 @@ def glInitDrawElementsBaseVertexOES(): glDrawElementsInstancedBaseVertexOES=wrapper.wrapper(glDrawElementsInstancedBaseVertexOES).setInputArraySize( 'indices', None ) -# INPUT glMultiDrawElementsBaseVertexEXT.basevertex size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertexEXT.count size not checked against 'drawcount' -# INPUT glMultiDrawElementsBaseVertexEXT.indices size not checked against 'drawcount' +# INPUT glMultiDrawElementsBaseVertexEXT.basevertex size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertexEXT.count size not checked against drawcount +# INPUT glMultiDrawElementsBaseVertexEXT.indices size not checked against drawcount glMultiDrawElementsBaseVertexEXT=wrapper.wrapper(glMultiDrawElementsBaseVertexEXT).setInputArraySize( 'basevertex', None ).setInputArraySize( diff --git a/OpenGL/GLES2/OES/mapbuffer.py b/OpenGL/GLES2/OES/mapbuffer.py index ab0b7672..dfcb8776 100644 --- a/OpenGL/GLES2/OES/mapbuffer.py +++ b/OpenGL/GLES2/OES/mapbuffer.py @@ -25,5 +25,7 @@ def glInitMapbufferOES(): from OpenGL import extensions return extensions.hasGLExtension( _EXTENSION_NAME ) - +glGetBufferPointervOES=wrapper.wrapper(glGetBufferPointervOES).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/QCOM/extended_get.py b/OpenGL/GLES2/QCOM/extended_get.py index aab8e99b..dc2282b4 100644 --- a/OpenGL/GLES2/QCOM/extended_get.py +++ b/OpenGL/GLES2/QCOM/extended_get.py @@ -42,4 +42,7 @@ def glInitExtendedGetQCOM(): ).setInputArraySize( 'numFramebuffers', 1 ) +glExtGetBufferPointervQCOM=wrapper.wrapper(glExtGetBufferPointervQCOM).setInputArraySize( + 'params', 1 +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/QCOM/extended_get2.py b/OpenGL/GLES2/QCOM/extended_get2.py index bbec74ae..ab17b8f1 100644 --- a/OpenGL/GLES2/QCOM/extended_get2.py +++ b/OpenGL/GLES2/QCOM/extended_get2.py @@ -36,4 +36,8 @@ def glInitExtendedGet2QCOM(): ).setInputArraySize( 'programs', None ) +# INPUT glExtGetProgramBinarySourceQCOM.source size not checked against length +glExtGetProgramBinarySourceQCOM=wrapper.wrapper(glExtGetProgramBinarySourceQCOM).setInputArraySize( + 'source', None +) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/GLES2/QCOM/shader_framebuffer_fetch_rate.py b/OpenGL/GLES2/QCOM/shader_framebuffer_fetch_rate.py index 90c2cac0..cff76865 100644 --- a/OpenGL/GLES2/QCOM/shader_framebuffer_fetch_rate.py +++ b/OpenGL/GLES2/QCOM/shader_framebuffer_fetch_rate.py @@ -14,7 +14,7 @@ will return a per-fragment value. This avoids the significant performance penalty that would otherwise be incurred with sample-rate shading. - The following built-ins are affected when the this extension is enabled: + The following built-ins are affected when this extension is enabled: gl_LastFragData (from EXT_shader_framebuffer_fetch) gl_LastFragDepthARM (from ARM_shader_framebuffer_fetch_depth_stencil) diff --git a/OpenGL/GLES2/VERSION/GLES2_2_0.py b/OpenGL/GLES2/VERSION/GLES2_2_0.py index cb4182ed..57cda60e 100644 --- a/OpenGL/GLES2/VERSION/GLES2_2_0.py +++ b/OpenGL/GLES2/VERSION/GLES2_2_0.py @@ -240,10 +240,6 @@ def glInitGles220VERSION(): glVertexAttrib4fv=wrapper.wrapper(glVertexAttrib4fv).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribPointer.pointer size not checked against 'size,type,stride' -glVertexAttribPointer=wrapper.wrapper(glVertexAttribPointer).setInputArraySize( - 'pointer', None -) ### END AUTOGENERATED SECTION from OpenGL import converters from OpenGL.lazywrapper import lazy as _lazy diff --git a/OpenGL/GLES3/VERSION/GLES3_3_0.py b/OpenGL/GLES3/VERSION/GLES3_3_0.py index d24ed5f6..f896282c 100644 --- a/OpenGL/GLES3/VERSION/GLES3_3_0.py +++ b/OpenGL/GLES3/VERSION/GLES3_3_0.py @@ -106,10 +106,6 @@ def glInitGles330VERSION(): ).setOutput( 'type',size=(1,),orPassIn=True ) -# INPUT glVertexAttribIPointer.pointer size not checked against 'size,type,stride' -glVertexAttribIPointer=wrapper.wrapper(glVertexAttribIPointer).setInputArraySize( - 'pointer', None -) glGetVertexAttribIiv=wrapper.wrapper(glGetVertexAttribIiv).setOutput( 'params',size=(1,),orPassIn=True ) @@ -186,7 +182,7 @@ def glInitGles330VERSION(): glGetSynciv=wrapper.wrapper(glGetSynciv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'values',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'values',size=lambda x:(x,),pnameArg='count',orPassIn=True ) glGetInteger64i_v=wrapper.wrapper(glGetInteger64i_v).setOutput( 'data',size=_glgets._glget_size_mapping,pnameArg='target',orPassIn=True @@ -242,7 +238,7 @@ def glInitGles330VERSION(): 'attachments', None ) glGetInternalformativ=wrapper.wrapper(glGetInternalformativ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ) ### END AUTOGENERATED SECTION diff --git a/OpenGL/GLES3/VERSION/GLES3_3_1.py b/OpenGL/GLES3/VERSION/GLES3_3_1.py index 1527cd75..e963c0fa 100644 --- a/OpenGL/GLES3/VERSION/GLES3_3_1.py +++ b/OpenGL/GLES3/VERSION/GLES3_3_1.py @@ -38,7 +38,7 @@ def glInitGles331VERSION(): glGetProgramResourceiv=wrapper.wrapper(glGetProgramResourceiv).setOutput( 'length',size=(1,),orPassIn=True ).setOutput( - 'params',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True + 'params',size=lambda x:(x,),pnameArg='count',orPassIn=True ).setInputArraySize( 'props', None ) diff --git a/OpenGL/GLSC2/SC/VERSION_2_0.py b/OpenGL/GLSC2/SC/VERSION_2_0.py index afcf094a..85e8c2a4 100644 --- a/OpenGL/GLSC2/SC/VERSION_2_0.py +++ b/OpenGL/GLSC2/SC/VERSION_2_0.py @@ -74,14 +74,6 @@ def glInitVersion20SC(): glGetTexParameteriv=wrapper.wrapper(glGetTexParameteriv).setOutput( 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True ) -# INPUT glGetnUniformfv.params size not checked against bufSize -glGetnUniformfv=wrapper.wrapper(glGetnUniformfv).setInputArraySize( - 'params', None -) -# INPUT glGetnUniformiv.params size not checked against bufSize -glGetnUniformiv=wrapper.wrapper(glGetnUniformiv).setInputArraySize( - 'params', None -) glGetVertexAttribfv=wrapper.wrapper(glGetVertexAttribfv).setOutput( 'params',size=(4,),orPassIn=True ) @@ -167,8 +159,4 @@ def glInitVersion20SC(): glVertexAttrib4fv=wrapper.wrapper(glVertexAttrib4fv).setInputArraySize( 'v', 4 ) -# INPUT glVertexAttribPointer.pointer size not checked against 'size,type,stride' -glVertexAttribPointer=wrapper.wrapper(glVertexAttribPointer).setInputArraySize( - 'pointer', None -) ### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/OpenGL/raw/GL/AMD/debug_output.py b/OpenGL/raw/GL/AMD/debug_output.py index 1515f0ab..be03eab1 100644 --- a/OpenGL/raw/GL/AMD/debug_output.py +++ b/OpenGL/raw/GL/AMD/debug_output.py @@ -36,4 +36,4 @@ def glDebugMessageEnableAMD(category,severity,count,ids,enabled):pass def glDebugMessageInsertAMD(category,severity,id,length,buf):pass @_f @_p.types(_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,arrays.GLuintArray,arrays.GLuintArray,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetDebugMessageLogAMD(count,bufsize,categories,severities,ids,lengths,message):pass +def glGetDebugMessageLogAMD(count,bufSize,categories,severities,ids,lengths,message):pass diff --git a/OpenGL/raw/GL/ARB/ES2_compatibility.py b/OpenGL/raw/GL/ARB/ES2_compatibility.py index 03b93ca4..ee7689a1 100644 --- a/OpenGL/raw/GL/ARB/ES2_compatibility.py +++ b/OpenGL/raw/GL/ARB/ES2_compatibility.py @@ -41,4 +41,4 @@ def glGetShaderPrecisionFormat(shadertype,precisiontype,range,precision):pass def glReleaseShaderCompiler():pass @_f @_p.types(None,_cs.GLsizei,arrays.GLuintArray,_cs.GLenum,ctypes.c_void_p,_cs.GLsizei) -def glShaderBinary(count,shaders,binaryformat,binary,length):pass +def glShaderBinary(count,shaders,binaryFormat,binary,length):pass diff --git a/OpenGL/raw/GL/ARB/internalformat_query.py b/OpenGL/raw/GL/ARB/internalformat_query.py index 0dc4bc8f..d6d9e9b3 100644 --- a/OpenGL/raw/GL/ARB/internalformat_query.py +++ b/OpenGL/raw/GL/ARB/internalformat_query.py @@ -14,4 +14,4 @@ def _f( function ): GL_NUM_SAMPLE_COUNTS=_C('GL_NUM_SAMPLE_COUNTS',0x9380) @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,_cs.GLsizei,arrays.GLintArray) -def glGetInternalformativ(target,internalformat,pname,bufSize,params):pass +def glGetInternalformativ(target,internalformat,pname,count,params):pass diff --git a/OpenGL/raw/GL/ARB/internalformat_query2.py b/OpenGL/raw/GL/ARB/internalformat_query2.py index d475a9ef..040fbd28 100644 --- a/OpenGL/raw/GL/ARB/internalformat_query2.py +++ b/OpenGL/raw/GL/ARB/internalformat_query2.py @@ -147,4 +147,4 @@ def _f( function ): GL_VIEW_COMPATIBILITY_CLASS=_C('GL_VIEW_COMPATIBILITY_CLASS',0x82B6) @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,_cs.GLsizei,arrays.GLint64Array) -def glGetInternalformati64v(target,internalformat,pname,bufSize,params):pass +def glGetInternalformati64v(target,internalformat,pname,count,params):pass diff --git a/OpenGL/raw/GL/ARB/program_interface_query.py b/OpenGL/raw/GL/ARB/program_interface_query.py index 13a0e547..8571139a 100644 --- a/OpenGL/raw/GL/ARB/program_interface_query.py +++ b/OpenGL/raw/GL/ARB/program_interface_query.py @@ -78,4 +78,4 @@ def glGetProgramResourceLocationIndex(program,programInterface,name):pass def glGetProgramResourceName(program,programInterface,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetProgramResourceiv(program,programInterface,index,propCount,props,bufSize,length,params):pass +def glGetProgramResourceiv(program,programInterface,index,propCount,props,count,length,params):pass diff --git a/OpenGL/raw/GL/ARB/shader_subroutine.py b/OpenGL/raw/GL/ARB/shader_subroutine.py index 088d77ce..8e82be1d 100644 --- a/OpenGL/raw/GL/ARB/shader_subroutine.py +++ b/OpenGL/raw/GL/ARB/shader_subroutine.py @@ -24,10 +24,10 @@ def _f( function ): GL_UNIFORM_SIZE=_C('GL_UNIFORM_SIZE',0x8A38) @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetActiveSubroutineName(program,shadertype,index,bufsize,length,name):pass +def glGetActiveSubroutineName(program,shadertype,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetActiveSubroutineUniformName(program,shadertype,index,bufsize,length,name):pass +def glGetActiveSubroutineUniformName(program,shadertype,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLenum,arrays.GLintArray) def glGetActiveSubroutineUniformiv(program,shadertype,index,pname,values):pass diff --git a/OpenGL/raw/GL/ARB/sync.py b/OpenGL/raw/GL/ARB/sync.py index 6d00b9ec..884d90b6 100644 --- a/OpenGL/raw/GL/ARB/sync.py +++ b/OpenGL/raw/GL/ARB/sync.py @@ -40,7 +40,7 @@ def glFenceSync(condition,flags):pass def glGetInteger64v(pname,data):pass @_f @_p.types(None,_cs.GLsync,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetSynciv(sync,pname,bufSize,length,values):pass +def glGetSynciv(sync,pname,count,length,values):pass @_f @_p.types(_cs.GLboolean,_cs.GLsync) def glIsSync(sync):pass diff --git a/OpenGL/raw/GL/ARB/viewport_array.py b/OpenGL/raw/GL/ARB/viewport_array.py index 1c59642b..57dcc13a 100644 --- a/OpenGL/raw/GL/ARB/viewport_array.py +++ b/OpenGL/raw/GL/ARB/viewport_array.py @@ -26,11 +26,17 @@ def _f( function ): GL_VIEWPORT_SUBPIXEL_BITS=_C('GL_VIEWPORT_SUBPIXEL_BITS',0x825C) @_f @_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLdoubleArray) +def glDepthRangeArraydvNV(first,count,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLdoubleArray) def glDepthRangeArrayv(first,count,v):pass @_f @_p.types(None,_cs.GLuint,_cs.GLdouble,_cs.GLdouble) def glDepthRangeIndexed(index,n,f):pass @_f +@_p.types(None,_cs.GLuint,_cs.GLdouble,_cs.GLdouble) +def glDepthRangeIndexeddNV(index,n,f):pass +@_f @_p.types(None,_cs.GLenum,_cs.GLuint,arrays.GLdoubleArray) def glGetDoublei_v(target,index,data):pass @_f diff --git a/OpenGL/raw/GL/EXT/gpu_shader4.py b/OpenGL/raw/GL/EXT/gpu_shader4.py index 4cdf3ea5..7c45f886 100644 --- a/OpenGL/raw/GL/EXT/gpu_shader4.py +++ b/OpenGL/raw/GL/EXT/gpu_shader4.py @@ -49,6 +49,12 @@ def glGetFragDataLocationEXT(program,name):pass @_p.types(None,_cs.GLuint,_cs.GLint,arrays.GLuintArray) def glGetUniformuivEXT(program,location,params):pass @_f +@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray) +def glGetVertexAttribIivEXT(index,pname,params):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLuintArray) +def glGetVertexAttribIuivEXT(index,pname,params):pass +@_f @_p.types(None,_cs.GLint,_cs.GLuint) def glUniform1uiEXT(location,v0):pass @_f @@ -72,3 +78,66 @@ def glUniform4uiEXT(location,v0,v1,v2,v3):pass @_f @_p.types(None,_cs.GLint,_cs.GLsizei,arrays.GLuintArray) def glUniform4uivEXT(location,count,value):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLint) +def glVertexAttribI1iEXT(index,x):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLintArray) +def glVertexAttribI1ivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLuint) +def glVertexAttribI1uiEXT(index,x):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLuintArray) +def glVertexAttribI1uivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint) +def glVertexAttribI2iEXT(index,x,y):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLintArray) +def glVertexAttribI2ivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint) +def glVertexAttribI2uiEXT(index,x,y):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLuintArray) +def glVertexAttribI2uivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint) +def glVertexAttribI3iEXT(index,x,y,z):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLintArray) +def glVertexAttribI3ivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLuint) +def glVertexAttribI3uiEXT(index,x,y,z):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLuintArray) +def glVertexAttribI3uivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLbyteArray) +def glVertexAttribI4bvEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint) +def glVertexAttribI4iEXT(index,x,y,z,w):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLintArray) +def glVertexAttribI4ivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLshortArray) +def glVertexAttribI4svEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLubyteArray) +def glVertexAttribI4ubvEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLuint) +def glVertexAttribI4uiEXT(index,x,y,z,w):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLuintArray) +def glVertexAttribI4uivEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,arrays.GLushortArray) +def glVertexAttribI4usvEXT(index,v):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p) +def glVertexAttribIPointerEXT(index,size,type,stride,pointer):pass diff --git a/OpenGL/raw/GL/EXT/separate_shader_objects.py b/OpenGL/raw/GL/EXT/separate_shader_objects.py index 2262cc66..0ef15c55 100644 --- a/OpenGL/raw/GL/EXT/separate_shader_objects.py +++ b/OpenGL/raw/GL/EXT/separate_shader_objects.py @@ -146,9 +146,6 @@ def glProgramUniformMatrix3x4fvEXT(program,location,count,transpose,value):pass def glProgramUniformMatrix4fvEXT(program,location,count,transpose,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) -def glProgramUniformMatrix4fvEXT(program,location,count,transpose,value):pass -@_f -@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) def glProgramUniformMatrix4x2fvEXT(program,location,count,transpose,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) diff --git a/OpenGL/raw/GL/NV/conservative_raster_pre_snap_triangles.py b/OpenGL/raw/GL/NV/conservative_raster_pre_snap_triangles.py index 428452e5..819ce089 100644 --- a/OpenGL/raw/GL/NV/conservative_raster_pre_snap_triangles.py +++ b/OpenGL/raw/GL/NV/conservative_raster_pre_snap_triangles.py @@ -12,7 +12,6 @@ def _f( function ): return _p.createFunction( function,_p.PLATFORM.GL,'GL_NV_conservative_raster_pre_snap_triangles',error_checker=_errors._error_checker) GL_CONSERVATIVE_RASTER_MODE_NV=_C('GL_CONSERVATIVE_RASTER_MODE_NV',0x954D) -GL_CONSERVATIVE_RASTER_MODE_NV=_C('GL_CONSERVATIVE_RASTER_MODE_NV',0x954D) GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV=_C('GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV',0x954E) GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV=_C('GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV',0x954F) @_f diff --git a/OpenGL/raw/GL/NV/framebuffer_mixed_samples.py b/OpenGL/raw/GL/NV/framebuffer_mixed_samples.py index 8a31f299..5b64f6eb 100644 --- a/OpenGL/raw/GL/NV/framebuffer_mixed_samples.py +++ b/OpenGL/raw/GL/NV/framebuffer_mixed_samples.py @@ -33,7 +33,7 @@ def glCoverageModulationNV(components):pass def glCoverageModulationTableNV(n,v):pass @_f @_p.types(None,_cs.GLsizei,arrays.GLfloatArray) -def glGetCoverageModulationTableNV(bufsize,v):pass +def glGetCoverageModulationTableNV(bufSize,v):pass @_f @_p.types(None,_cs.GLuint,_cs.GLboolean) def glRasterSamplesEXT(samples,fixedsamplelocations):pass diff --git a/OpenGL/raw/GL/NV/internalformat_sample_query.py b/OpenGL/raw/GL/NV/internalformat_sample_query.py index 534b1122..3e102228 100644 --- a/OpenGL/raw/GL/NV/internalformat_sample_query.py +++ b/OpenGL/raw/GL/NV/internalformat_sample_query.py @@ -20,4 +20,4 @@ def _f( function ): GL_TEXTURE_2D_MULTISAMPLE_ARRAY=_C('GL_TEXTURE_2D_MULTISAMPLE_ARRAY',0x9102) @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,arrays.GLintArray) -def glGetInternalformatSampleivNV(target,internalformat,samples,pname,bufSize,params):pass +def glGetInternalformatSampleivNV(target,internalformat,samples,pname,count,params):pass diff --git a/OpenGL/raw/GL/NV/path_rendering.py b/OpenGL/raw/GL/NV/path_rendering.py index b9b03d27..578c5f38 100644 --- a/OpenGL/raw/GL/NV/path_rendering.py +++ b/OpenGL/raw/GL/NV/path_rendering.py @@ -237,7 +237,7 @@ def glGetPathTexGenfvNV(texCoordSet,pname,value):pass def glGetPathTexGenivNV(texCoordSet,pname,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLfloatArray) -def glGetProgramResourcefvNV(program,programInterface,index,propCount,props,bufSize,length,params):pass +def glGetProgramResourcefvNV(program,programInterface,index,propCount,props,count,length,params):pass @_f @_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLfloat) def glInterpolatePathsNV(resultPath,pathA,pathB,weight):pass @@ -347,7 +347,7 @@ def glPathFogGenNV(genMode):pass @_p.types(_cs.GLenum,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLuint,_cs.GLfloat) def glPathGlyphIndexArrayNV(firstPathName,fontTarget,fontName,fontStyle,firstGlyphIndex,numGlyphs,pathParameterTemplate,emScale):pass @_f -@_p.types(_cs.GLenum,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLfloat,_cs.GLuint) +@_p.types(_cs.GLenum,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLfloat,arrays.GLuintArray) def glPathGlyphIndexRangeNV(fontTarget,fontName,fontStyle,pathParameterTemplate,emScale,baseAndCount):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLuint,_cs.GLfloat) diff --git a/OpenGL/raw/GL/NV/query_resource.py b/OpenGL/raw/GL/NV/query_resource.py index fb97908e..6a3a0814 100644 --- a/OpenGL/raw/GL/NV/query_resource.py +++ b/OpenGL/raw/GL/NV/query_resource.py @@ -19,4 +19,4 @@ def _f( function ): GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV=_C('GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV',0x9540) @_f @_p.types(_cs.GLint,_cs.GLenum,_cs.GLint,_cs.GLuint,arrays.GLintArray) -def glQueryResourceNV(queryType,tagId,bufSize,buffer):pass +def glQueryResourceNV(queryType,tagId,count,buffer):pass diff --git a/OpenGL/raw/GL/NV/shading_rate_image.py b/OpenGL/raw/GL/NV/shading_rate_image.py index 3fed3ec6..b32016c8 100644 --- a/OpenGL/raw/GL/NV/shading_rate_image.py +++ b/OpenGL/raw/GL/NV/shading_rate_image.py @@ -45,9 +45,6 @@ def glGetShadingRateSampleLocationivNV(rate,samples,index,location):pass @_p.types(None,_cs.GLboolean) def glShadingRateImageBarrierNV(synchronize):pass @_f -@_p.types(None,_cs.GLboolean) -def glShadingRateImageBarrierNV(synchronize):pass -@_f @_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray) def glShadingRateImagePaletteNV(viewport,first,count,rates):pass @_f diff --git a/OpenGL/raw/GL/NV/vdpau_interop.py b/OpenGL/raw/GL/NV/vdpau_interop.py index e16b4ca2..4e79f508 100644 --- a/OpenGL/raw/GL/NV/vdpau_interop.py +++ b/OpenGL/raw/GL/NV/vdpau_interop.py @@ -20,7 +20,7 @@ def _f( function ): def glVDPAUFiniNV():pass @_f @_p.types(None,_cs.GLvdpauSurfaceNV,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glVDPAUGetSurfaceivNV(surface,pname,bufSize,length,values):pass +def glVDPAUGetSurfaceivNV(surface,pname,count,length,values):pass @_f @_p.types(None,ctypes.c_void_p,ctypes.c_void_p) def glVDPAUInitNV(vdpDevice,getProcAddress):pass diff --git a/OpenGL/raw/GL/OVR/multiview.py b/OpenGL/raw/GL/OVR/multiview.py index 3a6e0079..605bf95a 100644 --- a/OpenGL/raw/GL/OVR/multiview.py +++ b/OpenGL/raw/GL/OVR/multiview.py @@ -18,3 +18,6 @@ def _f( function ): @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei) def glFramebufferTextureMultiviewOVR(target,attachment,texture,level,baseViewIndex,numViews):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei) +def glNamedFramebufferTextureMultiviewOVR(framebuffer,attachment,texture,level,baseViewIndex,numViews):pass diff --git a/OpenGL/raw/GL/VERSION/GL_3_2.py b/OpenGL/raw/GL/VERSION/GL_3_2.py index aeb0adfc..9d7665fb 100644 --- a/OpenGL/raw/GL/VERSION/GL_3_2.py +++ b/OpenGL/raw/GL/VERSION/GL_3_2.py @@ -110,7 +110,7 @@ def glGetInteger64v(pname,data):pass def glGetMultisamplefv(pname,index,val):pass @_f @_p.types(None,_cs.GLsync,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetSynciv(sync,pname,bufSize,length,values):pass +def glGetSynciv(sync,pname,count,length,values):pass @_f @_p.types(_cs.GLboolean,_cs.GLsync) def glIsSync(sync):pass diff --git a/OpenGL/raw/GL/VERSION/GL_4_0.py b/OpenGL/raw/GL/VERSION/GL_4_0.py index 8b4d815d..11cd871a 100644 --- a/OpenGL/raw/GL/VERSION/GL_4_0.py +++ b/OpenGL/raw/GL/VERSION/GL_4_0.py @@ -131,10 +131,10 @@ def glEndQueryIndexed(target,index):pass def glGenTransformFeedbacks(n,ids):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetActiveSubroutineName(program,shadertype,index,bufsize,length,name):pass +def glGetActiveSubroutineName(program,shadertype,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetActiveSubroutineUniformName(program,shadertype,index,bufsize,length,name):pass +def glGetActiveSubroutineUniformName(program,shadertype,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLenum,arrays.GLintArray) def glGetActiveSubroutineUniformiv(program,shadertype,index,pname,values):pass diff --git a/OpenGL/raw/GL/VERSION/GL_4_1.py b/OpenGL/raw/GL/VERSION/GL_4_1.py index 808b2c75..b20960da 100644 --- a/OpenGL/raw/GL/VERSION/GL_4_1.py +++ b/OpenGL/raw/GL/VERSION/GL_4_1.py @@ -270,7 +270,7 @@ def glScissorIndexed(index,left,bottom,width,height):pass def glScissorIndexedv(index,v):pass @_f @_p.types(None,_cs.GLsizei,arrays.GLuintArray,_cs.GLenum,ctypes.c_void_p,_cs.GLsizei) -def glShaderBinary(count,shaders,binaryformat,binary,length):pass +def glShaderBinary(count,shaders,binaryFormat,binary,length):pass @_f @_p.types(None,_cs.GLuint,_cs.GLbitfield,_cs.GLuint) def glUseProgramStages(pipeline,stages,program):pass diff --git a/OpenGL/raw/GL/VERSION/GL_4_2.py b/OpenGL/raw/GL/VERSION/GL_4_2.py index 09783f25..40ff2438 100644 --- a/OpenGL/raw/GL/VERSION/GL_4_2.py +++ b/OpenGL/raw/GL/VERSION/GL_4_2.py @@ -146,7 +146,7 @@ def glDrawTransformFeedbackStreamInstanced(mode,id,stream,instancecount):pass def glGetActiveAtomicCounterBufferiv(program,bufferIndex,pname,params):pass @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,_cs.GLsizei,arrays.GLintArray) -def glGetInternalformativ(target,internalformat,pname,bufSize,params):pass +def glGetInternalformativ(target,internalformat,pname,count,params):pass @_f @_p.types(None,_cs.GLbitfield) def glMemoryBarrier(barriers):pass diff --git a/OpenGL/raw/GL/VERSION/GL_4_3.py b/OpenGL/raw/GL/VERSION/GL_4_3.py index ad98a98b..df512507 100644 --- a/OpenGL/raw/GL/VERSION/GL_4_3.py +++ b/OpenGL/raw/GL/VERSION/GL_4_3.py @@ -311,7 +311,7 @@ def glGetDebugMessageLog(count,bufSize,sources,types,ids,severities,lengths,mess def glGetFramebufferParameteriv(target,pname,params):pass @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,_cs.GLsizei,arrays.GLint64Array) -def glGetInternalformati64v(target,internalformat,pname,bufSize,params):pass +def glGetInternalformati64v(target,internalformat,pname,count,params):pass @_f @_p.types(None,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) def glGetObjectLabel(identifier,name,bufSize,length,label):pass @@ -338,7 +338,7 @@ def glGetProgramResourceLocationIndex(program,programInterface,name):pass def glGetProgramResourceName(program,programInterface,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetProgramResourceiv(program,programInterface,index,propCount,props,bufSize,length,params):pass +def glGetProgramResourceiv(program,programInterface,index,propCount,props,count,length,params):pass @_f @_p.types(None,_cs.GLuint) def glInvalidateBufferData(buffer):pass diff --git a/OpenGL/raw/GL/VERSION/GL_4_5.py b/OpenGL/raw/GL/VERSION/GL_4_5.py index e85ceb32..1e638725 100644 --- a/OpenGL/raw/GL/VERSION/GL_4_5.py +++ b/OpenGL/raw/GL/VERSION/GL_4_5.py @@ -14,27 +14,39 @@ def _f( function ): GL_BACK=_C('GL_BACK',0x0405) GL_CLIP_DEPTH_MODE=_C('GL_CLIP_DEPTH_MODE',0x935D) GL_CLIP_ORIGIN=_C('GL_CLIP_ORIGIN',0x935C) +GL_COLOR_TABLE=_C('GL_COLOR_TABLE',0x80D0) GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT=_C('GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT',0x00000004) GL_CONTEXT_LOST=_C('GL_CONTEXT_LOST',0x0507) GL_CONTEXT_LOST=_C('GL_CONTEXT_LOST',0x0507) GL_CONTEXT_RELEASE_BEHAVIOR=_C('GL_CONTEXT_RELEASE_BEHAVIOR',0x82FB) GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH=_C('GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH',0x82FC) +GL_CONVOLUTION_1D=_C('GL_CONVOLUTION_1D',0x8010) +GL_CONVOLUTION_2D=_C('GL_CONVOLUTION_2D',0x8011) GL_GUILTY_CONTEXT_RESET=_C('GL_GUILTY_CONTEXT_RESET',0x8253) +GL_HISTOGRAM=_C('GL_HISTOGRAM',0x8024) GL_INNOCENT_CONTEXT_RESET=_C('GL_INNOCENT_CONTEXT_RESET',0x8254) GL_LOSE_CONTEXT_ON_RESET=_C('GL_LOSE_CONTEXT_ON_RESET',0x8252) GL_LOWER_LEFT=_C('GL_LOWER_LEFT',0x8CA1) GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES=_C('GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES',0x82FA) GL_MAX_CULL_DISTANCES=_C('GL_MAX_CULL_DISTANCES',0x82F9) +GL_MINMAX=_C('GL_MINMAX',0x802E) GL_NEGATIVE_ONE_TO_ONE=_C('GL_NEGATIVE_ONE_TO_ONE',0x935E) GL_NONE=_C('GL_NONE',0) GL_NO_ERROR=_C('GL_NO_ERROR',0) GL_NO_RESET_NOTIFICATION=_C('GL_NO_RESET_NOTIFICATION',0x8261) +GL_POST_COLOR_MATRIX_COLOR_TABLE=_C('GL_POST_COLOR_MATRIX_COLOR_TABLE',0x80D2) +GL_POST_CONVOLUTION_COLOR_TABLE=_C('GL_POST_CONVOLUTION_COLOR_TABLE',0x80D1) +GL_PROXY_COLOR_TABLE=_C('GL_PROXY_COLOR_TABLE',0x80D3) +GL_PROXY_HISTOGRAM=_C('GL_PROXY_HISTOGRAM',0x8025) +GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE=_C('GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE',0x80D5) +GL_PROXY_POST_CONVOLUTION_COLOR_TABLE=_C('GL_PROXY_POST_CONVOLUTION_COLOR_TABLE',0x80D4) GL_QUERY_BY_REGION_NO_WAIT_INVERTED=_C('GL_QUERY_BY_REGION_NO_WAIT_INVERTED',0x8E1A) GL_QUERY_BY_REGION_WAIT_INVERTED=_C('GL_QUERY_BY_REGION_WAIT_INVERTED',0x8E19) GL_QUERY_NO_WAIT_INVERTED=_C('GL_QUERY_NO_WAIT_INVERTED',0x8E18) GL_QUERY_TARGET=_C('GL_QUERY_TARGET',0x82EA) GL_QUERY_WAIT_INVERTED=_C('GL_QUERY_WAIT_INVERTED',0x8E17) GL_RESET_NOTIFICATION_STRATEGY=_C('GL_RESET_NOTIFICATION_STRATEGY',0x8256) +GL_SEPARABLE_2D=_C('GL_SEPARABLE_2D',0x8012) GL_TEXTURE_BINDING_1D=_C('GL_TEXTURE_BINDING_1D',0x8068) GL_TEXTURE_BINDING_1D_ARRAY=_C('GL_TEXTURE_BINDING_1D_ARRAY',0x8C1C) GL_TEXTURE_BINDING_2D=_C('GL_TEXTURE_BINDING_2D',0x8069) diff --git a/OpenGL/raw/GL/_glgets.py b/OpenGL/raw/GL/_glgets.py index f7bcc317..9b76fb1c 100644 --- a/OpenGL/raw/GL/_glgets.py +++ b/OpenGL/raw/GL/_glgets.py @@ -5,139 +5,6 @@ def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {} -# _m[0x8892] = TODO # GL_ARRAY_BUFFER -# _m[0x92C0] = TODO # GL_ATOMIC_COUNTER_BUFFER -# _m[0x8777] = TODO # GL_BUMP_NUM_TEX_UNITS_ATI -# _m[0x8775] = TODO # GL_BUMP_ROT_MATRIX_ATI -# _m[0x8776] = TODO # GL_BUMP_ROT_MATRIX_SIZE_ATI -# _m[0x8778] = TODO # GL_BUMP_TEX_UNITS_ATI -# _m[0x0A00] = TODO # GL_COEFF -# _m[0x8576] = TODO # GL_CONSTANT -# _m[0x8095] = TODO # GL_DETAIL_TEXTURE_2D_SGIS -# _m[0x809C] = TODO # GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS -# _m[0x809A] = TODO # GL_DETAIL_TEXTURE_LEVEL_SGIS -# _m[0x809B] = TODO # GL_DETAIL_TEXTURE_MODE_SGIS -# _m[0x9599] = TODO # GL_DEVICE_LUID_EXT -# _m[0x959A] = TODO # GL_DEVICE_NODE_MASK_EXT -# _m[0x9597] = TODO # GL_DEVICE_UUID_EXT -# _m[0x90EE] = TODO # GL_DISPATCH_INDIRECT_BUFFER -# _m[0x0A02] = TODO # GL_DOMAIN -# _m[0x8F3F] = TODO # GL_DRAW_INDIRECT_BUFFER -# _m[0x9598] = TODO # GL_DRIVER_UUID_EXT -# _m[0x8124] = TODO # GL_DUAL_TEXTURE_SELECT_SGIS -# _m[0x8893] = TODO # GL_ELEMENT_ARRAY_BUFFER -# _m[0x86C0] = TODO # GL_EVAL_2D_NV -# _m[0x86C1] = TODO # GL_EVAL_TRIANGULAR_2D_NV -# _m[0x2400] = TODO # GL_EYE_LINEAR -# _m[0x8210] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT -# _m[0x8211] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES -# _m[0x8191] = TODO # GL_GENERATE_MIPMAP_SGIS -# _m[0x8917] = TODO # GL_GEOMETRY_INPUT_TYPE -# _m[0x8918] = TODO # GL_GEOMETRY_OUTPUT_TYPE -# _m[0x8916] = TODO # GL_GEOMETRY_VERTICES_OUT -# _m[0x815E] = TODO # GL_IMAGE_CUBIC_WEIGHT_HP -# _m[0x815C] = TODO # GL_IMAGE_MAG_FILTER_HP -# _m[0x815D] = TODO # GL_IMAGE_MIN_FILTER_HP -# _m[0x8159] = TODO # GL_IMAGE_ROTATE_ANGLE_HP -# _m[0x815A] = TODO # GL_IMAGE_ROTATE_ORIGIN_X_HP -# _m[0x815B] = TODO # GL_IMAGE_ROTATE_ORIGIN_Y_HP -# _m[0x8155] = TODO # GL_IMAGE_SCALE_X_HP -# _m[0x8156] = TODO # GL_IMAGE_SCALE_Y_HP -# _m[0x8157] = TODO # GL_IMAGE_TRANSLATE_X_HP -# _m[0x8158] = TODO # GL_IMAGE_TRANSLATE_Y_HP -# _m[0x8182] = TODO # GL_LIST_PRIORITY_SGIX -# _m[0] = TODO # GL_NONE -# _m[0x9596] = TODO # GL_NUM_DEVICE_UUIDS_EXT -# _m[0x2401] = TODO # GL_OBJECT_LINEAR -# _m[0x0A01] = TODO # GL_ORDER -# _m[0x85A0] = TODO # GL_PACK_SUBSAMPLE_RATE_SGIX -# _m[0x80EE] = TODO # GL_PARAMETER_BUFFER -# _m[0x908A] = TODO # GL_PATH_OBJECT_BOUNDING_BOX_NV -# _m[0x88EB] = TODO # GL_PIXEL_PACK_BUFFER -# _m[0x88EC] = TODO # GL_PIXEL_UNPACK_BUFFER -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY_EXT -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D_EXT -# _m[0x9101] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE -# _m[0x9103] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D_EXT -# _m[0x8135] = TODO # GL_PROXY_TEXTURE_4D_SGIS -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARB -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_EXT -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_ARB -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_NV -# _m[0x8125] = TODO # GL_QUAD_TEXTURE_SELECT_SGIS -# _m[0x9192] = TODO # GL_QUERY_BUFFER -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_EXT -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_OES -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_EXT -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_OES -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_EXT -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_OES -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_EXT -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_OES -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_EXT -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_OES -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_OES -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_EXT -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_OES -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_ANGLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_APPLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_EXT -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_NV -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_EXT -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_OES -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_EXT -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_OES -# _m[0x80BF] = TODO # GL_SHADOW_AMBIENT_SGIX -# _m[0x81FB] = TODO # GL_SHARED_TEXTURE_PALETTE_EXT -# _m[0x80B0] = TODO # GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS -# _m[0x9100] = TODO # GL_TEXTURE_2D_MULTISAMPLE -# _m[0x9102] = TODO # GL_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8136] = TODO # GL_TEXTURE_4DSIZE_SGIS -# _m[0x8175] = TODO # GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX -# _m[0x1003] = TODO # GL_TEXTURE_COMPONENTS -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_EXT -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_OES -# _m[0x8516] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_X -# _m[0x8518] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -# _m[0x851A] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -# _m[0x8515] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_X -# _m[0x8517] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Y -# _m[0x8519] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Z -# _m[0x8147] = TODO # GL_TEXTURE_FILTER4_SIZE_SGIS -# _m[0x819D] = TODO # GL_TEXTURE_GEQUAL_R_SGIX -# _m[0x819C] = TODO # GL_TEXTURE_LEQUAL_R_SGIX -# _m[0x84FE] = TODO # GL_TEXTURE_MAX_ANISOTROPY -# _m[0x8C8E] = TODO # GL_TRANSFORM_FEEDBACK_BUFFER -# _m[0x8A11] = TODO # GL_UNIFORM_BUFFER -# _m[0x85A1] = TODO # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0D5B] = (1,) # GL_ACCUM_ALPHA_BITS _m[0x0D5A] = (1,) # GL_ACCUM_BLUE_BITS _m[0x0B80] = (4,) # GL_ACCUM_CLEAR_VALUE @@ -1190,6 +1057,7 @@ def _L(*args): _m[0x0D39] = (1,) # GL_MAX_TEXTURE_STACK_DEPTH _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS_ARB +_m[0x95B6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_timeline_semaphore.txt # GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV _m[0x862F] = (1,) # GL_MAX_TRACK_MATRICES_NV _m[0x862E] = (1,) # GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV _m[0x8E70] = (1,) # GL_MAX_TRANSFORM_FEEDBACK_BUFFERS @@ -1300,6 +1168,8 @@ def _L(*args): _m[0x0BA6] = (4, 4) # GL_MODELVIEW_MATRIX _m[0x898D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/OES/OES_matrix_get.txt # GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES _m[0x0BA3] = (1,) # GL_MODELVIEW_STACK_DEPTH +_m[0x8C90] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM +_m[0x8C91] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM _m[0x92BA] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_GPUS_NV _m[0x9549] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV _m[0x809D] = (1,) # GL_MULTISAMPLE @@ -1409,6 +1279,7 @@ def _L(*args): _m[0x0D04] = (1,) # GL_PACK_SKIP_PIXELS _m[0x0D03] = (1,) # GL_PACK_SKIP_ROWS _m[0x8130] = (1,) # GL_PACK_SKIP_VOLUMES_SGIS +_m[0x85A0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_PACK_SUBSAMPLE_RATE_SGIX _m[0x0D00] = (1,) # GL_PACK_SWAP_BYTES _m[0x83F4] = (1,) # GL_PARALLEL_ARRAYS_INTEL _m[0x80EF] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/indirect_parameters.txt # GL_PARAMETER_BUFFER_BINDING_ARB @@ -1770,6 +1641,13 @@ def _L(*args): _m[0x8012] = (1,) # GL_SEPARABLE_2D_EXT _m[0x8DF8] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/ES2_compatibility.txt # GL_SHADER_BINARY_FORMATS _m[0x8DFA] = (1,) # GL_SHADER_COMPILER +_m[0x96F1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_ACTIVE_COUNT_ARM +_m[0x96F0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_COUNT_ARM +_m[0x96F6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_FMA_RATE_ARM +_m[0x96F3] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_MAX_WARP_COUNT_ARM +_m[0x96F4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PIXEL_RATE_ARM +_m[0x96F2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PRESENT_MASK_ARM +_m[0x96F5] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_TEXEL_RATE_ARM _m[0x82A6] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_ATOMIC _m[0x82A4] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_LOAD _m[0x82A5] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_STORE @@ -1786,9 +1664,12 @@ def _L(*args): _m[0x8B8C] = (1,) # GL_SHADING_LANGUAGE_VERSION _m[0x955B] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_BINDING_NV _m[0x9563] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_NV +_m[0x95B2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV _m[0x955E] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV +_m[0x95B1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV _m[0x955D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV _m[0x955C] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV +_m[0x96A4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_shading_rate.txt # GL_SHADING_RATE_QCOM _m[0x1601] = (1,) # GL_SHININESS _m[0x82AC] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST _m[0x82AE] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE @@ -2165,6 +2046,7 @@ def _L(*args): _m[0x0CF4] = (1,) # GL_UNPACK_SKIP_PIXELS _m[0x0CF3] = (1,) # GL_UNPACK_SKIP_ROWS _m[0x8132] = (1,) # GL_UNPACK_SKIP_VOLUMES_SGIS +_m[0x85A1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0CF0] = (1,) # GL_UNPACK_SWAP_BYTES _m[0x954A] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NVX/NVX_gpu_multicast2.txt # GL_UPLOAD_GPU_MASK_NVX _m[0x8B83] = (1,) # GL_VALIDATE_STATUS diff --git a/OpenGL/raw/GLES1/APPLE/sync.py b/OpenGL/raw/GLES1/APPLE/sync.py index b02e6229..1a9a78a3 100644 --- a/OpenGL/raw/GLES1/APPLE/sync.py +++ b/OpenGL/raw/GLES1/APPLE/sync.py @@ -41,7 +41,7 @@ def glFenceSyncAPPLE(condition,flags):pass def glGetInteger64vAPPLE(pname,params):pass @_f @_p.types(None,_cs.GLsync,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetSyncivAPPLE(sync,pname,bufSize,length,values):pass +def glGetSyncivAPPLE(sync,pname,count,length,values):pass @_f @_p.types(_cs.GLboolean,_cs.GLsync) def glIsSyncAPPLE(sync):pass diff --git a/OpenGL/raw/GLES1/_glgets.py b/OpenGL/raw/GLES1/_glgets.py index f7bcc317..9b76fb1c 100644 --- a/OpenGL/raw/GLES1/_glgets.py +++ b/OpenGL/raw/GLES1/_glgets.py @@ -5,139 +5,6 @@ def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {} -# _m[0x8892] = TODO # GL_ARRAY_BUFFER -# _m[0x92C0] = TODO # GL_ATOMIC_COUNTER_BUFFER -# _m[0x8777] = TODO # GL_BUMP_NUM_TEX_UNITS_ATI -# _m[0x8775] = TODO # GL_BUMP_ROT_MATRIX_ATI -# _m[0x8776] = TODO # GL_BUMP_ROT_MATRIX_SIZE_ATI -# _m[0x8778] = TODO # GL_BUMP_TEX_UNITS_ATI -# _m[0x0A00] = TODO # GL_COEFF -# _m[0x8576] = TODO # GL_CONSTANT -# _m[0x8095] = TODO # GL_DETAIL_TEXTURE_2D_SGIS -# _m[0x809C] = TODO # GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS -# _m[0x809A] = TODO # GL_DETAIL_TEXTURE_LEVEL_SGIS -# _m[0x809B] = TODO # GL_DETAIL_TEXTURE_MODE_SGIS -# _m[0x9599] = TODO # GL_DEVICE_LUID_EXT -# _m[0x959A] = TODO # GL_DEVICE_NODE_MASK_EXT -# _m[0x9597] = TODO # GL_DEVICE_UUID_EXT -# _m[0x90EE] = TODO # GL_DISPATCH_INDIRECT_BUFFER -# _m[0x0A02] = TODO # GL_DOMAIN -# _m[0x8F3F] = TODO # GL_DRAW_INDIRECT_BUFFER -# _m[0x9598] = TODO # GL_DRIVER_UUID_EXT -# _m[0x8124] = TODO # GL_DUAL_TEXTURE_SELECT_SGIS -# _m[0x8893] = TODO # GL_ELEMENT_ARRAY_BUFFER -# _m[0x86C0] = TODO # GL_EVAL_2D_NV -# _m[0x86C1] = TODO # GL_EVAL_TRIANGULAR_2D_NV -# _m[0x2400] = TODO # GL_EYE_LINEAR -# _m[0x8210] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT -# _m[0x8211] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES -# _m[0x8191] = TODO # GL_GENERATE_MIPMAP_SGIS -# _m[0x8917] = TODO # GL_GEOMETRY_INPUT_TYPE -# _m[0x8918] = TODO # GL_GEOMETRY_OUTPUT_TYPE -# _m[0x8916] = TODO # GL_GEOMETRY_VERTICES_OUT -# _m[0x815E] = TODO # GL_IMAGE_CUBIC_WEIGHT_HP -# _m[0x815C] = TODO # GL_IMAGE_MAG_FILTER_HP -# _m[0x815D] = TODO # GL_IMAGE_MIN_FILTER_HP -# _m[0x8159] = TODO # GL_IMAGE_ROTATE_ANGLE_HP -# _m[0x815A] = TODO # GL_IMAGE_ROTATE_ORIGIN_X_HP -# _m[0x815B] = TODO # GL_IMAGE_ROTATE_ORIGIN_Y_HP -# _m[0x8155] = TODO # GL_IMAGE_SCALE_X_HP -# _m[0x8156] = TODO # GL_IMAGE_SCALE_Y_HP -# _m[0x8157] = TODO # GL_IMAGE_TRANSLATE_X_HP -# _m[0x8158] = TODO # GL_IMAGE_TRANSLATE_Y_HP -# _m[0x8182] = TODO # GL_LIST_PRIORITY_SGIX -# _m[0] = TODO # GL_NONE -# _m[0x9596] = TODO # GL_NUM_DEVICE_UUIDS_EXT -# _m[0x2401] = TODO # GL_OBJECT_LINEAR -# _m[0x0A01] = TODO # GL_ORDER -# _m[0x85A0] = TODO # GL_PACK_SUBSAMPLE_RATE_SGIX -# _m[0x80EE] = TODO # GL_PARAMETER_BUFFER -# _m[0x908A] = TODO # GL_PATH_OBJECT_BOUNDING_BOX_NV -# _m[0x88EB] = TODO # GL_PIXEL_PACK_BUFFER -# _m[0x88EC] = TODO # GL_PIXEL_UNPACK_BUFFER -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY_EXT -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D_EXT -# _m[0x9101] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE -# _m[0x9103] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D_EXT -# _m[0x8135] = TODO # GL_PROXY_TEXTURE_4D_SGIS -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARB -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_EXT -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_ARB -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_NV -# _m[0x8125] = TODO # GL_QUAD_TEXTURE_SELECT_SGIS -# _m[0x9192] = TODO # GL_QUERY_BUFFER -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_EXT -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_OES -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_EXT -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_OES -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_EXT -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_OES -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_EXT -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_OES -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_EXT -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_OES -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_OES -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_EXT -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_OES -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_ANGLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_APPLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_EXT -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_NV -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_EXT -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_OES -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_EXT -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_OES -# _m[0x80BF] = TODO # GL_SHADOW_AMBIENT_SGIX -# _m[0x81FB] = TODO # GL_SHARED_TEXTURE_PALETTE_EXT -# _m[0x80B0] = TODO # GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS -# _m[0x9100] = TODO # GL_TEXTURE_2D_MULTISAMPLE -# _m[0x9102] = TODO # GL_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8136] = TODO # GL_TEXTURE_4DSIZE_SGIS -# _m[0x8175] = TODO # GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX -# _m[0x1003] = TODO # GL_TEXTURE_COMPONENTS -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_EXT -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_OES -# _m[0x8516] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_X -# _m[0x8518] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -# _m[0x851A] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -# _m[0x8515] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_X -# _m[0x8517] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Y -# _m[0x8519] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Z -# _m[0x8147] = TODO # GL_TEXTURE_FILTER4_SIZE_SGIS -# _m[0x819D] = TODO # GL_TEXTURE_GEQUAL_R_SGIX -# _m[0x819C] = TODO # GL_TEXTURE_LEQUAL_R_SGIX -# _m[0x84FE] = TODO # GL_TEXTURE_MAX_ANISOTROPY -# _m[0x8C8E] = TODO # GL_TRANSFORM_FEEDBACK_BUFFER -# _m[0x8A11] = TODO # GL_UNIFORM_BUFFER -# _m[0x85A1] = TODO # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0D5B] = (1,) # GL_ACCUM_ALPHA_BITS _m[0x0D5A] = (1,) # GL_ACCUM_BLUE_BITS _m[0x0B80] = (4,) # GL_ACCUM_CLEAR_VALUE @@ -1190,6 +1057,7 @@ def _L(*args): _m[0x0D39] = (1,) # GL_MAX_TEXTURE_STACK_DEPTH _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS_ARB +_m[0x95B6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_timeline_semaphore.txt # GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV _m[0x862F] = (1,) # GL_MAX_TRACK_MATRICES_NV _m[0x862E] = (1,) # GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV _m[0x8E70] = (1,) # GL_MAX_TRANSFORM_FEEDBACK_BUFFERS @@ -1300,6 +1168,8 @@ def _L(*args): _m[0x0BA6] = (4, 4) # GL_MODELVIEW_MATRIX _m[0x898D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/OES/OES_matrix_get.txt # GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES _m[0x0BA3] = (1,) # GL_MODELVIEW_STACK_DEPTH +_m[0x8C90] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM +_m[0x8C91] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM _m[0x92BA] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_GPUS_NV _m[0x9549] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV _m[0x809D] = (1,) # GL_MULTISAMPLE @@ -1409,6 +1279,7 @@ def _L(*args): _m[0x0D04] = (1,) # GL_PACK_SKIP_PIXELS _m[0x0D03] = (1,) # GL_PACK_SKIP_ROWS _m[0x8130] = (1,) # GL_PACK_SKIP_VOLUMES_SGIS +_m[0x85A0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_PACK_SUBSAMPLE_RATE_SGIX _m[0x0D00] = (1,) # GL_PACK_SWAP_BYTES _m[0x83F4] = (1,) # GL_PARALLEL_ARRAYS_INTEL _m[0x80EF] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/indirect_parameters.txt # GL_PARAMETER_BUFFER_BINDING_ARB @@ -1770,6 +1641,13 @@ def _L(*args): _m[0x8012] = (1,) # GL_SEPARABLE_2D_EXT _m[0x8DF8] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/ES2_compatibility.txt # GL_SHADER_BINARY_FORMATS _m[0x8DFA] = (1,) # GL_SHADER_COMPILER +_m[0x96F1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_ACTIVE_COUNT_ARM +_m[0x96F0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_COUNT_ARM +_m[0x96F6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_FMA_RATE_ARM +_m[0x96F3] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_MAX_WARP_COUNT_ARM +_m[0x96F4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PIXEL_RATE_ARM +_m[0x96F2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PRESENT_MASK_ARM +_m[0x96F5] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_TEXEL_RATE_ARM _m[0x82A6] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_ATOMIC _m[0x82A4] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_LOAD _m[0x82A5] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_STORE @@ -1786,9 +1664,12 @@ def _L(*args): _m[0x8B8C] = (1,) # GL_SHADING_LANGUAGE_VERSION _m[0x955B] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_BINDING_NV _m[0x9563] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_NV +_m[0x95B2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV _m[0x955E] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV +_m[0x95B1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV _m[0x955D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV _m[0x955C] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV +_m[0x96A4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_shading_rate.txt # GL_SHADING_RATE_QCOM _m[0x1601] = (1,) # GL_SHININESS _m[0x82AC] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST _m[0x82AE] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE @@ -2165,6 +2046,7 @@ def _L(*args): _m[0x0CF4] = (1,) # GL_UNPACK_SKIP_PIXELS _m[0x0CF3] = (1,) # GL_UNPACK_SKIP_ROWS _m[0x8132] = (1,) # GL_UNPACK_SKIP_VOLUMES_SGIS +_m[0x85A1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0CF0] = (1,) # GL_UNPACK_SWAP_BYTES _m[0x954A] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NVX/NVX_gpu_multicast2.txt # GL_UPLOAD_GPU_MASK_NVX _m[0x8B83] = (1,) # GL_VALIDATE_STATUS diff --git a/OpenGL/raw/GLES2/ANGLE/translated_shader_source.py b/OpenGL/raw/GLES2/ANGLE/translated_shader_source.py index 6fc11385..a254733c 100644 --- a/OpenGL/raw/GLES2/ANGLE/translated_shader_source.py +++ b/OpenGL/raw/GLES2/ANGLE/translated_shader_source.py @@ -14,4 +14,4 @@ def _f( function ): GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE=_C('GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE',0x93A0) @_f @_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) -def glGetTranslatedShaderSourceANGLE(shader,bufsize,length,source):pass +def glGetTranslatedShaderSourceANGLE(shader,bufSize,length,source):pass diff --git a/OpenGL/raw/GLES2/APPLE/sync.py b/OpenGL/raw/GLES2/APPLE/sync.py index 2ff732d6..d57b3f69 100644 --- a/OpenGL/raw/GLES2/APPLE/sync.py +++ b/OpenGL/raw/GLES2/APPLE/sync.py @@ -41,7 +41,7 @@ def glFenceSyncAPPLE(condition,flags):pass def glGetInteger64vAPPLE(pname,params):pass @_f @_p.types(None,_cs.GLsync,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetSyncivAPPLE(sync,pname,bufSize,length,values):pass +def glGetSyncivAPPLE(sync,pname,count,length,values):pass @_f @_p.types(_cs.GLboolean,_cs.GLsync) def glIsSyncAPPLE(sync):pass diff --git a/OpenGL/raw/GLES2/EXT/disjoint_timer_query.py b/OpenGL/raw/GLES2/EXT/disjoint_timer_query.py index 079cbc12..38a17ce9 100644 --- a/OpenGL/raw/GLES2/EXT/disjoint_timer_query.py +++ b/OpenGL/raw/GLES2/EXT/disjoint_timer_query.py @@ -31,6 +31,9 @@ def glEndQueryEXT(target):pass @_p.types(None,_cs.GLsizei,arrays.GLuintArray) def glGenQueriesEXT(n,ids):pass @_f +@_p.types(None,_cs.GLenum,arrays.GLint64Array) +def glGetInteger64vEXT(pname,data):pass +@_f @_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLint64Array) def glGetQueryObjecti64vEXT(id,pname,params):pass @_f diff --git a/OpenGL/raw/GLES2/EXT/draw_elements_base_vertex.py b/OpenGL/raw/GLES2/EXT/draw_elements_base_vertex.py index 21c59793..c9d8789e 100644 --- a/OpenGL/raw/GLES2/EXT/draw_elements_base_vertex.py +++ b/OpenGL/raw/GLES2/EXT/draw_elements_base_vertex.py @@ -23,4 +23,4 @@ def glDrawElementsInstancedBaseVertexEXT(mode,count,type,indices,instancecount,b def glDrawRangeElementsBaseVertexEXT(mode,start,end,count,type,indices,basevertex):pass @_f @_p.types(None,_cs.GLenum,arrays.GLsizeiArray,_cs.GLenum,arrays.GLvoidpArray,_cs.GLsizei,arrays.GLintArray) -def glMultiDrawElementsBaseVertexEXT(mode,count,type,indices,primcount,basevertex):pass +def glMultiDrawElementsBaseVertexEXT(mode,count,type,indices,drawcount,basevertex):pass diff --git a/OpenGL/raw/GLES2/EXT/separate_shader_objects.py b/OpenGL/raw/GLES2/EXT/separate_shader_objects.py index 1817fbf9..3f39c5c5 100644 --- a/OpenGL/raw/GLES2/EXT/separate_shader_objects.py +++ b/OpenGL/raw/GLES2/EXT/separate_shader_objects.py @@ -146,9 +146,6 @@ def glProgramUniformMatrix3x4fvEXT(program,location,count,transpose,value):pass def glProgramUniformMatrix4fvEXT(program,location,count,transpose,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) -def glProgramUniformMatrix4fvEXT(program,location,count,transpose,value):pass -@_f -@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) def glProgramUniformMatrix4x2fvEXT(program,location,count,transpose,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,_cs.GLboolean,arrays.GLfloatArray) diff --git a/OpenGL/raw/GLES2/NV/conservative_raster_pre_snap_triangles.py b/OpenGL/raw/GLES2/NV/conservative_raster_pre_snap_triangles.py index 86228828..4479ce65 100644 --- a/OpenGL/raw/GLES2/NV/conservative_raster_pre_snap_triangles.py +++ b/OpenGL/raw/GLES2/NV/conservative_raster_pre_snap_triangles.py @@ -12,7 +12,6 @@ def _f( function ): return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_NV_conservative_raster_pre_snap_triangles',error_checker=_errors._error_checker) GL_CONSERVATIVE_RASTER_MODE_NV=_C('GL_CONSERVATIVE_RASTER_MODE_NV',0x954D) -GL_CONSERVATIVE_RASTER_MODE_NV=_C('GL_CONSERVATIVE_RASTER_MODE_NV',0x954D) GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV=_C('GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV',0x954E) GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV=_C('GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV',0x954F) @_f diff --git a/OpenGL/raw/GLES2/NV/framebuffer_mixed_samples.py b/OpenGL/raw/GLES2/NV/framebuffer_mixed_samples.py index 14df8099..572f07ff 100644 --- a/OpenGL/raw/GLES2/NV/framebuffer_mixed_samples.py +++ b/OpenGL/raw/GLES2/NV/framebuffer_mixed_samples.py @@ -33,7 +33,7 @@ def glCoverageModulationNV(components):pass def glCoverageModulationTableNV(n,v):pass @_f @_p.types(None,_cs.GLsizei,arrays.GLfloatArray) -def glGetCoverageModulationTableNV(bufsize,v):pass +def glGetCoverageModulationTableNV(bufSize,v):pass @_f @_p.types(None,_cs.GLuint,_cs.GLboolean) def glRasterSamplesEXT(samples,fixedsamplelocations):pass diff --git a/OpenGL/raw/GLES2/NV/internalformat_sample_query.py b/OpenGL/raw/GLES2/NV/internalformat_sample_query.py index 13c7b9c2..c315609b 100644 --- a/OpenGL/raw/GLES2/NV/internalformat_sample_query.py +++ b/OpenGL/raw/GLES2/NV/internalformat_sample_query.py @@ -20,4 +20,4 @@ def _f( function ): GL_TEXTURE_2D_MULTISAMPLE_ARRAY=_C('GL_TEXTURE_2D_MULTISAMPLE_ARRAY',0x9102) @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,arrays.GLintArray) -def glGetInternalformatSampleivNV(target,internalformat,samples,pname,bufSize,params):pass +def glGetInternalformatSampleivNV(target,internalformat,samples,pname,count,params):pass diff --git a/OpenGL/raw/GLES2/NV/path_rendering.py b/OpenGL/raw/GLES2/NV/path_rendering.py index 7b842bee..eb76449c 100644 --- a/OpenGL/raw/GLES2/NV/path_rendering.py +++ b/OpenGL/raw/GLES2/NV/path_rendering.py @@ -237,7 +237,7 @@ def glGetPathTexGenfvNV(texCoordSet,pname,value):pass def glGetPathTexGenivNV(texCoordSet,pname,value):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLfloatArray) -def glGetProgramResourcefvNV(program,programInterface,index,propCount,props,bufSize,length,params):pass +def glGetProgramResourcefvNV(program,programInterface,index,propCount,props,count,length,params):pass @_f @_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLfloat) def glInterpolatePathsNV(resultPath,pathA,pathB,weight):pass @@ -347,7 +347,7 @@ def glPathFogGenNV(genMode):pass @_p.types(_cs.GLenum,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLuint,_cs.GLfloat) def glPathGlyphIndexArrayNV(firstPathName,fontTarget,fontName,fontStyle,firstGlyphIndex,numGlyphs,pathParameterTemplate,emScale):pass @_f -@_p.types(_cs.GLenum,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLfloat,_cs.GLuint) +@_p.types(_cs.GLenum,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLfloat,arrays.GLuintArray) def glPathGlyphIndexRangeNV(fontTarget,fontName,fontStyle,pathParameterTemplate,emScale,baseAndCount):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLuint,_cs.GLfloat) diff --git a/OpenGL/raw/GLES2/NV/shading_rate_image.py b/OpenGL/raw/GLES2/NV/shading_rate_image.py index bf0b6f16..92c23548 100644 --- a/OpenGL/raw/GLES2/NV/shading_rate_image.py +++ b/OpenGL/raw/GLES2/NV/shading_rate_image.py @@ -45,9 +45,6 @@ def glGetShadingRateSampleLocationivNV(rate,samples,index,location):pass @_p.types(None,_cs.GLboolean) def glShadingRateImageBarrierNV(synchronize):pass @_f -@_p.types(None,_cs.GLboolean) -def glShadingRateImageBarrierNV(synchronize):pass -@_f @_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray) def glShadingRateImagePaletteNV(viewport,first,count,rates):pass @_f diff --git a/OpenGL/raw/GLES2/OES/draw_elements_base_vertex.py b/OpenGL/raw/GLES2/OES/draw_elements_base_vertex.py index c377de07..26ca01e9 100644 --- a/OpenGL/raw/GLES2/OES/draw_elements_base_vertex.py +++ b/OpenGL/raw/GLES2/OES/draw_elements_base_vertex.py @@ -23,4 +23,4 @@ def glDrawElementsInstancedBaseVertexOES(mode,count,type,indices,instancecount,b def glDrawRangeElementsBaseVertexOES(mode,start,end,count,type,indices,basevertex):pass @_f @_p.types(None,_cs.GLenum,arrays.GLsizeiArray,_cs.GLenum,arrays.GLvoidpArray,_cs.GLsizei,arrays.GLintArray) -def glMultiDrawElementsBaseVertexEXT(mode,count,type,indices,primcount,basevertex):pass +def glMultiDrawElementsBaseVertexEXT(mode,count,type,indices,drawcount,basevertex):pass diff --git a/OpenGL/raw/GLES2/OVR/multiview.py b/OpenGL/raw/GLES2/OVR/multiview.py index 0f6cf338..6c445e72 100644 --- a/OpenGL/raw/GLES2/OVR/multiview.py +++ b/OpenGL/raw/GLES2/OVR/multiview.py @@ -18,3 +18,6 @@ def _f( function ): @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei) def glFramebufferTextureMultiviewOVR(target,attachment,texture,level,baseViewIndex,numViews):pass +@_f +@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei) +def glNamedFramebufferTextureMultiviewOVR(framebuffer,attachment,texture,level,baseViewIndex,numViews):pass diff --git a/OpenGL/raw/GLES2/VERSION/GLES2_2_0.py b/OpenGL/raw/GLES2/VERSION/GLES2_2_0.py index a06f8f89..a4989dbd 100644 --- a/OpenGL/raw/GLES2/VERSION/GLES2_2_0.py +++ b/OpenGL/raw/GLES2/VERSION/GLES2_2_0.py @@ -605,7 +605,7 @@ def glSampleCoverage(value,invert):pass def glScissor(x,y,width,height):pass @_f @_p.types(None,_cs.GLsizei,arrays.GLuintArray,_cs.GLenum,ctypes.c_void_p,_cs.GLsizei) -def glShaderBinary(count,shaders,binaryformat,binary,length):pass +def glShaderBinary(count,shaders,binaryFormat,binary,length):pass @_f @_p.types(None,_cs.GLuint,_cs.GLsizei,ctypes.POINTER( ctypes.POINTER( _cs.GLchar )),arrays.GLintArray) def glShaderSource(shader,count,string,length):pass diff --git a/OpenGL/raw/GLES2/_glgets.py b/OpenGL/raw/GLES2/_glgets.py index f7bcc317..9b76fb1c 100644 --- a/OpenGL/raw/GLES2/_glgets.py +++ b/OpenGL/raw/GLES2/_glgets.py @@ -5,139 +5,6 @@ def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {} -# _m[0x8892] = TODO # GL_ARRAY_BUFFER -# _m[0x92C0] = TODO # GL_ATOMIC_COUNTER_BUFFER -# _m[0x8777] = TODO # GL_BUMP_NUM_TEX_UNITS_ATI -# _m[0x8775] = TODO # GL_BUMP_ROT_MATRIX_ATI -# _m[0x8776] = TODO # GL_BUMP_ROT_MATRIX_SIZE_ATI -# _m[0x8778] = TODO # GL_BUMP_TEX_UNITS_ATI -# _m[0x0A00] = TODO # GL_COEFF -# _m[0x8576] = TODO # GL_CONSTANT -# _m[0x8095] = TODO # GL_DETAIL_TEXTURE_2D_SGIS -# _m[0x809C] = TODO # GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS -# _m[0x809A] = TODO # GL_DETAIL_TEXTURE_LEVEL_SGIS -# _m[0x809B] = TODO # GL_DETAIL_TEXTURE_MODE_SGIS -# _m[0x9599] = TODO # GL_DEVICE_LUID_EXT -# _m[0x959A] = TODO # GL_DEVICE_NODE_MASK_EXT -# _m[0x9597] = TODO # GL_DEVICE_UUID_EXT -# _m[0x90EE] = TODO # GL_DISPATCH_INDIRECT_BUFFER -# _m[0x0A02] = TODO # GL_DOMAIN -# _m[0x8F3F] = TODO # GL_DRAW_INDIRECT_BUFFER -# _m[0x9598] = TODO # GL_DRIVER_UUID_EXT -# _m[0x8124] = TODO # GL_DUAL_TEXTURE_SELECT_SGIS -# _m[0x8893] = TODO # GL_ELEMENT_ARRAY_BUFFER -# _m[0x86C0] = TODO # GL_EVAL_2D_NV -# _m[0x86C1] = TODO # GL_EVAL_TRIANGULAR_2D_NV -# _m[0x2400] = TODO # GL_EYE_LINEAR -# _m[0x8210] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT -# _m[0x8211] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES -# _m[0x8191] = TODO # GL_GENERATE_MIPMAP_SGIS -# _m[0x8917] = TODO # GL_GEOMETRY_INPUT_TYPE -# _m[0x8918] = TODO # GL_GEOMETRY_OUTPUT_TYPE -# _m[0x8916] = TODO # GL_GEOMETRY_VERTICES_OUT -# _m[0x815E] = TODO # GL_IMAGE_CUBIC_WEIGHT_HP -# _m[0x815C] = TODO # GL_IMAGE_MAG_FILTER_HP -# _m[0x815D] = TODO # GL_IMAGE_MIN_FILTER_HP -# _m[0x8159] = TODO # GL_IMAGE_ROTATE_ANGLE_HP -# _m[0x815A] = TODO # GL_IMAGE_ROTATE_ORIGIN_X_HP -# _m[0x815B] = TODO # GL_IMAGE_ROTATE_ORIGIN_Y_HP -# _m[0x8155] = TODO # GL_IMAGE_SCALE_X_HP -# _m[0x8156] = TODO # GL_IMAGE_SCALE_Y_HP -# _m[0x8157] = TODO # GL_IMAGE_TRANSLATE_X_HP -# _m[0x8158] = TODO # GL_IMAGE_TRANSLATE_Y_HP -# _m[0x8182] = TODO # GL_LIST_PRIORITY_SGIX -# _m[0] = TODO # GL_NONE -# _m[0x9596] = TODO # GL_NUM_DEVICE_UUIDS_EXT -# _m[0x2401] = TODO # GL_OBJECT_LINEAR -# _m[0x0A01] = TODO # GL_ORDER -# _m[0x85A0] = TODO # GL_PACK_SUBSAMPLE_RATE_SGIX -# _m[0x80EE] = TODO # GL_PARAMETER_BUFFER -# _m[0x908A] = TODO # GL_PATH_OBJECT_BOUNDING_BOX_NV -# _m[0x88EB] = TODO # GL_PIXEL_PACK_BUFFER -# _m[0x88EC] = TODO # GL_PIXEL_UNPACK_BUFFER -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY_EXT -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D_EXT -# _m[0x9101] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE -# _m[0x9103] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D_EXT -# _m[0x8135] = TODO # GL_PROXY_TEXTURE_4D_SGIS -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARB -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_EXT -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_ARB -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_NV -# _m[0x8125] = TODO # GL_QUAD_TEXTURE_SELECT_SGIS -# _m[0x9192] = TODO # GL_QUERY_BUFFER -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_EXT -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_OES -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_EXT -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_OES -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_EXT -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_OES -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_EXT -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_OES -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_EXT -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_OES -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_OES -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_EXT -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_OES -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_ANGLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_APPLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_EXT -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_NV -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_EXT -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_OES -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_EXT -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_OES -# _m[0x80BF] = TODO # GL_SHADOW_AMBIENT_SGIX -# _m[0x81FB] = TODO # GL_SHARED_TEXTURE_PALETTE_EXT -# _m[0x80B0] = TODO # GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS -# _m[0x9100] = TODO # GL_TEXTURE_2D_MULTISAMPLE -# _m[0x9102] = TODO # GL_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8136] = TODO # GL_TEXTURE_4DSIZE_SGIS -# _m[0x8175] = TODO # GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX -# _m[0x1003] = TODO # GL_TEXTURE_COMPONENTS -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_EXT -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_OES -# _m[0x8516] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_X -# _m[0x8518] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -# _m[0x851A] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -# _m[0x8515] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_X -# _m[0x8517] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Y -# _m[0x8519] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Z -# _m[0x8147] = TODO # GL_TEXTURE_FILTER4_SIZE_SGIS -# _m[0x819D] = TODO # GL_TEXTURE_GEQUAL_R_SGIX -# _m[0x819C] = TODO # GL_TEXTURE_LEQUAL_R_SGIX -# _m[0x84FE] = TODO # GL_TEXTURE_MAX_ANISOTROPY -# _m[0x8C8E] = TODO # GL_TRANSFORM_FEEDBACK_BUFFER -# _m[0x8A11] = TODO # GL_UNIFORM_BUFFER -# _m[0x85A1] = TODO # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0D5B] = (1,) # GL_ACCUM_ALPHA_BITS _m[0x0D5A] = (1,) # GL_ACCUM_BLUE_BITS _m[0x0B80] = (4,) # GL_ACCUM_CLEAR_VALUE @@ -1190,6 +1057,7 @@ def _L(*args): _m[0x0D39] = (1,) # GL_MAX_TEXTURE_STACK_DEPTH _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS_ARB +_m[0x95B6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_timeline_semaphore.txt # GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV _m[0x862F] = (1,) # GL_MAX_TRACK_MATRICES_NV _m[0x862E] = (1,) # GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV _m[0x8E70] = (1,) # GL_MAX_TRANSFORM_FEEDBACK_BUFFERS @@ -1300,6 +1168,8 @@ def _L(*args): _m[0x0BA6] = (4, 4) # GL_MODELVIEW_MATRIX _m[0x898D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/OES/OES_matrix_get.txt # GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES _m[0x0BA3] = (1,) # GL_MODELVIEW_STACK_DEPTH +_m[0x8C90] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM +_m[0x8C91] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM _m[0x92BA] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_GPUS_NV _m[0x9549] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV _m[0x809D] = (1,) # GL_MULTISAMPLE @@ -1409,6 +1279,7 @@ def _L(*args): _m[0x0D04] = (1,) # GL_PACK_SKIP_PIXELS _m[0x0D03] = (1,) # GL_PACK_SKIP_ROWS _m[0x8130] = (1,) # GL_PACK_SKIP_VOLUMES_SGIS +_m[0x85A0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_PACK_SUBSAMPLE_RATE_SGIX _m[0x0D00] = (1,) # GL_PACK_SWAP_BYTES _m[0x83F4] = (1,) # GL_PARALLEL_ARRAYS_INTEL _m[0x80EF] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/indirect_parameters.txt # GL_PARAMETER_BUFFER_BINDING_ARB @@ -1770,6 +1641,13 @@ def _L(*args): _m[0x8012] = (1,) # GL_SEPARABLE_2D_EXT _m[0x8DF8] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/ES2_compatibility.txt # GL_SHADER_BINARY_FORMATS _m[0x8DFA] = (1,) # GL_SHADER_COMPILER +_m[0x96F1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_ACTIVE_COUNT_ARM +_m[0x96F0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_COUNT_ARM +_m[0x96F6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_FMA_RATE_ARM +_m[0x96F3] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_MAX_WARP_COUNT_ARM +_m[0x96F4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PIXEL_RATE_ARM +_m[0x96F2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PRESENT_MASK_ARM +_m[0x96F5] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_TEXEL_RATE_ARM _m[0x82A6] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_ATOMIC _m[0x82A4] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_LOAD _m[0x82A5] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_STORE @@ -1786,9 +1664,12 @@ def _L(*args): _m[0x8B8C] = (1,) # GL_SHADING_LANGUAGE_VERSION _m[0x955B] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_BINDING_NV _m[0x9563] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_NV +_m[0x95B2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV _m[0x955E] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV +_m[0x95B1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV _m[0x955D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV _m[0x955C] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV +_m[0x96A4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_shading_rate.txt # GL_SHADING_RATE_QCOM _m[0x1601] = (1,) # GL_SHININESS _m[0x82AC] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST _m[0x82AE] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE @@ -2165,6 +2046,7 @@ def _L(*args): _m[0x0CF4] = (1,) # GL_UNPACK_SKIP_PIXELS _m[0x0CF3] = (1,) # GL_UNPACK_SKIP_ROWS _m[0x8132] = (1,) # GL_UNPACK_SKIP_VOLUMES_SGIS +_m[0x85A1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0CF0] = (1,) # GL_UNPACK_SWAP_BYTES _m[0x954A] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NVX/NVX_gpu_multicast2.txt # GL_UPLOAD_GPU_MASK_NVX _m[0x8B83] = (1,) # GL_VALIDATE_STATUS diff --git a/OpenGL/raw/GLES3/VERSION/GLES3_3_0.py b/OpenGL/raw/GLES3/VERSION/GLES3_3_0.py index 2bd92773..67c0f659 100644 --- a/OpenGL/raw/GLES3/VERSION/GLES3_3_0.py +++ b/OpenGL/raw/GLES3/VERSION/GLES3_3_0.py @@ -466,7 +466,7 @@ def glGetInteger64v(pname,data):pass def glGetIntegeri_v(target,index,data):pass @_f @_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,_cs.GLsizei,arrays.GLintArray) -def glGetInternalformativ(target,internalformat,pname,bufSize,params):pass +def glGetInternalformativ(target,internalformat,pname,count,params):pass @_f @_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLuintArray,ctypes.c_void_p) def glGetProgramBinary(program,bufSize,length,binaryFormat,binary):pass @@ -487,7 +487,7 @@ def glGetSamplerParameteriv(sampler,pname,params):pass def glGetStringi(name,index):pass @_f @_p.types(None,_cs.GLsync,_cs.GLenum,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetSynciv(sync,pname,bufSize,length,values):pass +def glGetSynciv(sync,pname,count,length,values):pass @_f @_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLsizeiArray,arrays.GLuintArray,arrays.GLcharArray) def glGetTransformFeedbackVarying(program,index,bufSize,length,size,type,name):pass diff --git a/OpenGL/raw/GLES3/VERSION/GLES3_3_1.py b/OpenGL/raw/GLES3/VERSION/GLES3_3_1.py index aae759ef..5f1d79cc 100644 --- a/OpenGL/raw/GLES3/VERSION/GLES3_3_1.py +++ b/OpenGL/raw/GLES3/VERSION/GLES3_3_1.py @@ -253,7 +253,7 @@ def glGetProgramResourceLocation(program,programInterface,name):pass def glGetProgramResourceName(program,programInterface,index,bufSize,length,name):pass @_f @_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLintArray) -def glGetProgramResourceiv(program,programInterface,index,propCount,props,bufSize,length,params):pass +def glGetProgramResourceiv(program,programInterface,index,propCount,props,count,length,params):pass @_f @_p.types(None,_cs.GLenum,_cs.GLint,_cs.GLenum,arrays.GLfloatArray) def glGetTexLevelParameterfv(target,level,pname,params):pass diff --git a/OpenGL/raw/GLES3/_glgets.py b/OpenGL/raw/GLES3/_glgets.py index f7bcc317..9b76fb1c 100644 --- a/OpenGL/raw/GLES3/_glgets.py +++ b/OpenGL/raw/GLES3/_glgets.py @@ -5,139 +5,6 @@ def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {} -# _m[0x8892] = TODO # GL_ARRAY_BUFFER -# _m[0x92C0] = TODO # GL_ATOMIC_COUNTER_BUFFER -# _m[0x8777] = TODO # GL_BUMP_NUM_TEX_UNITS_ATI -# _m[0x8775] = TODO # GL_BUMP_ROT_MATRIX_ATI -# _m[0x8776] = TODO # GL_BUMP_ROT_MATRIX_SIZE_ATI -# _m[0x8778] = TODO # GL_BUMP_TEX_UNITS_ATI -# _m[0x0A00] = TODO # GL_COEFF -# _m[0x8576] = TODO # GL_CONSTANT -# _m[0x8095] = TODO # GL_DETAIL_TEXTURE_2D_SGIS -# _m[0x809C] = TODO # GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS -# _m[0x809A] = TODO # GL_DETAIL_TEXTURE_LEVEL_SGIS -# _m[0x809B] = TODO # GL_DETAIL_TEXTURE_MODE_SGIS -# _m[0x9599] = TODO # GL_DEVICE_LUID_EXT -# _m[0x959A] = TODO # GL_DEVICE_NODE_MASK_EXT -# _m[0x9597] = TODO # GL_DEVICE_UUID_EXT -# _m[0x90EE] = TODO # GL_DISPATCH_INDIRECT_BUFFER -# _m[0x0A02] = TODO # GL_DOMAIN -# _m[0x8F3F] = TODO # GL_DRAW_INDIRECT_BUFFER -# _m[0x9598] = TODO # GL_DRIVER_UUID_EXT -# _m[0x8124] = TODO # GL_DUAL_TEXTURE_SELECT_SGIS -# _m[0x8893] = TODO # GL_ELEMENT_ARRAY_BUFFER -# _m[0x86C0] = TODO # GL_EVAL_2D_NV -# _m[0x86C1] = TODO # GL_EVAL_TRIANGULAR_2D_NV -# _m[0x2400] = TODO # GL_EYE_LINEAR -# _m[0x8210] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT -# _m[0x8211] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES -# _m[0x8191] = TODO # GL_GENERATE_MIPMAP_SGIS -# _m[0x8917] = TODO # GL_GEOMETRY_INPUT_TYPE -# _m[0x8918] = TODO # GL_GEOMETRY_OUTPUT_TYPE -# _m[0x8916] = TODO # GL_GEOMETRY_VERTICES_OUT -# _m[0x815E] = TODO # GL_IMAGE_CUBIC_WEIGHT_HP -# _m[0x815C] = TODO # GL_IMAGE_MAG_FILTER_HP -# _m[0x815D] = TODO # GL_IMAGE_MIN_FILTER_HP -# _m[0x8159] = TODO # GL_IMAGE_ROTATE_ANGLE_HP -# _m[0x815A] = TODO # GL_IMAGE_ROTATE_ORIGIN_X_HP -# _m[0x815B] = TODO # GL_IMAGE_ROTATE_ORIGIN_Y_HP -# _m[0x8155] = TODO # GL_IMAGE_SCALE_X_HP -# _m[0x8156] = TODO # GL_IMAGE_SCALE_Y_HP -# _m[0x8157] = TODO # GL_IMAGE_TRANSLATE_X_HP -# _m[0x8158] = TODO # GL_IMAGE_TRANSLATE_Y_HP -# _m[0x8182] = TODO # GL_LIST_PRIORITY_SGIX -# _m[0] = TODO # GL_NONE -# _m[0x9596] = TODO # GL_NUM_DEVICE_UUIDS_EXT -# _m[0x2401] = TODO # GL_OBJECT_LINEAR -# _m[0x0A01] = TODO # GL_ORDER -# _m[0x85A0] = TODO # GL_PACK_SUBSAMPLE_RATE_SGIX -# _m[0x80EE] = TODO # GL_PARAMETER_BUFFER -# _m[0x908A] = TODO # GL_PATH_OBJECT_BOUNDING_BOX_NV -# _m[0x88EB] = TODO # GL_PIXEL_PACK_BUFFER -# _m[0x88EC] = TODO # GL_PIXEL_UNPACK_BUFFER -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY_EXT -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D_EXT -# _m[0x9101] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE -# _m[0x9103] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D_EXT -# _m[0x8135] = TODO # GL_PROXY_TEXTURE_4D_SGIS -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARB -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_EXT -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_ARB -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_NV -# _m[0x8125] = TODO # GL_QUAD_TEXTURE_SELECT_SGIS -# _m[0x9192] = TODO # GL_QUERY_BUFFER -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_EXT -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_OES -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_EXT -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_OES -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_EXT -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_OES -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_EXT -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_OES -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_EXT -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_OES -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_OES -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_EXT -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_OES -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_ANGLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_APPLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_EXT -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_NV -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_EXT -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_OES -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_EXT -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_OES -# _m[0x80BF] = TODO # GL_SHADOW_AMBIENT_SGIX -# _m[0x81FB] = TODO # GL_SHARED_TEXTURE_PALETTE_EXT -# _m[0x80B0] = TODO # GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS -# _m[0x9100] = TODO # GL_TEXTURE_2D_MULTISAMPLE -# _m[0x9102] = TODO # GL_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8136] = TODO # GL_TEXTURE_4DSIZE_SGIS -# _m[0x8175] = TODO # GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX -# _m[0x1003] = TODO # GL_TEXTURE_COMPONENTS -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_EXT -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_OES -# _m[0x8516] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_X -# _m[0x8518] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -# _m[0x851A] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -# _m[0x8515] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_X -# _m[0x8517] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Y -# _m[0x8519] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Z -# _m[0x8147] = TODO # GL_TEXTURE_FILTER4_SIZE_SGIS -# _m[0x819D] = TODO # GL_TEXTURE_GEQUAL_R_SGIX -# _m[0x819C] = TODO # GL_TEXTURE_LEQUAL_R_SGIX -# _m[0x84FE] = TODO # GL_TEXTURE_MAX_ANISOTROPY -# _m[0x8C8E] = TODO # GL_TRANSFORM_FEEDBACK_BUFFER -# _m[0x8A11] = TODO # GL_UNIFORM_BUFFER -# _m[0x85A1] = TODO # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0D5B] = (1,) # GL_ACCUM_ALPHA_BITS _m[0x0D5A] = (1,) # GL_ACCUM_BLUE_BITS _m[0x0B80] = (4,) # GL_ACCUM_CLEAR_VALUE @@ -1190,6 +1057,7 @@ def _L(*args): _m[0x0D39] = (1,) # GL_MAX_TEXTURE_STACK_DEPTH _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS_ARB +_m[0x95B6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_timeline_semaphore.txt # GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV _m[0x862F] = (1,) # GL_MAX_TRACK_MATRICES_NV _m[0x862E] = (1,) # GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV _m[0x8E70] = (1,) # GL_MAX_TRANSFORM_FEEDBACK_BUFFERS @@ -1300,6 +1168,8 @@ def _L(*args): _m[0x0BA6] = (4, 4) # GL_MODELVIEW_MATRIX _m[0x898D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/OES/OES_matrix_get.txt # GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES _m[0x0BA3] = (1,) # GL_MODELVIEW_STACK_DEPTH +_m[0x8C90] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM +_m[0x8C91] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM _m[0x92BA] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_GPUS_NV _m[0x9549] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV _m[0x809D] = (1,) # GL_MULTISAMPLE @@ -1409,6 +1279,7 @@ def _L(*args): _m[0x0D04] = (1,) # GL_PACK_SKIP_PIXELS _m[0x0D03] = (1,) # GL_PACK_SKIP_ROWS _m[0x8130] = (1,) # GL_PACK_SKIP_VOLUMES_SGIS +_m[0x85A0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_PACK_SUBSAMPLE_RATE_SGIX _m[0x0D00] = (1,) # GL_PACK_SWAP_BYTES _m[0x83F4] = (1,) # GL_PARALLEL_ARRAYS_INTEL _m[0x80EF] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/indirect_parameters.txt # GL_PARAMETER_BUFFER_BINDING_ARB @@ -1770,6 +1641,13 @@ def _L(*args): _m[0x8012] = (1,) # GL_SEPARABLE_2D_EXT _m[0x8DF8] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/ES2_compatibility.txt # GL_SHADER_BINARY_FORMATS _m[0x8DFA] = (1,) # GL_SHADER_COMPILER +_m[0x96F1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_ACTIVE_COUNT_ARM +_m[0x96F0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_COUNT_ARM +_m[0x96F6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_FMA_RATE_ARM +_m[0x96F3] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_MAX_WARP_COUNT_ARM +_m[0x96F4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PIXEL_RATE_ARM +_m[0x96F2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PRESENT_MASK_ARM +_m[0x96F5] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_TEXEL_RATE_ARM _m[0x82A6] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_ATOMIC _m[0x82A4] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_LOAD _m[0x82A5] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_STORE @@ -1786,9 +1664,12 @@ def _L(*args): _m[0x8B8C] = (1,) # GL_SHADING_LANGUAGE_VERSION _m[0x955B] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_BINDING_NV _m[0x9563] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_NV +_m[0x95B2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV _m[0x955E] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV +_m[0x95B1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV _m[0x955D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV _m[0x955C] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV +_m[0x96A4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_shading_rate.txt # GL_SHADING_RATE_QCOM _m[0x1601] = (1,) # GL_SHININESS _m[0x82AC] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST _m[0x82AE] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE @@ -2165,6 +2046,7 @@ def _L(*args): _m[0x0CF4] = (1,) # GL_UNPACK_SKIP_PIXELS _m[0x0CF3] = (1,) # GL_UNPACK_SKIP_ROWS _m[0x8132] = (1,) # GL_UNPACK_SKIP_VOLUMES_SGIS +_m[0x85A1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0CF0] = (1,) # GL_UNPACK_SWAP_BYTES _m[0x954A] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NVX/NVX_gpu_multicast2.txt # GL_UPLOAD_GPU_MASK_NVX _m[0x8B83] = (1,) # GL_VALIDATE_STATUS diff --git a/OpenGL/raw/GLSC2/SC/VERSION_2_0.py b/OpenGL/raw/GLSC2/SC/VERSION_2_0.py index 97e0ee68..495e357c 100644 --- a/OpenGL/raw/GLSC2/SC/VERSION_2_0.py +++ b/OpenGL/raw/GLSC2/SC/VERSION_2_0.py @@ -141,7 +141,6 @@ def _f( function ): GL_NONE=_C('GL_NONE',0) GL_NOTEQUAL=_C('GL_NOTEQUAL',0x0205) GL_NO_ERROR=_C('GL_NO_ERROR',0) -GL_NO_ERROR=_C('GL_NO_ERROR',0) GL_NUM_COMPRESSED_TEXTURE_FORMATS=_C('GL_NUM_COMPRESSED_TEXTURE_FORMATS',0x86A2) GL_NUM_PROGRAM_BINARY_FORMATS=_C('GL_NUM_PROGRAM_BINARY_FORMATS',0x87FE) GL_ONE=_C('GL_ONE',1) diff --git a/OpenGL/raw/GLSC2/_glgets.py b/OpenGL/raw/GLSC2/_glgets.py index f7bcc317..9b76fb1c 100644 --- a/OpenGL/raw/GLSC2/_glgets.py +++ b/OpenGL/raw/GLSC2/_glgets.py @@ -5,139 +5,6 @@ def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {} -# _m[0x8892] = TODO # GL_ARRAY_BUFFER -# _m[0x92C0] = TODO # GL_ATOMIC_COUNTER_BUFFER -# _m[0x8777] = TODO # GL_BUMP_NUM_TEX_UNITS_ATI -# _m[0x8775] = TODO # GL_BUMP_ROT_MATRIX_ATI -# _m[0x8776] = TODO # GL_BUMP_ROT_MATRIX_SIZE_ATI -# _m[0x8778] = TODO # GL_BUMP_TEX_UNITS_ATI -# _m[0x0A00] = TODO # GL_COEFF -# _m[0x8576] = TODO # GL_CONSTANT -# _m[0x8095] = TODO # GL_DETAIL_TEXTURE_2D_SGIS -# _m[0x809C] = TODO # GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS -# _m[0x809A] = TODO # GL_DETAIL_TEXTURE_LEVEL_SGIS -# _m[0x809B] = TODO # GL_DETAIL_TEXTURE_MODE_SGIS -# _m[0x9599] = TODO # GL_DEVICE_LUID_EXT -# _m[0x959A] = TODO # GL_DEVICE_NODE_MASK_EXT -# _m[0x9597] = TODO # GL_DEVICE_UUID_EXT -# _m[0x90EE] = TODO # GL_DISPATCH_INDIRECT_BUFFER -# _m[0x0A02] = TODO # GL_DOMAIN -# _m[0x8F3F] = TODO # GL_DRAW_INDIRECT_BUFFER -# _m[0x9598] = TODO # GL_DRIVER_UUID_EXT -# _m[0x8124] = TODO # GL_DUAL_TEXTURE_SELECT_SGIS -# _m[0x8893] = TODO # GL_ELEMENT_ARRAY_BUFFER -# _m[0x86C0] = TODO # GL_EVAL_2D_NV -# _m[0x86C1] = TODO # GL_EVAL_TRIANGULAR_2D_NV -# _m[0x2400] = TODO # GL_EYE_LINEAR -# _m[0x8210] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT -# _m[0x8211] = TODO # GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT -# _m[0x8DA7] = TODO # GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -# _m[0x8CD1] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -# _m[0x8CD0] = TODO # GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -# _m[0x8CD3] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES -# _m[0x8CD4] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -# _m[0x8CD2] = TODO # GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES -# _m[0x8191] = TODO # GL_GENERATE_MIPMAP_SGIS -# _m[0x8917] = TODO # GL_GEOMETRY_INPUT_TYPE -# _m[0x8918] = TODO # GL_GEOMETRY_OUTPUT_TYPE -# _m[0x8916] = TODO # GL_GEOMETRY_VERTICES_OUT -# _m[0x815E] = TODO # GL_IMAGE_CUBIC_WEIGHT_HP -# _m[0x815C] = TODO # GL_IMAGE_MAG_FILTER_HP -# _m[0x815D] = TODO # GL_IMAGE_MIN_FILTER_HP -# _m[0x8159] = TODO # GL_IMAGE_ROTATE_ANGLE_HP -# _m[0x815A] = TODO # GL_IMAGE_ROTATE_ORIGIN_X_HP -# _m[0x815B] = TODO # GL_IMAGE_ROTATE_ORIGIN_Y_HP -# _m[0x8155] = TODO # GL_IMAGE_SCALE_X_HP -# _m[0x8156] = TODO # GL_IMAGE_SCALE_Y_HP -# _m[0x8157] = TODO # GL_IMAGE_TRANSLATE_X_HP -# _m[0x8158] = TODO # GL_IMAGE_TRANSLATE_Y_HP -# _m[0x8182] = TODO # GL_LIST_PRIORITY_SGIX -# _m[0] = TODO # GL_NONE -# _m[0x9596] = TODO # GL_NUM_DEVICE_UUIDS_EXT -# _m[0x2401] = TODO # GL_OBJECT_LINEAR -# _m[0x0A01] = TODO # GL_ORDER -# _m[0x85A0] = TODO # GL_PACK_SUBSAMPLE_RATE_SGIX -# _m[0x80EE] = TODO # GL_PARAMETER_BUFFER -# _m[0x908A] = TODO # GL_PATH_OBJECT_BOUNDING_BOX_NV -# _m[0x88EB] = TODO # GL_PIXEL_PACK_BUFFER -# _m[0x88EC] = TODO # GL_PIXEL_UNPACK_BUFFER -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY -# _m[0x8C19] = TODO # GL_PROXY_TEXTURE_1D_ARRAY_EXT -# _m[0x8063] = TODO # GL_PROXY_TEXTURE_1D_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY -# _m[0x8C1B] = TODO # GL_PROXY_TEXTURE_2D_ARRAY_EXT -# _m[0x8064] = TODO # GL_PROXY_TEXTURE_2D_EXT -# _m[0x9101] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE -# _m[0x9103] = TODO # GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D -# _m[0x8070] = TODO # GL_PROXY_TEXTURE_3D_EXT -# _m[0x8135] = TODO # GL_PROXY_TEXTURE_4D_SGIS -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARB -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY -# _m[0x900B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x851B] = TODO # GL_PROXY_TEXTURE_CUBE_MAP_EXT -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_ARB -# _m[0x84F7] = TODO # GL_PROXY_TEXTURE_RECTANGLE_NV -# _m[0x8125] = TODO # GL_QUAD_TEXTURE_SELECT_SGIS -# _m[0x9192] = TODO # GL_QUERY_BUFFER -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_EXT -# _m[0x8D53] = TODO # GL_RENDERBUFFER_ALPHA_SIZE_OES -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_EXT -# _m[0x8D52] = TODO # GL_RENDERBUFFER_BLUE_SIZE_OES -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_EXT -# _m[0x8D54] = TODO # GL_RENDERBUFFER_DEPTH_SIZE_OES -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_EXT -# _m[0x8D51] = TODO # GL_RENDERBUFFER_GREEN_SIZE_OES -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_EXT -# _m[0x8D43] = TODO # GL_RENDERBUFFER_HEIGHT_OES -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -# _m[0x8D44] = TODO # GL_RENDERBUFFER_INTERNAL_FORMAT_OES -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_EXT -# _m[0x8D50] = TODO # GL_RENDERBUFFER_RED_SIZE_OES -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_ANGLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_APPLE -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_EXT -# _m[0x8CAB] = TODO # GL_RENDERBUFFER_SAMPLES_NV -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_EXT -# _m[0x8D55] = TODO # GL_RENDERBUFFER_STENCIL_SIZE_OES -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_EXT -# _m[0x8D42] = TODO # GL_RENDERBUFFER_WIDTH_OES -# _m[0x80BF] = TODO # GL_SHADOW_AMBIENT_SGIX -# _m[0x81FB] = TODO # GL_SHARED_TEXTURE_PALETTE_EXT -# _m[0x80B0] = TODO # GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS -# _m[0x9100] = TODO # GL_TEXTURE_2D_MULTISAMPLE -# _m[0x9102] = TODO # GL_TEXTURE_2D_MULTISAMPLE_ARRAY -# _m[0x8136] = TODO # GL_TEXTURE_4DSIZE_SGIS -# _m[0x8175] = TODO # GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX -# _m[0x1003] = TODO # GL_TEXTURE_COMPONENTS -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_ARB -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_EXT -# _m[0x9009] = TODO # GL_TEXTURE_CUBE_MAP_ARRAY_OES -# _m[0x8516] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_X -# _m[0x8518] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -# _m[0x851A] = TODO # GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -# _m[0x8515] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_X -# _m[0x8517] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Y -# _m[0x8519] = TODO # GL_TEXTURE_CUBE_MAP_POSITIVE_Z -# _m[0x8147] = TODO # GL_TEXTURE_FILTER4_SIZE_SGIS -# _m[0x819D] = TODO # GL_TEXTURE_GEQUAL_R_SGIX -# _m[0x819C] = TODO # GL_TEXTURE_LEQUAL_R_SGIX -# _m[0x84FE] = TODO # GL_TEXTURE_MAX_ANISOTROPY -# _m[0x8C8E] = TODO # GL_TRANSFORM_FEEDBACK_BUFFER -# _m[0x8A11] = TODO # GL_UNIFORM_BUFFER -# _m[0x85A1] = TODO # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0D5B] = (1,) # GL_ACCUM_ALPHA_BITS _m[0x0D5A] = (1,) # GL_ACCUM_BLUE_BITS _m[0x0B80] = (4,) # GL_ACCUM_CLEAR_VALUE @@ -1190,6 +1057,7 @@ def _L(*args): _m[0x0D39] = (1,) # GL_MAX_TEXTURE_STACK_DEPTH _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS _m[0x84E2] = (1,) # GL_MAX_TEXTURE_UNITS_ARB +_m[0x95B6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_timeline_semaphore.txt # GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV _m[0x862F] = (1,) # GL_MAX_TRACK_MATRICES_NV _m[0x862E] = (1,) # GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV _m[0x8E70] = (1,) # GL_MAX_TRANSFORM_FEEDBACK_BUFFERS @@ -1300,6 +1168,8 @@ def _L(*args): _m[0x0BA6] = (4, 4) # GL_MODELVIEW_MATRIX _m[0x898D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/OES/OES_matrix_get.txt # GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES _m[0x0BA3] = (1,) # GL_MODELVIEW_STACK_DEPTH +_m[0x8C90] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM +_m[0x8C91] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_motion_estimation.txt # GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM _m[0x92BA] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_GPUS_NV _m[0x9549] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_gpu_multicast.txt # GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV _m[0x809D] = (1,) # GL_MULTISAMPLE @@ -1409,6 +1279,7 @@ def _L(*args): _m[0x0D04] = (1,) # GL_PACK_SKIP_PIXELS _m[0x0D03] = (1,) # GL_PACK_SKIP_ROWS _m[0x8130] = (1,) # GL_PACK_SKIP_VOLUMES_SGIS +_m[0x85A0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_PACK_SUBSAMPLE_RATE_SGIX _m[0x0D00] = (1,) # GL_PACK_SWAP_BYTES _m[0x83F4] = (1,) # GL_PARALLEL_ARRAYS_INTEL _m[0x80EF] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/indirect_parameters.txt # GL_PARAMETER_BUFFER_BINDING_ARB @@ -1770,6 +1641,13 @@ def _L(*args): _m[0x8012] = (1,) # GL_SEPARABLE_2D_EXT _m[0x8DF8] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/ES2_compatibility.txt # GL_SHADER_BINARY_FORMATS _m[0x8DFA] = (1,) # GL_SHADER_COMPILER +_m[0x96F1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_ACTIVE_COUNT_ARM +_m[0x96F0] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_COUNT_ARM +_m[0x96F6] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_FMA_RATE_ARM +_m[0x96F3] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_MAX_WARP_COUNT_ARM +_m[0x96F4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PIXEL_RATE_ARM +_m[0x96F2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_PRESENT_MASK_ARM +_m[0x96F5] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/ARM/ARM_shader_core_properties.txt # GL_SHADER_CORE_TEXEL_RATE_ARM _m[0x82A6] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_ATOMIC _m[0x82A4] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_LOAD _m[0x82A5] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SHADER_IMAGE_STORE @@ -1786,9 +1664,12 @@ def _L(*args): _m[0x8B8C] = (1,) # GL_SHADING_LANGUAGE_VERSION _m[0x955B] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_BINDING_NV _m[0x9563] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_NV +_m[0x95B2] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV _m[0x955E] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV +_m[0x95B1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_primitive_shading_rate.txt # GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV _m[0x955D] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV _m[0x955C] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NV/NV_shading_rate_image.txt # GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV +_m[0x96A4] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/QCOM/QCOM_shading_rate.txt # GL_SHADING_RATE_QCOM _m[0x1601] = (1,) # GL_SHININESS _m[0x82AC] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST _m[0x82AE] = (1,)#TODO Review http://www.opengl.org/registry/specs//ARB/internalformat_query2.txt # GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE @@ -2165,6 +2046,7 @@ def _L(*args): _m[0x0CF4] = (1,) # GL_UNPACK_SKIP_PIXELS _m[0x0CF3] = (1,) # GL_UNPACK_SKIP_ROWS _m[0x8132] = (1,) # GL_UNPACK_SKIP_VOLUMES_SGIS +_m[0x85A1] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/SGIX/SGIX_subsample.txt # GL_UNPACK_SUBSAMPLE_RATE_SGIX _m[0x0CF0] = (1,) # GL_UNPACK_SWAP_BYTES _m[0x954A] = (1,)#TODO Review /home/mcfletch/OpenGL-dev/pyopengl/src/khronosapi/extensions/NVX/NVX_gpu_multicast2.txt # GL_UPLOAD_GPU_MASK_NVX _m[0x8B83] = (1,) # GL_VALIDATE_STATUS diff --git a/OpenGL/raw/WGL/VERSION/WGL_1_0.py b/OpenGL/raw/WGL/VERSION/WGL_1_0.py index 431cc63f..4e6833f1 100644 --- a/OpenGL/raw/WGL/VERSION/WGL_1_0.py +++ b/OpenGL/raw/WGL/VERSION/WGL_1_0.py @@ -51,8 +51,8 @@ def ChoosePixelFormat(hDc,pPfd):pass @_p.types(_cs.c_int,_cs.HDC,_cs.c_int,_cs.UINT,ctypes.POINTER(_cs.PIXELFORMATDESCRIPTOR)) def DescribePixelFormat(hdc,ipfd,cjpfd,ppfd):pass @_f -@_p.types(_cs.UINT,_cs.HENHMETAFILE,ctypes.POINTER(_cs.PIXELFORMATDESCRIPTOR)) -def GetEnhMetaFilePixelFormat(hemf,ppfd):pass +@_p.types(_cs.UINT,_cs.HENHMETAFILE,_cs.UINT,ctypes.POINTER(_cs.PIXELFORMATDESCRIPTOR)) +def GetEnhMetaFilePixelFormat(hemf,cbBuffer,ppfd):pass @_f @_p.types(_cs.c_int,_cs.HDC) def GetPixelFormat(hdc):pass