opengl-definitions 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/opengl-definitions/extensions/GLX_MESA_query_renderer.rb +2 -2
  3. data/lib/opengl-definitions/extensions/GL_AMD_debug_output.rb +3 -3
  4. data/lib/opengl-definitions/extensions/GL_AMD_performance_monitor.rb +2 -2
  5. data/lib/opengl-definitions/extensions/GL_ANGLE_translated_shader_source.rb +1 -1
  6. data/lib/opengl-definitions/extensions/GL_ARB_blend_func_extended.rb +2 -2
  7. data/lib/opengl-definitions/extensions/GL_ARB_debug_output.rb +3 -3
  8. data/lib/opengl-definitions/extensions/GL_ARB_gl_spirv.rb +1 -1
  9. data/lib/opengl-definitions/extensions/GL_ARB_program_interface_query.rb +4 -4
  10. data/lib/opengl-definitions/extensions/GL_ARB_separate_shader_objects.rb +1 -1
  11. data/lib/opengl-definitions/extensions/GL_ARB_shader_subroutine.rb +4 -4
  12. data/lib/opengl-definitions/extensions/GL_ARB_shading_language_include.rb +5 -5
  13. data/lib/opengl-definitions/extensions/GL_ARB_uniform_buffer_object.rb +3 -3
  14. data/lib/opengl-definitions/extensions/GL_EXT_blend_func_extended.rb +4 -4
  15. data/lib/opengl-definitions/extensions/GL_EXT_debug_label.rb +2 -2
  16. data/lib/opengl-definitions/extensions/GL_EXT_debug_marker.rb +2 -2
  17. data/lib/opengl-definitions/extensions/GL_EXT_gpu_shader4.rb +2 -2
  18. data/lib/opengl-definitions/extensions/GL_EXT_separate_shader_objects.rb +2 -2
  19. data/lib/opengl-definitions/extensions/GL_EXT_transform_feedback.rb +1 -1
  20. data/lib/opengl-definitions/extensions/GL_INTEL_performance_query.rb +3 -3
  21. data/lib/opengl-definitions/extensions/GL_KHR_debug.rb +16 -16
  22. data/lib/opengl-definitions/extensions/GL_NV_draw_vulkan_image.rb +1 -1
  23. data/lib/opengl-definitions/extensions/GL_NV_query_resource_tag.rb +1 -1
  24. data/lib/opengl-definitions/extensions/GL_NV_transform_feedback.rb +3 -3
  25. data/lib/opengl-definitions/extensions/GL_QCOM_driver_control.rb +1 -1
  26. data/lib/opengl-definitions/extensions/GL_QCOM_extended_get2.rb +1 -1
  27. data/lib/opengl-definitions/extensions/WGL_ARB_extensions_string.rb +1 -1
  28. data/lib/opengl-definitions/extensions/WGL_EXT_extensions_string.rb +1 -1
  29. data/lib/opengl-definitions/version.rb +1 -1
  30. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64850f906c99963d7dff34e14bccfa2c5afcf065faa85d642dd8217327cd1ac5
4
- data.tar.gz: 80831e13af06d225132ef57be7c53d949f7adff4b7a4fa6fad4d2b005603a4be
3
+ metadata.gz: d92bca0fc1769f7118176a1fb6396c08c24af8f5d584878878c6ff4a96287ae0
4
+ data.tar.gz: 85623a3ea7aa0f2cc3d74793e150c8c930815335f322fef42302704f6dc4f62e
5
5
  SHA512:
6
- metadata.gz: e1c961e64159effaadfab7d43208a42bdd7cd4c42998684e7d4f52d6b84c3d483853385372e82af95740c71467d26cc83b9c4208815bb9dd330241ec9b5b51b4
7
- data.tar.gz: 177979d449700704244d46894f7381f4e7a76c89a32b78a025544d764a2b0cb4b0250bfac09af56e99909da26163a95ef12b9c8e268094b6691b61160b0b70f2
6
+ metadata.gz: 3d5a33666b2d538d47478557a64f85fc35778858c566e253688b6010531045ae78001f67bf69afd607c26fbb14e45ef9227b24f690830ce7bce7bab68572d1f3
7
+ data.tar.gz: 719398c906cadfe0d2c8d2076c8374ef194f1de5ee652e05c4feb548347da2cda1419ae4f34d0c40416fad021c3e10679035d1bd68b11a2001a22ab5354e279b
@@ -16,8 +16,8 @@ module GLX_MESA_query_renderer
16
16
 
