opengl-bindings 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +24 -0
- data/LICENSE.txt +1 -1
- data/README.md +4 -2
- data/lib/glfw.rb +80 -7
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.rb +1 -1
- data/lib/opengl_enum.rb +7 -5
- data/lib/opengl_es.rb +1 -1
- data/lib/opengl_es_ext.rb +1 -1
- data/lib/opengl_es_ext_command.rb +307 -0
- data/lib/opengl_es_ext_enum.rb +135 -0
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +309 -0
- data/lib/opengl_ext_enum.rb +110 -8
- data/lib/opengl_linux.rb +1 -1
- data/lib/opengl_macosx.rb +1 -1
- data/lib/opengl_platform.rb +1 -1
- data/lib/opengl_windows.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4408923c78cdc0139820ede7899e9f923253641d7105d7ad06ba557a7b3d3aef
|
4
|
+
data.tar.gz: 9b29dbb86c6985a96571562dba440d105ff37c329b1a96d72a5e7715b2b60f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ca4dd4ff54cea91df7a6113d63dcddcb8d269415cfb181b2113f30f01eeedeec57e8e7bd7245c74dae63eed4e4c9565ed68fc0ceb1756966dbdf87d2a17e112
|
7
|
+
data.tar.gz: 4b2fa4257cc390205d8d5463a9d14628599f3dbf6c23714d793713ffd2ec69275d54d39a9855752dd271f3224dd48d6f00917efaa2392c0c4b29f9b5a2768411
|
data/ChangeLog
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
2018-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated using latest gl.xml.
|
4
|
+
|
5
|
+
2017-11-23 vaiorabbit <http://twitter.com/vaiorabbit>
|
6
|
+
|
7
|
+
* Updated using latest gl.xml.
|
8
|
+
|
9
|
+
2017-10-29 vaiorabbit <http://twitter.com/vaiorabbit>
|
10
|
+
|
11
|
+
* Updated using latest gl.xml.
|
12
|
+
|
13
|
+
2017-08-13 vaiorabbit <http://twitter.com/vaiorabbit>
|
14
|
+
|
15
|
+
* glfw.rb: Added GLFW 3.3 features.
|
16
|
+
|
17
|
+
2017-08-05 vaiorabbit <http://twitter.com/vaiorabbit>
|
18
|
+
|
19
|
+
* Updated using latest gl.xml.
|
20
|
+
|
21
|
+
2017-08-01 vaiorabbit <http://twitter.com/vaiorabbit>
|
22
|
+
|
23
|
+
* OpenGL 4.6
|
24
|
+
|
1
25
|
2017-06-27 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
26
|
|
3
27
|
* Updated using latest gl.xml.
|
data/LICENSE.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
2
|
-
Copyright (c) 2013-
|
2
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
3
3
|
|
4
4
|
This software is provided 'as-is', without any express or implied
|
5
5
|
warranty. In no event will the authors be held liable for any damages
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
...and wrapper code generator.
|
6
6
|
|
7
7
|
* Created : 2013-08-28
|
8
|
-
* Last modified :
|
8
|
+
* Last modified : 2018-01-01
|
9
9
|
|
10
10
|
|
11
11
|
## Features ##
|
@@ -104,6 +104,7 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
|
|
104
104
|
## Tested Environment ##
|
105
105
|
|
106
106
|
* Ruby
|
107
|
+
* ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
|
107
108
|
* ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
|
108
109
|
* ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
|
109
110
|
* ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
|
@@ -219,7 +220,7 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
|
|
219
220
|
|
220
221
|
The zlib/libpng License ( http://opensource.org/licenses/Zlib ).
|
221
222
|
|
222
|
-
Copyright (c) 2013-
|
223
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
223
224
|
|
224
225
|
This software is provided 'as-is', without any express or implied
|
225
226
|
warranty. In no event will the authors be held liable for any damages
|
@@ -342,6 +343,7 @@ GLFW か GLUT を用意してください。ウィンドウやレンダリング
|
|
342
343
|
## テストした環境 ##
|
343
344
|
|
344
345
|
* Ruby
|
346
|
+
* ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
|
345
347
|
* ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
|
346
348
|
* ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
|
347
349
|
* ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
|
data/lib/glfw.rb
CHANGED
@@ -42,6 +42,16 @@ module GLFW
|
|
42
42
|
GLFW_PRESS = 1
|
43
43
|
GLFW_REPEAT = 2
|
44
44
|
|
45
|
+
GLFW_HAT_CENTERED = 0 # Available since GLFW 3.3
|
46
|
+
GLFW_HAT_UP = 1 # Available since GLFW 3.3
|
47
|
+
GLFW_HAT_RIGHT = 2 # Available since GLFW 3.3
|
48
|
+
GLFW_HAT_DOWN = 4 # Available since GLFW 3.3
|
49
|
+
GLFW_HAT_LEFT = 8 # Available since GLFW 3.3
|
50
|
+
GLFW_HAT_RIGHT_UP = (GLFW_HAT_RIGHT | GLFW_HAT_UP) # Available since GLFW 3.3
|
51
|
+
GLFW_HAT_RIGHT_DOWN = (GLFW_HAT_RIGHT | GLFW_HAT_DOWN) # Available since GLFW 3.3
|
52
|
+
GLFW_HAT_LEFT_UP = (GLFW_HAT_LEFT | GLFW_HAT_UP) # Available since GLFW 3.3
|
53
|
+
GLFW_HAT_LEFT_DOWN = (GLFW_HAT_LEFT | GLFW_HAT_DOWN) # Available since GLFW 3.3
|
54
|
+
|
45
55
|
GLFW_KEY_UNKNOWN = -1
|
46
56
|
|
47
57
|
GLFW_KEY_SPACE = 32
|
@@ -203,6 +213,37 @@ module GLFW
|
|
203
213
|
GLFW_JOYSTICK_16 = 15
|
204
214
|
GLFW_JOYSTICK_LAST = GLFW_JOYSTICK_16
|
205
215
|
|
216
|
+
GLFW_GAMEPAD_BUTTON_A = 0 # Available since GLFW 3.3
|
217
|
+
GLFW_GAMEPAD_BUTTON_B = 1 # Available since GLFW 3.3
|
218
|
+
GLFW_GAMEPAD_BUTTON_X = 2 # Available since GLFW 3.3
|
219
|
+
GLFW_GAMEPAD_BUTTON_Y = 3 # Available since GLFW 3.3
|
220
|
+
GLFW_GAMEPAD_BUTTON_LEFT_BUMPER = 4 # Available since GLFW 3.3
|
221
|
+
GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER = 5 # Available since GLFW 3.3
|
222
|
+
GLFW_GAMEPAD_BUTTON_BACK = 6 # Available since GLFW 3.3
|
223
|
+
GLFW_GAMEPAD_BUTTON_START = 7 # Available since GLFW 3.3
|
224
|
+
GLFW_GAMEPAD_BUTTON_GUIDE = 8 # Available since GLFW 3.3
|
225
|
+
GLFW_GAMEPAD_BUTTON_LEFT_THUMB = 9 # Available since GLFW 3.3
|
226
|
+
GLFW_GAMEPAD_BUTTON_RIGHT_THUMB = 10 # Available since GLFW 3.3
|
227
|
+
GLFW_GAMEPAD_BUTTON_DPAD_UP = 11 # Available since GLFW 3.3
|
228
|
+
GLFW_GAMEPAD_BUTTON_DPAD_RIGHT = 12 # Available since GLFW 3.3
|
229
|
+
GLFW_GAMEPAD_BUTTON_DPAD_DOWN = 13 # Available since GLFW 3.3
|
230
|
+
GLFW_GAMEPAD_BUTTON_DPAD_LEFT = 14 # Available since GLFW 3.3
|
231
|
+
GLFW_GAMEPAD_BUTTON_LAST = GLFW_GAMEPAD_BUTTON_DPAD_LEFT # Available since GLFW 3.3
|
232
|
+
|
233
|
+
GLFW_GAMEPAD_BUTTON_CROSS = GLFW_GAMEPAD_BUTTON_A # Available since GLFW 3.3
|
234
|
+
GLFW_GAMEPAD_BUTTON_CIRCLE = GLFW_GAMEPAD_BUTTON_B # Available since GLFW 3.3
|
235
|
+
GLFW_GAMEPAD_BUTTON_SQUARE = GLFW_GAMEPAD_BUTTON_X # Available since GLFW 3.3
|
236
|
+
GLFW_GAMEPAD_BUTTON_TRIANGLE = GLFW_GAMEPAD_BUTTON_Y # Available since GLFW 3.3
|
237
|
+
|
238
|
+
GLFW_GAMEPAD_AXIS_LEFT_X = 0 # Available since GLFW 3.3
|
239
|
+
GLFW_GAMEPAD_AXIS_LEFT_Y = 1 # Available since GLFW 3.3
|
240
|
+
GLFW_GAMEPAD_AXIS_RIGHT_X = 2 # Available since GLFW 3.3
|
241
|
+
GLFW_GAMEPAD_AXIS_RIGHT_Y = 3 # Available since GLFW 3.3
|
242
|
+
GLFW_GAMEPAD_AXIS_LEFT_TRIGGER = 4 # Available since GLFW 3.3
|
243
|
+
GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER = 5 # Available since GLFW 3.3
|
244
|
+
GLFW_GAMEPAD_AXIS_LAST = GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER # Available since GLFW 3.3
|
245
|
+
|
246
|
+
GLFW_NO_ERROR = 0 # Available since GLFW 3.3
|
206
247
|
GLFW_NOT_INITIALIZED = 0x00010001
|
207
248
|
GLFW_NO_CURRENT_CONTEXT = 0x00010002
|
208
249
|
GLFW_INVALID_ENUM = 0x00010003
|
@@ -252,6 +293,10 @@ module GLFW
|
|
252
293
|
GLFW_CONTEXT_NO_ERROR = 0x0002200A
|
253
294
|
GLFW_CONTEXT_CREATION_API = 0x0002200B # Available since GLFW 3.2
|
254
295
|
|
296
|
+
GLFW_COCOA_RETINA_FRAMEBUFFER = 0x00023001 # Available since GLFW 3.3
|
297
|
+
GLFW_COCOA_FRAME_AUTOSAVE = 0x00023002 # Available since GLFW 3.3
|
298
|
+
GLFW_COCOA_GRAPHICS_SWITCHING = 0x00023003 # Available since GLFW 3.3
|
299
|
+
|
255
300
|
GLFW_NO_API = 0 # Available since GLFW 3.2
|
256
301
|
GLFW_OPENGL_API = 0x00030001
|
257
302
|
GLFW_OPENGL_ES_API = 0x00030002
|
@@ -278,6 +323,7 @@ module GLFW
|
|
278
323
|
|
279
324
|
GLFW_NATIVE_CONTEXT_API = 0x00036001 # Available since GLFW 3.2
|
280
325
|
GLFW_EGL_CONTEXT_API = 0x00036002 # Available since GLFW 3.2
|
326
|
+
GLFW_OSMESA_CONTEXT_API = 0x00036003 # Available since GLFW 3.3
|
281
327
|
|
282
328
|
GLFW_ARROW_CURSOR = 0x00036001
|
283
329
|
GLFW_IBEAM_CURSOR = 0x00036002
|
@@ -289,6 +335,14 @@ module GLFW
|
|
289
335
|
GLFW_CONNECTED = 0x00040001
|
290
336
|
GLFW_DISCONNECTED = 0x00040002
|
291
337
|
|
338
|
+
GLFW_JOYSTICK_HAT_BUTTONS = 0x00050001 # Available since GLFW 3.3
|
339
|
+
|
340
|
+
GLFW_COCOA_CHDIR_RESOURCES = 0x00051001 # Available since GLFW 3.3
|
341
|
+
GLFW_COCOA_MENUBAR = 0x00051002 # Available since GLFW 3.3
|
342
|
+
|
343
|
+
GLFW_X11_WM_CLASS_NAME = 0x00052001 # Available since GLFW 3.3
|
344
|
+
GLFW_X11_WM_CLASS_CLASS = 0x00052002 # Available since GLFW 3.3
|
345
|
+
|
292
346
|
GLFW_DONT_CARE = -1
|
293
347
|
|
294
348
|
# typedefs
|
@@ -300,6 +354,7 @@ module GLFW
|
|
300
354
|
:GLFWwindowrefreshfun => "void GLFWwindowrefreshfun(void*)",
|
301
355
|
:GLFWwindowfocusfun => "void GLFWwindowfocusfun(void*,int)",
|
302
356
|
:GLFWwindowiconifyfun => "void GLFWwindowiconifyfun(void*,int)",
|
357
|
+
:GLFWwindowmaximizefun => "void GLFWwindowmaximizefun(void*,int)",
|
303
358
|
:GLFWframebuffersizefun => "void GLFWframebuffersizefun(void*,int,int)",
|
304
359
|
:GLFWmousebuttonfun => "void GLFWmousebuttonfun(void*,int,int,int)",
|
305
360
|
:GLFWcursorposfun => "void GLFWcursorposfun(void*,double,double)",
|
@@ -414,6 +469,10 @@ module GLFW
|
|
414
469
|
"int height",
|
415
470
|
"unsigned char* pixels"])
|
416
471
|
|
472
|
+
# Available since GLFW 3.3
|
473
|
+
GLFWgamepadstate = struct(["unsigned char buttons[15]",
|
474
|
+
"float axes[6]"])
|
475
|
+
|
417
476
|
@@glfw_import_done = false
|
418
477
|
|
419
478
|
# Load native library.
|
@@ -445,8 +504,11 @@ module GLFW
|
|
445
504
|
@@lib_signature = [
|
446
505
|
'int glfwInit()',
|
447
506
|
'void glfwTerminate()',
|
507
|
+
'void glfwInitHint(int, int)', # Available since GLFW 3.3
|
508
|
+
'void glfwInitHintString(int, const char*)', # Available since GLFW 3.3
|
448
509
|
'void glfwGetVersion(int*, int*, int*)',
|
449
510
|
'const char* glfwGetVersionString()',
|
511
|
+
'int glfwGetError(const char**)', # Available since GLFW 3.3
|
450
512
|
'void* glfwSetErrorCallback(void*)',
|
451
513
|
'void** glfwGetMonitors(int*)',
|
452
514
|
'void* glfwGetPrimaryMonitor()',
|
@@ -481,9 +543,11 @@ module GLFW
|
|
481
543
|
'void glfwShowWindow(void*)', # Available since GLFW 3.0
|
482
544
|
'void glfwHideWindow(void*)', # Available since GLFW 3.0
|
483
545
|
'void glfwFocusWindow(void*)', # Available since GLFW 3.2
|
546
|
+
'void glfwRequestWindowAttention(void*)', # Available since GLFW 3.3
|
484
547
|
'void* glfwGetWindowMonitor(void*)', # Available since GLFW 3.0
|
485
548
|
'void glfwSetWindowMonitor(void*, void*, int, int, int, int, int)', # Available since GLFW 3.2
|
486
549
|
'int glfwGetWindowAttrib(void*, int)', # Available since GLFW 3.0
|
550
|
+
'void glfwSetWindowAttrib(void*, int, int)', # Available since GLFW 3.3
|
487
551
|
'void glfwSetWindowUserPointer(void*, void*)', # Available since GLFW 3.0
|
488
552
|
'void* glfwGetWindowUserPointer(void*)', # Available since GLFW 3.0
|
489
553
|
'void* glfwSetWindowPosCallback(void*, void*)', # Available since GLFW 3.0
|
@@ -492,6 +556,7 @@ module GLFW
|
|
492
556
|
'void* glfwSetWindowRefreshCallback(void*, void*)',
|
493
557
|
'void* glfwSetWindowFocusCallback(void*, void*)', # Available since GLFW 3.0
|
494
558
|
'void* glfwSetWindowIconifyCallback(void*, void*)', # Available since GLFW 3.0
|
559
|
+
'void* glfwSetWindowMaximizeCallback(void*, void*)', # Available since GLFW 3.3
|
495
560
|
'void* glfwSetFramebufferSizeCallback(void*, void*)', # Available since GLFW 3.0
|
496
561
|
'void glfwPollEvents()',
|
497
562
|
'void glfwWaitEvents()',
|
@@ -500,6 +565,7 @@ module GLFW
|
|
500
565
|
'int glfwGetInputMode(void*, int)', # Available since GLFW 3.0
|
501
566
|
'void glfwSetInputMode(void*, int, int)', # Available since GLFW 3.0
|
502
567
|
'const char* glfwGetKeyName(int, int)', # Available since GLFW 3.2
|
568
|
+
'int glfwGetKeyScancode(int)', # Available since GLFW 3.3
|
503
569
|
'int glfwGetKey(void*, int)',
|
504
570
|
'int glfwGetMouseButton(void*, int)',
|
505
571
|
'void glfwGetCursorPos(void*, double*, double*)', # Available since GLFW 3.0
|
@@ -516,13 +582,20 @@ module GLFW
|
|
516
582
|
'void* glfwSetCursorEnterCallback(void*, void*)', # Available since GLFW 3.0
|
517
583
|
'void* glfwSetScrollCallback(void*, void*)', # Available since GLFW 3.0
|
518
584
|
'void* glfwSetDropCallback(void*, void*)', # Available since GLFW 3.1
|
519
|
-
|
520
|
-
'
|
585
|
+
|
586
|
+
'int glfwJoystickPresent(int)', # Available since GLFW 3.0
|
587
|
+
'const float* glfwGetJoystickAxes(int, int*)', # Available since GLFW 3.0
|
521
588
|
'const unsigned char* glfwGetJoystickButtons(int, int*)',
|
522
|
-
'const char*
|
523
|
-
'
|
524
|
-
'
|
525
|
-
'
|
589
|
+
'const unsigned char* glfwGetJoystickHats(int, int*)', # Available since GLFW 3.3
|
590
|
+
'const char* glfwGetJoystickName(int)', # Available since GLFW 3.0
|
591
|
+
'const char* glfwGetJoystickGUID(int)', # Available since GLFW 3.3
|
592
|
+
'int glfwJoystickIsGamepad(int)', # Available since GLFW 3.3
|
593
|
+
'void* glfwSetJoystickCallback(void*)', # Available since GLFW 3.2
|
594
|
+
'int glfwUpdateGamepadMappings(const char*)', # Available since GLFW 3.3
|
595
|
+
'const char* glfwGetGamepadName(int)', # Available since GLFW 3.3
|
596
|
+
'int glfwGetGamepadState(int, void*)', # Available since GLFW 3.3
|
597
|
+
'void glfwSetClipboardString(void*, const char*)', # Available since GLFW 3.0
|
598
|
+
'const char* glfwGetClipboardString(void*)', # Available since GLFW 3.0
|
526
599
|
'double glfwGetTime()',
|
527
600
|
'void glfwSetTime(double)',
|
528
601
|
'GLFWuint64 glfwGetTimerValue()', # Available since GLFW 3.2
|
@@ -570,7 +643,7 @@ end
|
|
570
643
|
|
571
644
|
=begin
|
572
645
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
573
|
-
Copyright (c) 2013-
|
646
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
574
647
|
|
575
648
|
This software is provided 'as-is', without any express or implied
|
576
649
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/glu.rb
CHANGED
@@ -343,7 +343,7 @@ end
|
|
343
343
|
|
344
344
|
=begin
|
345
345
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
346
|
-
Copyright (c) 2013-
|
346
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
347
347
|
|
348
348
|
This software is provided 'as-is', without any express or implied
|
349
349
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/glut.rb
CHANGED
@@ -553,7 +553,7 @@ end
|
|
553
553
|
|
554
554
|
=begin
|
555
555
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
556
|
-
Copyright (c) 2013-
|
556
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
557
557
|
|
558
558
|
This software is provided 'as-is', without any express or implied
|
559
559
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl.rb
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
|
21
21
|
=begin
|
22
22
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
23
|
-
Copyright (c) 2013-
|
23
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
24
24
|
|
25
25
|
This software is provided 'as-is', without any express or implied
|
26
26
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_enum.rb
CHANGED
@@ -710,15 +710,17 @@ module OpenGL
|
|
710
710
|
GL_TEXTURE_FILTER_CONTROL = 0x8500
|
711
711
|
GL_DEPTH_TEXTURE_MODE = 0x884B
|
712
712
|
GL_COMPARE_R_TO_TEXTURE = 0x884E
|
713
|
-
|
714
|
-
|
715
|
-
GL_FUNC_REVERSE_SUBTRACT = 0x800B
|
716
|
-
GL_MIN = 0x8007
|
717
|
-
GL_MAX = 0x8008
|
713
|
+
GL_BLEND_COLOR = 0x8005
|
714
|
+
GL_BLEND_EQUATION = 0x8009
|
718
715
|
GL_CONSTANT_COLOR = 0x8001
|
719
716
|
GL_ONE_MINUS_CONSTANT_COLOR = 0x8002
|
720
717
|
GL_CONSTANT_ALPHA = 0x8003
|
721
718
|
GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004
|
719
|
+
GL_FUNC_ADD = 0x8006
|
720
|
+
GL_FUNC_REVERSE_SUBTRACT = 0x800B
|
721
|
+
GL_FUNC_SUBTRACT = 0x800A
|
722
|
+
GL_MIN = 0x8007
|
723
|
+
GL_MAX = 0x8008
|
722
724
|
GL_BUFFER_SIZE = 0x8764
|
723
725
|
GL_BUFFER_USAGE = 0x8765
|
724
726
|
GL_QUERY_COUNTER_BITS = 0x8864
|
data/lib/opengl_es.rb
CHANGED
@@ -8,7 +8,7 @@ end
|
|
8
8
|
|
9
9
|
=begin
|
10
10
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
11
|
-
Copyright (c) 2013-
|
11
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
12
12
|
|
13
13
|
This software is provided 'as-is', without any express or implied
|
14
14
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_es_ext.rb
CHANGED
@@ -5,7 +5,7 @@ require_relative 'opengl_es_ext_command'
|
|
5
5
|
|
6
6
|
=begin
|
7
7
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
8
|
-
Copyright (c) 2013-
|
8
|
+
Copyright (c) 2013-2018 vaiorabbit <http://twitter.com/vaiorabbit>
|
9
9
|
|
10
10
|
This software is provided 'as-is', without any express or implied
|
11
11
|
warranty. In no event will the authors be held liable for any damages
|
@@ -717,6 +717,24 @@ module OpenGLExt
|
|
717
717
|
end # self.get_ext_command_GL_EXT_clear_texture
|
718
718
|
|
719
719
|
|
720
|
+
def self.define_ext_command_GL_EXT_clip_control
|
721
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glClipControlEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
722
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glClipControlEXT] = Fiddle::TYPE_VOID
|
723
|
+
OpenGL.module_eval(<<-SRC)
|
724
|
+
def glClipControlEXT(_origin_, _depth_)
|
725
|
+
f = OpenGL::get_command(:glClipControlEXT)
|
726
|
+
f.call(_origin_, _depth_)
|
727
|
+
end
|
728
|
+
SRC
|
729
|
+
end # self.define_ext_command_GL_EXT_clip_control
|
730
|
+
|
731
|
+
def self.get_ext_command_GL_EXT_clip_control
|
732
|
+
[
|
733
|
+
'glClipControlEXT',
|
734
|
+
]
|
735
|
+
end # self.get_ext_command_GL_EXT_clip_control
|
736
|
+
|
737
|
+
|
720
738
|
def self.define_ext_command_GL_EXT_clip_cull_distance
|
721
739
|
end # self.define_ext_command_GL_EXT_clip_cull_distance
|
722
740
|
|
@@ -2896,6 +2914,15 @@ module OpenGLExt
|
|
2896
2914
|
end # self.get_ext_command_GL_EXT_texture_compression_s3tc
|
2897
2915
|
|
2898
2916
|
|
2917
|
+
def self.define_ext_command_GL_EXT_texture_compression_s3tc_srgb
|
2918
|
+
end # self.define_ext_command_GL_EXT_texture_compression_s3tc_srgb
|
2919
|
+
|
2920
|
+
def self.get_ext_command_GL_EXT_texture_compression_s3tc_srgb
|
2921
|
+
[
|
2922
|
+
]
|
2923
|
+
end # self.get_ext_command_GL_EXT_texture_compression_s3tc_srgb
|
2924
|
+
|
2925
|
+
|
2899
2926
|
def self.define_ext_command_GL_EXT_texture_cube_map_array
|
2900
2927
|
end # self.define_ext_command_GL_EXT_texture_cube_map_array
|
2901
2928
|
|
@@ -2941,6 +2968,15 @@ module OpenGLExt
|
|
2941
2968
|
end # self.get_ext_command_GL_EXT_texture_format_BGRA8888
|
2942
2969
|
|
2943
2970
|
|
2971
|
+
def self.define_ext_command_GL_EXT_texture_mirror_clamp_to_edge
|
2972
|
+
end # self.define_ext_command_GL_EXT_texture_mirror_clamp_to_edge
|
2973
|
+
|
2974
|
+
def self.get_ext_command_GL_EXT_texture_mirror_clamp_to_edge
|
2975
|
+
[
|
2976
|
+
]
|
2977
|
+
end # self.get_ext_command_GL_EXT_texture_mirror_clamp_to_edge
|
2978
|
+
|
2979
|
+
|
2944
2980
|
def self.define_ext_command_GL_EXT_texture_norm16
|
2945
2981
|
end # self.define_ext_command_GL_EXT_texture_norm16
|
2946
2982
|
|
@@ -3875,6 +3911,33 @@ module OpenGLExt
|
|
3875
3911
|
end # self.get_ext_command_GL_KHR_texture_compression_astc_sliced_3d
|
3876
3912
|
|
3877
3913
|
|
3914
|
+
def self.define_ext_command_GL_KHR_parallel_shader_compile
|
3915
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMaxShaderCompilerThreadsKHR] = [-Fiddle::TYPE_INT]
|
3916
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMaxShaderCompilerThreadsKHR] = Fiddle::TYPE_VOID
|
3917
|
+
OpenGL.module_eval(<<-SRC)
|
3918
|
+
def glMaxShaderCompilerThreadsKHR(_count_)
|
3919
|
+
f = OpenGL::get_command(:glMaxShaderCompilerThreadsKHR)
|
3920
|
+
f.call(_count_)
|
3921
|
+
end
|
3922
|
+
SRC
|
3923
|
+
end # self.define_ext_command_GL_KHR_parallel_shader_compile
|
3924
|
+
|
3925
|
+
def self.get_ext_command_GL_KHR_parallel_shader_compile
|
3926
|
+
[
|
3927
|
+
'glMaxShaderCompilerThreadsKHR',
|
3928
|
+
]
|
3929
|
+
end # self.get_ext_command_GL_KHR_parallel_shader_compile
|
3930
|
+
|
3931
|
+
|
3932
|
+
def self.define_ext_command_GL_MESA_program_binary_formats
|
3933
|
+
end # self.define_ext_command_GL_MESA_program_binary_formats
|
3934
|
+
|
3935
|
+
def self.get_ext_command_GL_MESA_program_binary_formats
|
3936
|
+
[
|
3937
|
+
]
|
3938
|
+
end # self.get_ext_command_GL_MESA_program_binary_formats
|
3939
|
+
|
3940
|
+
|
3878
3941
|
def self.define_ext_command_GL_MESA_shader_integer_functions
|
3879
3942
|
end # self.define_ext_command_GL_MESA_shader_integer_functions
|
3880
3943
|
|
@@ -4077,6 +4140,24 @@ module OpenGLExt
|
|
4077
4140
|
end # self.get_ext_command_GL_NV_blend_minmax_factor
|
4078
4141
|
|
4079
4142
|
|
4143
|
+
def self.define_ext_command_GL_NV_clip_space_w_scaling
|
4144
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glViewportPositionWScaleNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
4145
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glViewportPositionWScaleNV] = Fiddle::TYPE_VOID
|
4146
|
+
OpenGL.module_eval(<<-SRC)
|
4147
|
+
def glViewportPositionWScaleNV(_index_, _xcoeff_, _ycoeff_)
|
4148
|
+
f = OpenGL::get_command(:glViewportPositionWScaleNV)
|
4149
|
+
f.call(_index_, _xcoeff_, _ycoeff_)
|
4150
|
+
end
|
4151
|
+
SRC
|
4152
|
+
end # self.define_ext_command_GL_NV_clip_space_w_scaling
|
4153
|
+
|
4154
|
+
def self.get_ext_command_GL_NV_clip_space_w_scaling
|
4155
|
+
[
|
4156
|
+
'glViewportPositionWScaleNV',
|
4157
|
+
]
|
4158
|
+
end # self.get_ext_command_GL_NV_clip_space_w_scaling
|
4159
|
+
|
4160
|
+
|
4080
4161
|
def self.define_ext_command_GL_NV_conditional_render
|
4081
4162
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBeginConditionalRenderNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
4082
4163
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBeginConditionalRenderNV] = Fiddle::TYPE_VOID
|
@@ -4123,6 +4204,15 @@ module OpenGLExt
|
|
4123
4204
|
end # self.get_ext_command_GL_NV_conservative_raster
|
4124
4205
|
|
4125
4206
|
|
4207
|
+
def self.define_ext_command_GL_NV_conservative_raster_pre_snap
|
4208
|
+
end # self.define_ext_command_GL_NV_conservative_raster_pre_snap
|
4209
|
+
|
4210
|
+
def self.get_ext_command_GL_NV_conservative_raster_pre_snap
|
4211
|
+
[
|
4212
|
+
]
|
4213
|
+
end # self.get_ext_command_GL_NV_conservative_raster_pre_snap
|
4214
|
+
|
4215
|
+
|
4126
4216
|
def self.define_ext_command_GL_NV_conservative_raster_pre_snap_triangles
|
4127
4217
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glConservativeRasterParameteriNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
4128
4218
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glConservativeRasterParameteriNV] = Fiddle::TYPE_VOID
|
@@ -5561,6 +5651,177 @@ module OpenGLExt
|
|
5561
5651
|
f.call(_texCoordSet_, _pname_, _value_)
|
5562
5652
|
end
|
5563
5653
|
SRC
|
5654
|
+
|
5655
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixFrustumEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
|
5656
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixFrustumEXT] = Fiddle::TYPE_VOID
|
5657
|
+
OpenGL.module_eval(<<-SRC)
|
5658
|
+
def glMatrixFrustumEXT(_mode_, _left_, _right_, _bottom_, _top_, _zNear_, _zFar_)
|
5659
|
+
f = OpenGL::get_command(:glMatrixFrustumEXT)
|
5660
|
+
f.call(_mode_, _left_, _right_, _bottom_, _top_, _zNear_, _zFar_)
|
5661
|
+
end
|
5662
|
+
SRC
|
5663
|
+
|
5664
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixLoadIdentityEXT] = [-Fiddle::TYPE_INT]
|
5665
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixLoadIdentityEXT] = Fiddle::TYPE_VOID
|
5666
|
+
OpenGL.module_eval(<<-SRC)
|
5667
|
+
def glMatrixLoadIdentityEXT(_mode_)
|
5668
|
+
f = OpenGL::get_command(:glMatrixLoadIdentityEXT)
|
5669
|
+
f.call(_mode_)
|
5670
|
+
end
|
5671
|
+
SRC
|
5672
|
+
|
5673
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixLoadTransposefEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5674
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixLoadTransposefEXT] = Fiddle::TYPE_VOID
|
5675
|
+
OpenGL.module_eval(<<-SRC)
|
5676
|
+
def glMatrixLoadTransposefEXT(_mode_, _m_)
|
5677
|
+
f = OpenGL::get_command(:glMatrixLoadTransposefEXT)
|
5678
|
+
f.call(_mode_, _m_)
|
5679
|
+
end
|
5680
|
+
SRC
|
5681
|
+
|
5682
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixLoadTransposedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5683
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixLoadTransposedEXT] = Fiddle::TYPE_VOID
|
5684
|
+
OpenGL.module_eval(<<-SRC)
|
5685
|
+
def glMatrixLoadTransposedEXT(_mode_, _m_)
|
5686
|
+
f = OpenGL::get_command(:glMatrixLoadTransposedEXT)
|
5687
|
+
f.call(_mode_, _m_)
|
5688
|
+
end
|
5689
|
+
SRC
|
5690
|
+
|
5691
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixLoadfEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5692
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixLoadfEXT] = Fiddle::TYPE_VOID
|
5693
|
+
OpenGL.module_eval(<<-SRC)
|
5694
|
+
def glMatrixLoadfEXT(_mode_, _m_)
|
5695
|
+
f = OpenGL::get_command(:glMatrixLoadfEXT)
|
5696
|
+
f.call(_mode_, _m_)
|
5697
|
+
end
|
5698
|
+
SRC
|
5699
|
+
|
5700
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixLoaddEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5701
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixLoaddEXT] = Fiddle::TYPE_VOID
|
5702
|
+
OpenGL.module_eval(<<-SRC)
|
5703
|
+
def glMatrixLoaddEXT(_mode_, _m_)
|
5704
|
+
f = OpenGL::get_command(:glMatrixLoaddEXT)
|
5705
|
+
f.call(_mode_, _m_)
|
5706
|
+
end
|
5707
|
+
SRC
|
5708
|
+
|
5709
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixMultTransposefEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5710
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixMultTransposefEXT] = Fiddle::TYPE_VOID
|
5711
|
+
OpenGL.module_eval(<<-SRC)
|
5712
|
+
def glMatrixMultTransposefEXT(_mode_, _m_)
|
5713
|
+
f = OpenGL::get_command(:glMatrixMultTransposefEXT)
|
5714
|
+
f.call(_mode_, _m_)
|
5715
|
+
end
|
5716
|
+
SRC
|
5717
|
+
|
5718
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixMultTransposedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5719
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixMultTransposedEXT] = Fiddle::TYPE_VOID
|
5720
|
+
OpenGL.module_eval(<<-SRC)
|
5721
|
+
def glMatrixMultTransposedEXT(_mode_, _m_)
|
5722
|
+
f = OpenGL::get_command(:glMatrixMultTransposedEXT)
|
5723
|
+
f.call(_mode_, _m_)
|
5724
|
+
end
|
5725
|
+
SRC
|
5726
|
+
|
5727
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixMultfEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5728
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixMultfEXT] = Fiddle::TYPE_VOID
|
5729
|
+
OpenGL.module_eval(<<-SRC)
|
5730
|
+
def glMatrixMultfEXT(_mode_, _m_)
|
5731
|
+
f = OpenGL::get_command(:glMatrixMultfEXT)
|
5732
|
+
f.call(_mode_, _m_)
|
5733
|
+
end
|
5734
|
+
SRC
|
5735
|
+
|
5736
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixMultdEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5737
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixMultdEXT] = Fiddle::TYPE_VOID
|
5738
|
+
OpenGL.module_eval(<<-SRC)
|
5739
|
+
def glMatrixMultdEXT(_mode_, _m_)
|
5740
|
+
f = OpenGL::get_command(:glMatrixMultdEXT)
|
5741
|
+
f.call(_mode_, _m_)
|
5742
|
+
end
|
5743
|
+
SRC
|
5744
|
+
|
5745
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixOrthoEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
|
5746
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixOrthoEXT] = Fiddle::TYPE_VOID
|
5747
|
+
OpenGL.module_eval(<<-SRC)
|
5748
|
+
def glMatrixOrthoEXT(_mode_, _left_, _right_, _bottom_, _top_, _zNear_, _zFar_)
|
5749
|
+
f = OpenGL::get_command(:glMatrixOrthoEXT)
|
5750
|
+
f.call(_mode_, _left_, _right_, _bottom_, _top_, _zNear_, _zFar_)
|
5751
|
+
end
|
5752
|
+
SRC
|
5753
|
+
|
5754
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixPopEXT] = [-Fiddle::TYPE_INT]
|
5755
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixPopEXT] = Fiddle::TYPE_VOID
|
5756
|
+
OpenGL.module_eval(<<-SRC)
|
5757
|
+
def glMatrixPopEXT(_mode_)
|
5758
|
+
f = OpenGL::get_command(:glMatrixPopEXT)
|
5759
|
+
f.call(_mode_)
|
5760
|
+
end
|
5761
|
+
SRC
|
5762
|
+
|
5763
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixPushEXT] = [-Fiddle::TYPE_INT]
|
5764
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixPushEXT] = Fiddle::TYPE_VOID
|
5765
|
+
OpenGL.module_eval(<<-SRC)
|
5766
|
+
def glMatrixPushEXT(_mode_)
|
5767
|
+
f = OpenGL::get_command(:glMatrixPushEXT)
|
5768
|
+
f.call(_mode_)
|
5769
|
+
end
|
5770
|
+
SRC
|
5771
|
+
|
5772
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixRotatefEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
5773
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixRotatefEXT] = Fiddle::TYPE_VOID
|
5774
|
+
OpenGL.module_eval(<<-SRC)
|
5775
|
+
def glMatrixRotatefEXT(_mode_, _angle_, _x_, _y_, _z_)
|
5776
|
+
f = OpenGL::get_command(:glMatrixRotatefEXT)
|
5777
|
+
f.call(_mode_, _angle_, _x_, _y_, _z_)
|
5778
|
+
end
|
5779
|
+
SRC
|
5780
|
+
|
5781
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixRotatedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
|
5782
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixRotatedEXT] = Fiddle::TYPE_VOID
|
5783
|
+
OpenGL.module_eval(<<-SRC)
|
5784
|
+
def glMatrixRotatedEXT(_mode_, _angle_, _x_, _y_, _z_)
|
5785
|
+
f = OpenGL::get_command(:glMatrixRotatedEXT)
|
5786
|
+
f.call(_mode_, _angle_, _x_, _y_, _z_)
|
5787
|
+
end
|
5788
|
+
SRC
|
5789
|
+
|
5790
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixScalefEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
5791
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixScalefEXT] = Fiddle::TYPE_VOID
|
5792
|
+
OpenGL.module_eval(<<-SRC)
|
5793
|
+
def glMatrixScalefEXT(_mode_, _x_, _y_, _z_)
|
5794
|
+
f = OpenGL::get_command(:glMatrixScalefEXT)
|
5795
|
+
f.call(_mode_, _x_, _y_, _z_)
|
5796
|
+
end
|
5797
|
+
SRC
|
5798
|
+
|
5799
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixScaledEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
|
5800
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixScaledEXT] = Fiddle::TYPE_VOID
|
5801
|
+
OpenGL.module_eval(<<-SRC)
|
5802
|
+
def glMatrixScaledEXT(_mode_, _x_, _y_, _z_)
|
5803
|
+
f = OpenGL::get_command(:glMatrixScaledEXT)
|
5804
|
+
f.call(_mode_, _x_, _y_, _z_)
|
5805
|
+
end
|
5806
|
+
SRC
|
5807
|
+
|
5808
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixTranslatefEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
5809
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixTranslatefEXT] = Fiddle::TYPE_VOID
|
5810
|
+
OpenGL.module_eval(<<-SRC)
|
5811
|
+
def glMatrixTranslatefEXT(_mode_, _x_, _y_, _z_)
|
5812
|
+
f = OpenGL::get_command(:glMatrixTranslatefEXT)
|
5813
|
+
f.call(_mode_, _x_, _y_, _z_)
|
5814
|
+
end
|
5815
|
+
SRC
|
5816
|
+
|
5817
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMatrixTranslatedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
|
5818
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMatrixTranslatedEXT] = Fiddle::TYPE_VOID
|
5819
|
+
OpenGL.module_eval(<<-SRC)
|
5820
|
+
def glMatrixTranslatedEXT(_mode_, _x_, _y_, _z_)
|
5821
|
+
f = OpenGL::get_command(:glMatrixTranslatedEXT)
|
5822
|
+
f.call(_mode_, _x_, _y_, _z_)
|
5823
|
+
end
|
5824
|
+
SRC
|
5564
5825
|
end # self.define_ext_command_GL_NV_path_rendering
|
5565
5826
|
|
5566
5827
|
def self.get_ext_command_GL_NV_path_rendering
|
@@ -5629,6 +5890,25 @@ module OpenGLExt
|
|
5629
5890
|
'glGetPathColorGenfvNV',
|
5630
5891
|
'glGetPathTexGenivNV',
|
5631
5892
|
'glGetPathTexGenfvNV',
|
5893
|
+
'glMatrixFrustumEXT',
|
5894
|
+
'glMatrixLoadIdentityEXT',
|
5895
|
+
'glMatrixLoadTransposefEXT',
|
5896
|
+
'glMatrixLoadTransposedEXT',
|
5897
|
+
'glMatrixLoadfEXT',
|
5898
|
+
'glMatrixLoaddEXT',
|
5899
|
+
'glMatrixMultTransposefEXT',
|
5900
|
+
'glMatrixMultTransposedEXT',
|
5901
|
+
'glMatrixMultfEXT',
|
5902
|
+
'glMatrixMultdEXT',
|
5903
|
+
'glMatrixOrthoEXT',
|
5904
|
+
'glMatrixPopEXT',
|
5905
|
+
'glMatrixPushEXT',
|
5906
|
+
'glMatrixRotatefEXT',
|
5907
|
+
'glMatrixRotatedEXT',
|
5908
|
+
'glMatrixScalefEXT',
|
5909
|
+
'glMatrixScaledEXT',
|
5910
|
+
'glMatrixTranslatefEXT',
|
5911
|
+
'glMatrixTranslatedEXT',
|
5632
5912
|
]
|
5633
5913
|
end # self.get_ext_command_GL_NV_path_rendering
|
5634
5914
|
|
@@ -5815,6 +6095,15 @@ module OpenGLExt
|
|
5815
6095
|
end # self.get_ext_command_GL_NV_shadow_samplers_cube
|
5816
6096
|
|
5817
6097
|
|
6098
|
+
def self.define_ext_command_GL_NV_stereo_view_rendering
|
6099
|
+
end # self.define_ext_command_GL_NV_stereo_view_rendering
|
6100
|
+
|
6101
|
+
def self.get_ext_command_GL_NV_stereo_view_rendering
|
6102
|
+
[
|
6103
|
+
]
|
6104
|
+
end # self.get_ext_command_GL_NV_stereo_view_rendering
|
6105
|
+
|
6106
|
+
|
5818
6107
|
def self.define_ext_command_GL_NV_texture_border_clamp
|
5819
6108
|
end # self.define_ext_command_GL_NV_texture_border_clamp
|
5820
6109
|
|
@@ -7312,6 +7601,24 @@ module OpenGLExt
|
|
7312
7601
|
end # self.get_ext_command_GL_QCOM_framebuffer_foveated
|
7313
7602
|
|
7314
7603
|
|
7604
|
+
def self.define_ext_command_GL_QCOM_texture_foveated
|
7605
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureFoveationParametersQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
7606
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureFoveationParametersQCOM] = Fiddle::TYPE_VOID
|
7607
|
+
OpenGL.module_eval(<<-SRC)
|
7608
|
+
def glTextureFoveationParametersQCOM(_texture_, _layer_, _focalPoint_, _focalX_, _focalY_, _gainX_, _gainY_, _foveaArea_)
|
7609
|
+
f = OpenGL::get_command(:glTextureFoveationParametersQCOM)
|
7610
|
+
f.call(_texture_, _layer_, _focalPoint_, _focalX_, _focalY_, _gainX_, _gainY_, _foveaArea_)
|
7611
|
+
end
|
7612
|
+
SRC
|
7613
|
+
end # self.define_ext_command_GL_QCOM_texture_foveated
|
7614
|
+
|
7615
|
+
def self.get_ext_command_GL_QCOM_texture_foveated
|
7616
|
+
[
|
7617
|
+
'glTextureFoveationParametersQCOM',
|
7618
|
+
]
|
7619
|
+
end # self.get_ext_command_GL_QCOM_texture_foveated
|
7620
|
+
|
7621
|
+
|
7315
7622
|
def self.define_ext_command_GL_QCOM_perfmon_global_mode
|
7316
7623
|
end # self.define_ext_command_GL_QCOM_perfmon_global_mode
|
7317
7624
|
|