17
17
  Functions = {
18
18
  def glXQueryCurrentRendererIntegerMESA(attribute, value) end => [ :Bool, :int, :pointer ].freeze,
19
- def glXQueryCurrentRendererStringMESA(attribute) end => [ :pointer, :int ].freeze,
19
+ def glXQueryCurrentRendererStringMESA(attribute) end => [ :string, :int ].freeze,
20
20
  def glXQueryRendererIntegerMESA(dpy, screen, renderer, attribute, value) end => [ :Bool, :pointer, :int, :int, :int, :pointer ].freeze,
21
- def glXQueryRendererStringMESA(dpy, screen, renderer, attribute) end => [ :pointer, :pointer, :int, :int, :int ].freeze,
21
+ def glXQueryRendererStringMESA(dpy, screen, renderer, attribute) end => [ :string, :pointer, :int, :int, :int ].freeze,
22
22
  }.freeze
23
23
  end
@@ -17,13 +17,13 @@ module GL_AMD_debug_output
17
17
  end
18
18
 
19
19
  Callbacks = {
20
- GLDEBUGPROCAMD: [ :void, :GLuint, :GLenum, :GLenum, :GLsizei, :pointer, :pointer ].freeze,
20
+ GLDEBUGPROCAMD: [ :void, :GLuint, :GLenum, :GLenum, :GLsizei, :string, :pointer ].freeze,
21
21
  }.freeze
22
22
 
23
23
  Functions = {
24
24
  def glDebugMessageEnableAMD(category, severity, count, ids, enabled) end => [ :void, :GLenum, :GLenum, :GLsizei, :pointer, :GLboolean ].freeze,
25
- def glDebugMessageInsertAMD(category, severity, id, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
25
+ def glDebugMessageInsertAMD(category, severity, id, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLsizei, :string ].freeze,
26
26
  def glDebugMessageCallbackAMD(callback, userParam) end => [ :void, :GLDEBUGPROCAMD, :pointer ].freeze,
27
- def glGetDebugMessageLogAMD(count, bufsize, categories, severities, ids, lengths, message) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
27
+ def glGetDebugMessageLogAMD(count, bufsize, categories, severities, ids, lengths, message) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :string ].freeze,
28
28
  }.freeze
29
29
  end
@@ -12,8 +12,8 @@ module GL_AMD_performance_monitor
12
12
  Functions = {
13
13
  def glGetPerfMonitorGroupsAMD(numGroups, groupsSize, groups) end => [ :void, :pointer, :GLsizei, :pointer ].freeze,
14
14
  def glGetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, counters) end => [ :void, :GLuint, :pointer, :pointer, :GLsizei, :pointer ].freeze,
15
- def glGetPerfMonitorGroupStringAMD(group, bufSize, length, groupString) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
16
- def glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
15
+ def glGetPerfMonitorGroupStringAMD(group, bufSize, length, groupString) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
16
+ def glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :string ].freeze,
17
17
  def glGetPerfMonitorCounterInfoAMD(group, counter, pname, data) end => [ :void, :GLuint, :GLuint, :GLenum, :pointer ].freeze,
18
18
  def glGenPerfMonitorsAMD(n, monitors) end => [ :void, :GLsizei, :pointer ].freeze,
19
19
  def glDeletePerfMonitorsAMD(n, monitors) end => [ :void, :GLsizei, :pointer ].freeze,
@@ -4,6 +4,6 @@ module GL_ANGLE_translated_shader_source
4
4
  end
5
5
 
6
6
  Functions = {
7
- def glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
7
+ def glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
8
8
  }.freeze
9
9
  end
@@ -8,7 +8,7 @@ module GL_ARB_blend_func_extended
8
8
  end
9
9
 
10
10
  Functions = {
11
- def glBindFragDataLocationIndexed(program, colorNumber, index, name) end => [ :void, :GLuint, :GLuint, :GLuint, :pointer ].freeze,
12
- def glGetFragDataIndex(program, name) end => [ :GLint, :GLuint, :pointer ].freeze,
11
+ def glBindFragDataLocationIndexed(program, colorNumber, index, name) end => [ :void, :GLuint, :GLuint, :GLuint, :string ].freeze,
12
+ def glGetFragDataIndex(program, name) end => [ :GLint, :GLuint, :string ].freeze,
13
13
  }.freeze
14
14
  end
@@ -25,13 +25,13 @@ module GL_ARB_debug_output
25
25
  end
26
26
 
27
27
  Callbacks = {
28
- GLDEBUGPROCARB: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer, :pointer ].freeze,
28
+ GLDEBUGPROCARB: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string, :pointer ].freeze,
29
29
  }.freeze
30
30
 
31
31
  Functions = {
32
32
  def glDebugMessageControlARB(source, type, severity, count, ids, enabled) end => [ :void, :GLenum, :GLenum, :GLenum, :GLsizei, :pointer, :GLboolean ].freeze,
33
- def glDebugMessageInsertARB(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer ].freeze,
33
+ def glDebugMessageInsertARB(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string ].freeze,
34
34
  def glDebugMessageCallbackARB(callback, userParam) end => [ :void, :GLDEBUGPROCARB, :pointer ].freeze,
35
- def glGetDebugMessageLogARB(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
35
+ def glGetDebugMessageLogARB(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :string ].freeze,
36
36
  }.freeze
37
37
  end
@@ -5,6 +5,6 @@ module GL_ARB_gl_spirv
5
5
  end
6
6
 
7
7
  Functions = {
8
- def glSpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue) end => [ :void, :GLuint, :pointer, :GLuint, :pointer, :pointer ].freeze,
8
+ def glSpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue) end => [ :void, :GLuint, :string, :GLuint, :pointer, :pointer ].freeze,
9
9
  }.freeze
10
10
  end
@@ -54,10 +54,10 @@ module GL_ARB_program_interface_query
54
54
 
55
55
  Functions = {
56
56
  def glGetProgramInterfaceiv(program, programInterface, pname, params) end => [ :void, :GLuint, :GLenum, :GLenum, :pointer ].freeze,
57
- def glGetProgramResourceIndex(program, programInterface, name) end => [ :GLuint, :GLuint, :GLenum, :pointer ].freeze,
58
- def glGetProgramResourceName(program, programInterface, index, bufSize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
57
+ def glGetProgramResourceIndex(program, programInterface, name) end => [ :GLuint, :GLuint, :GLenum, :string ].freeze,
58
+ def glGetProgramResourceName(program, programInterface, index, bufSize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
59
59
  def glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :GLsizei, :pointer, :pointer ].freeze,
60
- def glGetProgramResourceLocation(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
61
- def glGetProgramResourceLocationIndex(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
60
+ def glGetProgramResourceLocation(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :string ].freeze,
61
+ def glGetProgramResourceLocationIndex(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :string ].freeze,
62
62
  }.freeze
63
63
  end
@@ -72,6 +72,6 @@ module GL_ARB_separate_shader_objects
72
72
  def glProgramUniformMatrix3x4dv(program, location, count, transpose, value) end => [ :void, :GLuint, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
73
73
  def glProgramUniformMatrix4x3dv(program, location, count, transpose, value) end => [ :void, :GLuint, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
74
74
  def glValidateProgramPipeline(pipeline) end => [ :void, :GLuint ].freeze,
75
- def glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
75
+ def glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
76
76
  }.freeze
77
77
  end
@@ -14,11 +14,11 @@ module GL_ARB_shader_subroutine
14
14
  end
15
15
 
16
16
  Functions = {
17
- def glGetSubroutineUniformLocation(program, shadertype, name) end => [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
18
- def glGetSubroutineIndex(program, shadertype, name) end => [ :GLuint, :GLuint, :GLenum, :pointer ].freeze,
17
+ def glGetSubroutineUniformLocation(program, shadertype, name) end => [ :GLint, :GLuint, :GLenum, :string ].freeze,
18
+ def glGetSubroutineIndex(program, shadertype, name) end => [ :GLuint, :GLuint, :GLenum, :string ].freeze,
19
19
  def glGetActiveSubroutineUniformiv(program, shadertype, index, pname, values) end => [ :void, :GLuint, :GLenum, :GLuint, :GLenum, :pointer ].freeze,
20
- def glGetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
21
- def glGetActiveSubroutineName(program, shadertype, index, bufsize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
20
+ def glGetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
21
+ def glGetActiveSubroutineName(program, shadertype, index, bufsize, length, name) end => [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
22
22
  def glUniformSubroutinesuiv(shadertype, count, indices) end => [ :void, :GLenum, :GLsizei, :pointer ].freeze,
23
23
  def glGetUniformSubroutineuiv(shadertype, location, params) end => [ :void, :GLenum, :GLint, :pointer ].freeze,
24
24
  def glGetProgramStageiv(program, shadertype, pname, values) end => [ :void, :GLuint, :GLenum, :GLenum, :pointer ].freeze,
@@ -6,11 +6,11 @@ module GL_ARB_shading_language_include
6
6
  end
7
7
 
8
8
  Functions = {
9
- def glNamedStringARB(type, namelen, name, stringlen, string) end => [ :void, :GLenum, :GLint, :pointer, :GLint, :pointer ].freeze,
10
- def glDeleteNamedStringARB(namelen, name) end => [ :void, :GLint, :pointer ].freeze,
9
+ def glNamedStringARB(type, namelen, name, stringlen, string) end => [ :void, :GLenum, :GLint, :string, :GLint, :string ].freeze,
10
+ def glDeleteNamedStringARB(namelen, name) end => [ :void, :GLint, :string ].freeze,
11
11
  def glCompileShaderIncludeARB(shader, count, path, length) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
12
- def glIsNamedStringARB(namelen, name) end => [ :GLboolean, :GLint, :pointer ].freeze,
13
- def glGetNamedStringARB(namelen, name, bufSize, stringlen, string) end => [ :void, :GLint, :pointer, :GLsizei, :pointer, :pointer ].freeze,
14
- def glGetNamedStringivARB(namelen, name, pname, params) end => [ :void, :GLint, :pointer, :GLenum, :pointer ].freeze,
12
+ def glIsNamedStringARB(namelen, name) end => [ :GLboolean, :GLint, :string ].freeze,
13
+ def glGetNamedStringARB(namelen, name, bufSize, stringlen, string) end => [ :void, :GLint, :string, :GLsizei, :pointer, :string ].freeze,
14
+ def glGetNamedStringivARB(namelen, name, pname, params) end => [ :void, :GLint, :string, :GLenum, :pointer ].freeze,
15
15
  }.freeze
16
16
  end
@@ -38,10 +38,10 @@ module GL_ARB_uniform_buffer_object
38
38
  Functions = {
39
39
  def glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
40
40
  def glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params) end => [ :void, :GLuint, :GLsizei, :pointer, :GLenum, :pointer ].freeze,
41
- def glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
42
- def glGetUniformBlockIndex(program, uniformBlockName) end => [ :GLuint, :GLuint, :pointer ].freeze,
41
+ def glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :string ].freeze,
42
+ def glGetUniformBlockIndex(program, uniformBlockName) end => [ :GLuint, :GLuint, :string ].freeze,
43
43
  def glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params) end => [ :void, :GLuint, :GLuint, :GLenum, :pointer ].freeze,
44
- def glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
44
+ def glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :string ].freeze,
45
45
  def glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) end => [ :void, :GLuint, :GLuint, :GLuint ].freeze,
46
46
  def glBindBufferRange(target, index, buffer, offset, size) end => [ :void, :GLenum, :GLuint, :GLuint, :GLintptr, :GLsizeiptr ].freeze,
47
47
  def glBindBufferBase(target, index, buffer) end => [ :void, :GLenum, :GLuint, :GLuint ].freeze,
@@ -10,9 +10,9 @@ module GL_EXT_blend_func_extended
10
10
  end
11
11
 
12
12
  Functions = {
13
- def glBindFragDataLocationIndexedEXT(program, colorNumber, index, name) end => [ :void, :GLuint, :GLuint, :GLuint, :pointer ].freeze,
14
- def glBindFragDataLocationEXT(program, color, name) end => [ :void, :GLuint, :GLuint, :pointer ].freeze,
15
- def glGetProgramResourceLocationIndexEXT(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
16
- def glGetFragDataIndexEXT(program, name) end => [ :GLint, :GLuint, :pointer ].freeze,
13
+ def glBindFragDataLocationIndexedEXT(program, colorNumber, index, name) end => [ :void, :GLuint, :GLuint, :GLuint, :string ].freeze,
14
+ def glBindFragDataLocationEXT(program, color, name) end => [ :void, :GLuint, :GLuint, :string ].freeze,
15
+ def glGetProgramResourceLocationIndexEXT(program, programInterface, name) end => [ :GLint, :GLuint, :GLenum, :string ].freeze,
16
+ def glGetFragDataIndexEXT(program, name) end => [ :GLint, :GLuint, :string ].freeze,
17
17
  }.freeze
18
18
  end
@@ -11,7 +11,7 @@ module GL_EXT_debug_label
11
11
  end
12
12
 
13
13
  Functions = {
14
- def glLabelObjectEXT(type, object, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
15
- def glGetObjectLabelEXT(type, object, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
14
+ def glLabelObjectEXT(type, object, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :string ].freeze,
15
+ def glGetObjectLabelEXT(type, object, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
16
16
  }.freeze
17
17
  end
@@ -1,7 +1,7 @@
1
1
  module GL_EXT_debug_marker
2
2
  Functions = {
3
- def glInsertEventMarkerEXT(length, marker) end => [ :void, :GLsizei, :pointer ].freeze,
4
- def glPushGroupMarkerEXT(length, marker) end => [ :void, :GLsizei, :pointer ].freeze,
3
+ def glInsertEventMarkerEXT(length, marker) end => [ :void, :GLsizei, :string ].freeze,
4
+ def glPushGroupMarkerEXT(length, marker) end => [ :void, :GLsizei, :string ].freeze,
5
5
  def glPopGroupMarkerEXT() end => [ :void ].freeze,
6
6
  }.freeze
7
7
  end
@@ -32,8 +32,8 @@ module GL_EXT_gpu_shader4
32
32
 
33
33
  Functions = {
34
34
  def glGetUniformuivEXT(program, location, params) end => [ :void, :GLuint, :GLint, :pointer ].freeze,
35
- def glBindFragDataLocationEXT(program, color, name) end => [ :void, :GLuint, :GLuint, :pointer ].freeze,
36
- def glGetFragDataLocationEXT(program, name) end => [ :GLint, :GLuint, :pointer ].freeze,
35
+ def glBindFragDataLocationEXT(program, color, name) end => [ :void, :GLuint, :GLuint, :string ].freeze,
36
+ def glGetFragDataLocationEXT(program, name) end => [ :GLint, :GLuint, :string ].freeze,
37
37
  def glUniform1uiEXT(location, v0) end => [ :void, :GLint, :GLuint ].freeze,
38
38
  def glUniform2uiEXT(location, v0, v1) end => [ :void, :GLint, :GLuint, :GLuint ].freeze,
39
39
  def glUniform3uiEXT(location, v0, v1, v2) end => [ :void, :GLint, :GLuint, :GLuint, :GLuint ].freeze,
@@ -11,13 +11,13 @@ module GL_EXT_separate_shader_objects
11
11
  Functions = {
12
12
  def glUseShaderProgramEXT(type, program) end => [ :void, :GLenum, :GLuint ].freeze,
13
13
  def glActiveProgramEXT(program) end => [ :void, :GLuint ].freeze,
14
- def glCreateShaderProgramEXT(type, string) end => [ :GLuint, :GLenum, :pointer ].freeze,
14
+ def glCreateShaderProgramEXT(type, string) end => [ :GLuint, :GLenum, :string ].freeze,
15
15
  def glActiveShaderProgramEXT(pipeline, program) end => [ :void, :GLuint, :GLuint ].freeze,
16
16
  def glBindProgramPipelineEXT(pipeline) end => [ :void, :GLuint ].freeze,
17
17
  def glCreateShaderProgramvEXT(type, count, strings) end => [ :GLuint, :GLenum, :GLsizei, :pointer ].freeze,
18
18
  def glDeleteProgramPipelinesEXT(n, pipelines) end => [ :void, :GLsizei, :pointer ].freeze,
19
19
  def glGenProgramPipelinesEXT(n, pipelines) end => [ :void, :GLsizei, :pointer ].freeze,
20
- def glGetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
20
+ def glGetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
21
21
  def glGetProgramPipelineivEXT(pipeline, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
22
22
  def glIsProgramPipelineEXT(pipeline) end => [ :GLboolean, :GLuint ].freeze,
23
23
  def glProgramParameteriEXT(program, pname, value) end => [ :void, :GLuint, :GLenum, :GLint ].freeze,
@@ -24,6 +24,6 @@ module GL_EXT_transform_feedback
24
24
  def glBindBufferOffsetEXT(target, index, buffer, offset) end => [ :void, :GLenum, :GLuint, :GLuint, :GLintptr ].freeze,
25
25
  def glBindBufferBaseEXT(target, index, buffer) end => [ :void, :GLenum, :GLuint, :GLuint ].freeze,
26
26
  def glTransformFeedbackVaryingsEXT(program, count, varyings, bufferMode) end => [ :void, :GLuint, :GLsizei, :pointer, :GLenum ].freeze,
27
- def glGetTransformFeedbackVaryingEXT(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer ].freeze,
27
+ def glGetTransformFeedbackVaryingEXT(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
28
28
  }.freeze
29
29
  end
@@ -29,9 +29,9 @@ module GL_INTEL_performance_query
29
29
  def glEndPerfQueryINTEL(queryHandle) end => [ :void, :GLuint ].freeze,
30
30
  def glGetFirstPerfQueryIdINTEL(queryId) end => [ :void, :pointer ].freeze,
31
31
  def glGetNextPerfQueryIdINTEL(queryId, nextQueryId) end => [ :void, :GLuint, :pointer ].freeze,
32
- def glGetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue) end => [ :void, :GLuint, :GLuint, :GLuint, :pointer, :GLuint, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
32
+ def glGetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue) end => [ :void, :GLuint, :GLuint, :GLuint, :string, :GLuint, :string, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
33
33
  def glGetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, bytesWritten) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
34
- def glGetPerfQueryIdByNameINTEL(queryName, queryId) end => [ :void, :pointer, :pointer ].freeze,
35
- def glGetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask) end => [ :void, :GLuint, :GLuint, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
34
+ def glGetPerfQueryIdByNameINTEL(queryName, queryId) end => [ :void, :string, :pointer ].freeze,
35
+ def glGetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask) end => [ :void, :GLuint, :GLuint, :string, :pointer, :pointer, :pointer, :pointer ].freeze,
36
36
  }.freeze
37
37
  end
@@ -84,32 +84,32 @@ module GL_KHR_debug
84
84
  end
85
85
 
86
86
  Callbacks = {
87
- GLDEBUGPROC: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer, :pointer ].freeze,
88
- GLDEBUGPROCKHR: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer, :pointer ].freeze,
87
+ GLDEBUGPROC: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string, :pointer ].freeze,
88
+ GLDEBUGPROCKHR: [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string, :pointer ].freeze,
89
89
  }.freeze
90
90
 
91
91
  Functions = {
92
92
  def glDebugMessageControl(source, type, severity, count, ids, enabled) end => [ :void, :GLenum, :GLenum, :GLenum, :GLsizei, :pointer, :GLboolean ].freeze,
93
- def glDebugMessageInsert(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer ].freeze,
93
+ def glDebugMessageInsert(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string ].freeze,
94
94
  def glDebugMessageCallback(callback, userParam) end => [ :void, :GLDEBUGPROC, :pointer ].freeze,
95
- def glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
96
- def glPushDebugGroup(source, id, length, message) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
95
+ def glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :string ].freeze,
96
+ def glPushDebugGroup(source, id, length, message) end => [ :void, :GLenum, :GLuint, :GLsizei, :string ].freeze,
97
97
  def glPopDebugGroup() end => [ :void ].freeze,
98
- def glObjectLabel(identifier, name, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
99
- def glGetObjectLabel(identifier, name, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
100
- def glObjectPtrLabel(ptr, length, label) end => [ :void, :pointer, :GLsizei, :pointer ].freeze,
101
- def glGetObjectPtrLabel(ptr, bufSize, length, label) end => [ :void, :pointer, :GLsizei, :pointer, :pointer ].freeze,
98
+ def glObjectLabel(identifier, name, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :string ].freeze,
99
+ def glGetObjectLabel(identifier, name, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
100
+ def glObjectPtrLabel(ptr, length, label) end => [ :void, :pointer, :GLsizei, :string ].freeze,
101
+ def glGetObjectPtrLabel(ptr, bufSize, length, label) end => [ :void, :pointer, :GLsizei, :pointer, :string ].freeze,
102
102
  def glGetPointerv(pname, params) end => [ :void, :GLenum, :pointer ].freeze,
103
103
  def glDebugMessageControlKHR(source, type, severity, count, ids, enabled) end => [ :void, :GLenum, :GLenum, :GLenum, :GLsizei, :pointer, :GLboolean ].freeze,
104
- def glDebugMessageInsertKHR(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :pointer ].freeze,
104
+ def glDebugMessageInsertKHR(source, type, id, severity, length, buf) end => [ :void, :GLenum, :GLenum, :GLuint, :GLenum, :GLsizei, :string ].freeze,
105
105
  def glDebugMessageCallbackKHR(callback, userParam) end => [ :void, :GLDEBUGPROCKHR, :pointer ].freeze,
106
- def glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
107
- def glPushDebugGroupKHR(source, id, length, message) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
106
+ def glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog) end => [ :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer, :pointer, :string ].freeze,
107
+ def glPushDebugGroupKHR(source, id, length, message) end => [ :void, :GLenum, :GLuint, :GLsizei, :string ].freeze,
108
108
  def glPopDebugGroupKHR() end => [ :void ].freeze,
109
- def glObjectLabelKHR(identifier, name, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer ].freeze,
110
- def glGetObjectLabelKHR(identifier, name, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
111
- def glObjectPtrLabelKHR(ptr, length, label) end => [ :void, :pointer, :GLsizei, :pointer ].freeze,
112
- def glGetObjectPtrLabelKHR(ptr, bufSize, length, label) end => [ :void, :pointer, :GLsizei, :pointer, :pointer ].freeze,
109
+ def glObjectLabelKHR(identifier, name, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :string ].freeze,
110
+ def glGetObjectLabelKHR(identifier, name, bufSize, length, label) end => [ :void, :GLenum, :GLuint, :GLsizei, :pointer, :string ].freeze,
111
+ def glObjectPtrLabelKHR(ptr, length, label) end => [ :void, :pointer, :GLsizei, :string ].freeze,
112
+ def glGetObjectPtrLabelKHR(ptr, bufSize, length, label) end => [ :void, :pointer, :GLsizei, :pointer, :string ].freeze,
113
113
  def glGetPointervKHR(pname, params) end => [ :void, :GLenum, :pointer ].freeze,
114
114
  }.freeze
115
115
  end
@@ -1,7 +1,7 @@
1
1
  module GL_NV_draw_vulkan_image
2
2
  Functions = {
3
3
  def glDrawVkImageNV(vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1) end => [ :void, :GLuint64, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
4
- def glGetVkProcAddrNV(name) end => [ :GLVULKANPROCNV, :pointer ].freeze,
4
+ def glGetVkProcAddrNV(name) end => [ :GLVULKANPROCNV, :string ].freeze,
5
5
  def glWaitVkSemaphoreNV(vkSemaphore) end => [ :void, :GLuint64 ].freeze,
6
6
  def glSignalVkSemaphoreNV(vkSemaphore) end => [ :void, :GLuint64 ].freeze,
7
7
  def glSignalVkFenceNV(vkFence) end => [ :void, :GLuint64 ].freeze,
@@ -2,6 +2,6 @@ module GL_NV_query_resource_tag
2
2
  Functions = {
3
3
  def glGenQueryResourceTagNV(n, tagIds) end => [ :void, :GLsizei, :pointer ].freeze,
4
4
  def glDeleteQueryResourceTagNV(n, tagIds) end => [ :void, :GLsizei, :pointer ].freeze,
5
- def glQueryResourceTagNV(tagId, tagString) end => [ :void, :GLint, :pointer ].freeze,
5
+ def glQueryResourceTagNV(tagId, tagString) end => [ :void, :GLint, :string ].freeze,
6
6
  }.freeze
7
7
  end
@@ -41,9 +41,9 @@ module GL_NV_transform_feedback
41
41
  def glBindBufferOffsetNV(target, index, buffer, offset) end => [ :void, :GLenum, :GLuint, :GLuint, :GLintptr ].freeze,
42
42
  def glBindBufferBaseNV(target, index, buffer) end => [ :void, :GLenum, :GLuint, :GLuint ].freeze,
43
43
  def glTransformFeedbackVaryingsNV(program, count, locations, bufferMode) end => [ :void, :GLuint, :GLsizei, :pointer, :GLenum ].freeze,
44
- def glActiveVaryingNV(program, name) end => [ :void, :GLuint, :pointer ].freeze,
45
- def glGetVaryingLocationNV(program, name) end => [ :GLint, :GLuint, :pointer ].freeze,
46
- def glGetActiveVaryingNV(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer ].freeze,
44
+ def glActiveVaryingNV(program, name) end => [ :void, :GLuint, :string ].freeze,
45
+ def glGetVaryingLocationNV(program, name) end => [ :GLint, :GLuint, :string ].freeze,
46
+ def glGetActiveVaryingNV(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
47
47
  def glGetTransformFeedbackVaryingNV(program, index, location) end => [ :void, :GLuint, :GLuint, :pointer ].freeze,
48
48
  def glTransformFeedbackStreamAttribsNV(count, attribs, nbuffers, bufstreams, bufferMode) end => [ :void, :GLsizei, :pointer, :GLsizei, :pointer, :GLenum ].freeze,
49
49
  }.freeze
@@ -1,7 +1,7 @@
1
1
  module GL_QCOM_driver_control
2
2
  Functions = {
3
3
  def glGetDriverControlsQCOM(num, size, driverControls) end => [ :void, :pointer, :GLsizei, :pointer ].freeze,
4
- def glGetDriverControlStringQCOM(driverControl, bufSize, length, driverControlString) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
4
+ def glGetDriverControlStringQCOM(driverControl, bufSize, length, driverControlString) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
5
5
  def glEnableDriverControlQCOM(driverControl) end => [ :void, :GLuint ].freeze,
6
6
  def glDisableDriverControlQCOM(driverControl) end => [ :void, :GLuint ].freeze,
7
7
  }.freeze
@@ -3,6 +3,6 @@ module GL_QCOM_extended_get2
3
3
  def glExtGetShadersQCOM(shaders, maxShaders, numShaders) end => [ :void, :pointer, :GLint, :pointer ].freeze,
4
4
  def glExtGetProgramsQCOM(programs, maxPrograms, numPrograms) end => [ :void, :pointer, :GLint, :pointer ].freeze,
5
5
  def glExtIsProgramBinaryQCOM(program) end => [ :GLboolean, :GLuint ].freeze,
6
- def glExtGetProgramBinarySourceQCOM(program, shadertype, source, length) end => [ :void, :GLuint, :GLenum, :pointer, :pointer ].freeze,
6
+ def glExtGetProgramBinarySourceQCOM(program, shadertype, source, length) end => [ :void, :GLuint, :GLenum, :string, :pointer ].freeze,
7
7
  }.freeze
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module WGL_ARB_extensions_string
2
2
  Functions = {
3
- def wglGetExtensionsStringARB(hdc) end => [ :pointer, :HDC ].freeze,
3
+ def wglGetExtensionsStringARB(hdc) end => [ :string, :HDC ].freeze,
4
4
  }.freeze
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module WGL_EXT_extensions_string
2
2
  Functions = {
3
- def wglGetExtensionsStringEXT() end => [ :pointer ].freeze,
3
+ def wglGetExtensionsStringEXT() end => [ :string ].freeze,
4
4
  }.freeze
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module GL
2
2
  module Definitions
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-definitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Silver Phoenix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Parsing OpenGL specs, so you don't have to. Supports up to version 4.6.
14
14
  email: