opengl-bindings 1.6.6 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f41e07b496a8a10bd17eea4eb5be05a75dfe28849d7983e69f270f53fb23de0
4
- data.tar.gz: b865df54646232987eccb64f2e9f2e3410e008101262a115f4329a946e8d9cfd
3
+ metadata.gz: 70c37d23cacb6ffd9716ea7e4b4edf91d7ad31fb934c216704730ea67b73b2a6
4
+ data.tar.gz: 6b03cdfccb7531e3a02fccd17b4e958cae9f6f8d1ac8a385a98984f4c8beac71
5
5
  SHA512:
6
- metadata.gz: 1ce523bc08d657989dbf593de568030c7686d13b29dc796bd9768ad534814b2e7115badcb54c5b46307a860917e1ee4a8e23e6bef0cd492d17f12388fade43e5
7
- data.tar.gz: 4bcab8d84d93ade07937e2f901a5a2207f824257dbe2e7f780fc012a2ada4bdd70f7f9f6b13467b4c89c9d8524828f74a43728dd6b8d345cc40e38010d578b7e
6
+ metadata.gz: dbca8746b75329618f406c97434872da4eec95d947b292f86bea2283b0ded3a084ce84e7812e21fe13a491723d39d5175ac08bf634c01b2d51a3e9bcd80f4b5c
7
+ data.tar.gz: b4de9c5c6558145860cdb294631823826c0568eb746f896cb444f5c5c69bf96be73807d61fbd1f448cf081de164a7b8ba3d631c6de6753c5f40ee0d43965b2ad
data/ChangeLog CHANGED
@@ -1,3 +1,16 @@
1
+ 2018-08-29 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated using latest gl.xml.
4
+
5
+ 2018-04-21 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * glfw.rb: Added GLFW 3.3 features.
8
+ * Updated gl.xml.
9
+
10
+ 2018-03-21 vaiorabbit <http://twitter.com/vaiorabbit>
11
+
12
+ * Updated using latest gl.xml.
13
+
1
14
  2018-02-15 vaiorabbit <http://twitter.com/vaiorabbit>
2
15
 
3
16
  * Fix NoMethodError when calling wglGetProcAddress ( Thanks: https://github.com/larskanis )
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 : 2018-02-15
8
+ * Last modified : 2018-08-29
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.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
107
108
  * ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
108
109
  * ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
109
110
  * ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
@@ -343,6 +344,7 @@ GLFW か GLUT を用意してください。ウィンドウやレンダリング
343
344
  ## テストした環境 ##
344
345
 
345
346
  * Ruby
347
+ * ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
346
348
  * ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
347
349
  * ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
348
350
  * ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # A GLFW wrapper (for version 3.0, 3.1 and 3.2)
2
+ # A GLFW wrapper (for version 3.0 - 3.3)
3
3
  require 'fiddle/import'
4
4
 
5
5
  module GLFW
@@ -177,10 +177,12 @@ module GLFW
177
177
  GLFW_KEY_MENU = 348
178
178
  GLFW_KEY_LAST = GLFW_KEY_MENU
179
179
 
180
- GLFW_MOD_SHIFT = 0x0001
181
- GLFW_MOD_CONTROL = 0x0002
182
- GLFW_MOD_ALT = 0x0004
183
- GLFW_MOD_SUPER = 0x0008
180
+ GLFW_MOD_SHIFT = 0x0001
181
+ GLFW_MOD_CONTROL = 0x0002
182
+ GLFW_MOD_ALT = 0x0004
183
+ GLFW_MOD_SUPER = 0x0008
184
+ GLFW_MOD_CAPS_LOCK = 0x0010 # Available since GLFW 3.3
185
+ GLFW_MOD_NUM_LOCK = 0x0020 # Available since GLFW 3.3
184
186
 
185
187
  GLFW_MOUSE_BUTTON_1 = 0
186
188
  GLFW_MOUSE_BUTTON_2 = 1
@@ -255,14 +257,17 @@ module GLFW
255
257
  GLFW_FORMAT_UNAVAILABLE = 0x00010009
256
258
  GLFW_NO_WINDOW_CONTEXT = 0x0001000A # Available since GLFW 3.2
257
259
 
258
- GLFW_FOCUSED = 0x00020001
259
- GLFW_ICONIFIED = 0x00020002
260
- GLFW_RESIZABLE = 0x00020003
261
- GLFW_VISIBLE = 0x00020004
262
- GLFW_DECORATED = 0x00020005
263
- GLFW_AUTO_ICONIFY = 0x00020006 # Available since GLFW 3.1
264
- GLFW_FLOATING = 0x00020007 # Available since GLFW 3.1
265
- GLFW_MAXIMIZED = 0x00020008 # Available since GLFW 3.2
260
+ GLFW_FOCUSED = 0x00020001
261
+ GLFW_ICONIFIED = 0x00020002
262
+ GLFW_RESIZABLE = 0x00020003
263
+ GLFW_VISIBLE = 0x00020004
264
+ GLFW_DECORATED = 0x00020005
265
+ GLFW_AUTO_ICONIFY = 0x00020006 # Available since GLFW 3.1
266
+ GLFW_FLOATING = 0x00020007 # Available since GLFW 3.1
267
+ GLFW_MAXIMIZED = 0x00020008 # Available since GLFW 3.2
268
+ GLFW_CENTER_CURSOR = 0x00020009 # Available since GLFW 3.3
269
+ GLFW_TRANSPARENT_FRAMEBUFFER = 0x0002000A # Available since GLFW 3.3
270
+ GLFW_HOVERED = 0x0002000B # Available since GLFW 3.3
266
271
 
267
272
  GLFW_RED_BITS = 0x00021001
268
273
  GLFW_GREEN_BITS = 0x00021002
@@ -294,9 +299,12 @@ module GLFW
294
299
  GLFW_CONTEXT_CREATION_API = 0x0002200B # Available since GLFW 3.2
295
300
 
296
301
  GLFW_COCOA_RETINA_FRAMEBUFFER = 0x00023001 # Available since GLFW 3.3
297
- GLFW_COCOA_FRAME_AUTOSAVE = 0x00023002 # Available since GLFW 3.3
302
+ GLFW_COCOA_FRAME_NAME = 0x00023002 # Available since GLFW 3.3
298
303
  GLFW_COCOA_GRAPHICS_SWITCHING = 0x00023003 # Available since GLFW 3.3
299
304
 
305
+ GLFW_X11_CLASS_NAME = 0x00024001 # Available since GLFW 3.3
306
+ GLFW_X11_INSTANCE_NAME = 0x00024002 # Available since GLFW 3.3
307
+
300
308
  GLFW_NO_API = 0 # Available since GLFW 3.2
301
309
  GLFW_OPENGL_API = 0x00030001
302
310
  GLFW_OPENGL_ES_API = 0x00030002
@@ -312,6 +320,7 @@ module GLFW
312
320
  GLFW_CURSOR = 0x00033001
313
321
  GLFW_STICKY_KEYS = 0x00033002
314
322
  GLFW_STICKY_MOUSE_BUTTONS = 0x00033003
323
+ GLFW_LOCK_KEY_MODS = 0x00033004 # Available since GLFW 3.3
315
324
 
316
325
  GLFW_CURSOR_NORMAL = 0x00034001
317
326
  GLFW_CURSOR_HIDDEN = 0x00034002
@@ -340,32 +349,30 @@ module GLFW
340
349
  GLFW_COCOA_CHDIR_RESOURCES = 0x00051001 # Available since GLFW 3.3
341
350
  GLFW_COCOA_MENUBAR = 0x00051002 # Available since GLFW 3.3
342
351
 
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
-
346
352
  GLFW_DONT_CARE = -1
347
353
 
348
354
  # typedefs
349
355
  @@glfw_cb_function_signature = {
350
- :GLFWerrorfun => "void GLFWerrorfun(int,const char*)",
351
- :GLFWwindowposfun => "void GLFWwindowposfun(void*,int,int)",
352
- :GLFWwindowsizefun => "void GLFWwindowsizefun(void*,int,int)",
353
- :GLFWwindowclosefun => "void GLFWwindowclosefun(void*)",
354
- :GLFWwindowrefreshfun => "void GLFWwindowrefreshfun(void*)",
355
- :GLFWwindowfocusfun => "void GLFWwindowfocusfun(void*,int)",
356
- :GLFWwindowiconifyfun => "void GLFWwindowiconifyfun(void*,int)",
357
- :GLFWwindowmaximizefun => "void GLFWwindowmaximizefun(void*,int)",
358
- :GLFWframebuffersizefun => "void GLFWframebuffersizefun(void*,int,int)",
359
- :GLFWmousebuttonfun => "void GLFWmousebuttonfun(void*,int,int,int)",
360
- :GLFWcursorposfun => "void GLFWcursorposfun(void*,double,double)",
361
- :GLFWcursorenterfun => "void GLFWcursorenterfun(void*,int)",
362
- :GLFWscrollfun => "void GLFWscrollfun(void*,double,double)",
363
- :GLFWkeyfun => "void GLFWkeyfun(void*,int,int,int,int)",
364
- :GLFWcharfun => "void GLFWcharfun(void*,unsigned int)",
365
- :GLFWcharmodsfun => "void GLFWcharmodsfun(void*,unsigned int,int)", # Available since GLFW 3.1
366
- :GLFWdropfun => "void GLFWdropfun(void*,int,const char**)", # Available since GLFW 3.1
367
- :GLFWmonitorfun => "void GLFWmonitorfun(void*,int)", # Available since GLFW 3.0
368
- :GLFWjoystickfun => "void GGLFWjoystickfun(int,int)", # Available since GLFW 3.2
356
+ :GLFWerrorfun => "void GLFWerrorfun(int,const char*)",
357
+ :GLFWwindowposfun => "void GLFWwindowposfun(void*,int,int)",
358
+ :GLFWwindowsizefun => "void GLFWwindowsizefun(void*,int,int)",
359
+ :GLFWwindowclosefun => "void GLFWwindowclosefun(void*)",
360
+ :GLFWwindowrefreshfun => "void GLFWwindowrefreshfun(void*)",
361
+ :GLFWwindowfocusfun => "void GLFWwindowfocusfun(void*,int)",
362
+ :GLFWwindowiconifyfun => "void GLFWwindowiconifyfun(void*,int)",
363
+ :GLFWwindowmaximizefun => "void GLFWwindowmaximizefun(void*,int)",
364
+ :GLFWframebuffersizefun => "void GLFWframebuffersizefun(void*,int,int)",
365
+ :GLFWwindowcontentscalefun => "void GLFWwindowcontentscalefun(void*,float,float)", # Available since GLFW 3.3
366
+ :GLFWmousebuttonfun => "void GLFWmousebuttonfun(void*,int,int,int)",
367
+ :GLFWcursorposfun => "void GLFWcursorposfun(void*,double,double)",
368
+ :GLFWcursorenterfun => "void GLFWcursorenterfun(void*,int)",
369
+ :GLFWscrollfun => "void GLFWscrollfun(void*,double,double)",
370
+ :GLFWkeyfun => "void GLFWkeyfun(void*,int,int,int,int)",
371
+ :GLFWcharfun => "void GLFWcharfun(void*,unsigned int)",
372
+ :GLFWcharmodsfun => "void GLFWcharmodsfun(void*,unsigned int,int)", # Available since GLFW 3.1 / Scheduled for removal in version 4.0.
373
+ :GLFWdropfun => "void GLFWdropfun(void*,int,const char**)", # Available since GLFW 3.1
374
+ :GLFWmonitorfun => "void GLFWmonitorfun(void*,int)", # Available since GLFW 3.0
375
+ :GLFWjoystickfun => "void GGLFWjoystickfun(int,int)", # Available since GLFW 3.2
369
376
  }
370
377
 
371
378
  # Creates a callback as an instance of Fiddle::Function
@@ -505,7 +512,6 @@ module GLFW
505
512
  'int glfwInit()',
506
513
  'void glfwTerminate()',
507
514
  'void glfwInitHint(int, int)', # Available since GLFW 3.3
508
- 'void glfwInitHintString(int, const char*)', # Available since GLFW 3.3
509
515
  'void glfwGetVersion(int*, int*, int*)',
510
516
  'const char* glfwGetVersionString()',
511
517
  'int glfwGetError(const char**)', # Available since GLFW 3.3
@@ -514,7 +520,10 @@ module GLFW
514
520
  'void* glfwGetPrimaryMonitor()',
515
521
  'void glfwGetMonitorPos(void*, int*, int*)',
516
522
  'void glfwGetMonitorPhysicalSize(void*, int*, int*)',
523
+ 'void glfwGetMonitorContentScale(void*, float*, float*)', # Available since GLFW 3.3
517
524
  'const char* glfwGetMonitorName(void*)',
525
+ 'const void glfwSetMonitorUserPointer(void*, void*)', # Available since GLFW 3.3
526
+ 'const void* glfwGetMonitorUserPointer(void**)', # Available since GLFW 3.3
518
527
  'void* glfwSetMonitorCallback(void*)', # Available since GLFW 3.0
519
528
  'const void* glfwGetVideoModes(void*, int*)',
520
529
  'const void* glfwGetVideoMode(void*)', # Available since GLFW 3.0
@@ -523,6 +532,7 @@ module GLFW
523
532
  'void glfwSetGammaRamp(void*, const void*)', # Available since GLFW 3.0
524
533
  'void glfwDefaultWindowHints()', # Available since GLFW 3.0
525
534
  'void glfwWindowHint(int, int)', # Available since GLFW 3.0
535
+ 'void glfwWindowHintString(int, const char*)', # Available since GLFW 3.3
526
536
  'void* glfwCreateWindow(int, int, const char*, void*, void*)', # Available since GLFW 3.0
527
537
  'void glfwDestroyWindow(void*)', # Available since GLFW 3.0
528
538
  'int glfwWindowShouldClose(void*)', # Available since GLFW 3.0
@@ -537,6 +547,9 @@ module GLFW
537
547
  'void glfwSetWindowSize(void*, int, int)',
538
548
  'void glfwGetFramebufferSize(void*, int*, int*)', # Available since GLFW 3.0
539
549
  'void glfwGetWindowFrameSize(void*, int*, int*, int*, int*)', # Available since GLFW 3.1
550
+ 'void glfwGetWindowContentScale(void*, float*, float*)', # Available since GLFW 3.3
551
+ 'float glfwGetWindowOpacity(void*)', # Available since GLFW 3.3
552
+ 'void glfwSetWindowOpacity(void*, float)', # Available since GLFW 3.3
540
553
  'void glfwIconifyWindow(void*)',
541
554
  'void glfwRestoreWindow(void*)',
542
555
  'void glfwMaximizeWindow(void*)', # Available since GLFW 3.2
@@ -558,6 +571,7 @@ module GLFW
558
571
  'void* glfwSetWindowIconifyCallback(void*, void*)', # Available since GLFW 3.0
559
572
  'void* glfwSetWindowMaximizeCallback(void*, void*)', # Available since GLFW 3.3
560
573
  'void* glfwSetFramebufferSizeCallback(void*, void*)', # Available since GLFW 3.0
574
+ 'void* glfwSetWindowContentScaleCallback(void*, void*)', # Available since GLFW 3.3
561
575
  'void glfwPollEvents()',
562
576
  'void glfwWaitEvents()',
563
577
  'void glfwWaitEventsTimeout(double)', # Available since GLFW 3.2
@@ -576,7 +590,7 @@ module GLFW
576
590
  'void glfwSetCursor(void*, void*)', # Available since GLFW 3.1
577
591
  'void* glfwSetKeyCallback(void*, void*)',
578
592
  'void* glfwSetCharCallback(void*, void*)',
579
- 'void* glfwSetCharModsCallback(void*, void*)', # Available since GLFW 3.1
593
+ 'void* glfwSetCharModsCallback(void*, void*)', # Available since GLFW 3.1 / Scheduled for removal in version 4.0.
580
594
  'void* glfwSetMouseButtonCallback(void*, void*)',
581
595
  'void* glfwSetCursorPosCallback(void*, void*)', # Available since GLFW 3.0
582
596
  'void* glfwSetCursorEnterCallback(void*, void*)', # Available since GLFW 3.0
@@ -589,6 +603,8 @@ module GLFW
589
603
  'const unsigned char* glfwGetJoystickHats(int, int*)', # Available since GLFW 3.3
590
604
  'const char* glfwGetJoystickName(int)', # Available since GLFW 3.0
591
605
  'const char* glfwGetJoystickGUID(int)', # Available since GLFW 3.3
606
+ 'void glfwSetJoystickUserPointer(int, void*)', # Available since GLFW 3.3
607
+ 'void* glfwGetJoystickUserPointer(int)', # Available since GLFW 3.3
592
608
  'int glfwJoystickIsGamepad(int)', # Available since GLFW 3.3
593
609
  'void* glfwSetJoystickCallback(void*)', # Available since GLFW 3.2
594
610
  'int glfwUpdateGamepadMappings(const char*)', # Available since GLFW 3.3
@@ -332,9 +332,9 @@ module OpenGL
332
332
 
333
333
  GL_FUNCTIONS_ARGS_MAP[:glDepthRange] = [Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
334
334
  GL_FUNCTIONS_RETVAL_MAP[:glDepthRange] = Fiddle::TYPE_VOID
335
- def glDepthRange(_near_, _far_)
335
+ def glDepthRange(_n_, _f_)
336
336
  f = OpenGL::get_command(:glDepthRange)
337
- f.call(_near_, _far_)
337
+ f.call(_n_, _f_)
338
338
  end
339
339
 
340
340
  GL_FUNCTIONS_ARGS_MAP[:glViewport] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
@@ -26,6 +26,34 @@ module OpenGLExt
26
26
  end # self.get_ext_command_GL_AMD_compressed_ATC_texture
27
27
 
28
28
 
29
+ def self.define_ext_command_GL_AMD_framebuffer_multisample_advanced
30
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleAdvancedAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
31
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleAdvancedAMD] = Fiddle::TYPE_VOID
32
+ OpenGL.module_eval(<<-SRC)
33
+ def glRenderbufferStorageMultisampleAdvancedAMD(_target_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
34
+ f = OpenGL::get_command(:glRenderbufferStorageMultisampleAdvancedAMD)
35
+ f.call(_target_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
36
+ end
37
+ SRC
38
+
39
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glNamedRenderbufferStorageMultisampleAdvancedAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
40
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glNamedRenderbufferStorageMultisampleAdvancedAMD] = Fiddle::TYPE_VOID
41
+ OpenGL.module_eval(<<-SRC)
42
+ def glNamedRenderbufferStorageMultisampleAdvancedAMD(_renderbuffer_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
43
+ f = OpenGL::get_command(:glNamedRenderbufferStorageMultisampleAdvancedAMD)
44
+ f.call(_renderbuffer_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
45
+ end
46
+ SRC
47
+ end # self.define_ext_command_GL_AMD_framebuffer_multisample_advanced
48
+
49
+ def self.get_ext_command_GL_AMD_framebuffer_multisample_advanced
50
+ [
51
+ 'glRenderbufferStorageMultisampleAdvancedAMD',
52
+ 'glNamedRenderbufferStorageMultisampleAdvancedAMD',
53
+ ]
54
+ end # self.get_ext_command_GL_AMD_framebuffer_multisample_advanced
55
+
56
+
29
57
  def self.define_ext_command_GL_AMD_performance_monitor
30
58
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetPerfMonitorGroupsAMD] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
31
59
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetPerfMonitorGroupsAMD] = Fiddle::TYPE_VOID
@@ -558,6 +586,34 @@ module OpenGLExt
558
586
  end # self.get_ext_command_GL_EXT_EGL_image_array
559
587
 
560
588
 
589
+ def self.define_ext_command_GL_EXT_EGL_image_storage
590
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTexStorageEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
591
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTexStorageEXT] = Fiddle::TYPE_VOID
592
+ OpenGL.module_eval(<<-SRC)
593
+ def glEGLImageTargetTexStorageEXT(_target_, _image_, _attrib_list_)
594
+ f = OpenGL::get_command(:glEGLImageTargetTexStorageEXT)
595
+ f.call(_target_, _image_, _attrib_list_)
596
+ end
597
+ SRC
598
+
599
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTextureStorageEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
600
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTextureStorageEXT] = Fiddle::TYPE_VOID
601
+ OpenGL.module_eval(<<-SRC)
602
+ def glEGLImageTargetTextureStorageEXT(_texture_, _image_, _attrib_list_)
603
+ f = OpenGL::get_command(:glEGLImageTargetTextureStorageEXT)
604
+ f.call(_texture_, _image_, _attrib_list_)
605
+ end
606
+ SRC
607
+ end # self.define_ext_command_GL_EXT_EGL_image_storage
608
+
609
+ def self.get_ext_command_GL_EXT_EGL_image_storage
610
+ [
611
+ 'glEGLImageTargetTexStorageEXT',
612
+ 'glEGLImageTargetTextureStorageEXT',
613
+ ]
614
+ end # self.get_ext_command_GL_EXT_EGL_image_storage
615
+
616
+
561
617
  def self.define_ext_command_GL_EXT_YUV_target
562
618
  end # self.define_ext_command_GL_EXT_YUV_target
563
619
 
@@ -2589,6 +2645,24 @@ module OpenGLExt
2589
2645
  end # self.get_ext_command_GL_EXT_shader_framebuffer_fetch
2590
2646
 
2591
2647
 
2648
+ def self.define_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
2649
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferFetchBarrierEXT] = []
2650
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferFetchBarrierEXT] = Fiddle::TYPE_VOID
2651
+ OpenGL.module_eval(<<-SRC)
2652
+ def glFramebufferFetchBarrierEXT()
2653
+ f = OpenGL::get_command(:glFramebufferFetchBarrierEXT)
2654
+ f.call()
2655
+ end
2656
+ SRC
2657
+ end # self.define_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
2658
+
2659
+ def self.get_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
2660
+ [
2661
+ 'glFramebufferFetchBarrierEXT',
2662
+ ]
2663
+ end # self.get_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
2664
+
2665
+
2592
2666
  def self.define_ext_command_GL_EXT_shader_group_vote
2593
2667
  end # self.define_ext_command_GL_EXT_shader_group_vote
2594
2668
 
@@ -2959,6 +3033,15 @@ module OpenGLExt
2959
3033
  end # self.get_ext_command_GL_EXT_texture_format_BGRA8888
2960
3034
 
2961
3035
 
3036
+ def self.define_ext_command_GL_EXT_texture_format_sRGB_override
3037
+ end # self.define_ext_command_GL_EXT_texture_format_sRGB_override
3038
+
3039
+ def self.get_ext_command_GL_EXT_texture_format_sRGB_override
3040
+ [
3041
+ ]
3042
+ end # self.get_ext_command_GL_EXT_texture_format_sRGB_override
3043
+
3044
+
2962
3045
  def self.define_ext_command_GL_EXT_texture_mirror_clamp_to_edge
2963
3046
  end # self.define_ext_command_GL_EXT_texture_mirror_clamp_to_edge
2964
3047
 
@@ -3377,6 +3460,15 @@ module OpenGLExt
3377
3460
  end # self.get_ext_command_GL_INTEL_framebuffer_CMAA
3378
3461
 
3379
3462
 
3463
+ def self.define_ext_command_GL_INTEL_blackhole_render
3464
+ end # self.define_ext_command_GL_INTEL_blackhole_render
3465
+
3466
+ def self.get_ext_command_GL_INTEL_blackhole_render
3467
+ [
3468
+ ]
3469
+ end # self.get_ext_command_GL_INTEL_blackhole_render
3470
+
3471
+
3380
3472
  def self.define_ext_command_GL_INTEL_performance_query
3381
3473
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBeginPerfQueryINTEL] = [-Fiddle::TYPE_INT]
3382
3474
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBeginPerfQueryINTEL] = Fiddle::TYPE_VOID
@@ -3920,6 +4012,15 @@ module OpenGLExt
3920
4012
  end # self.get_ext_command_GL_KHR_parallel_shader_compile
3921
4013
 
3922
4014
 
4015
+ def self.define_ext_command_GL_MESA_framebuffer_flip_y
4016
+ end # self.define_ext_command_GL_MESA_framebuffer_flip_y
4017
+
4018
+ def self.get_ext_command_GL_MESA_framebuffer_flip_y
4019
+ [
4020
+ ]
4021
+ end # self.get_ext_command_GL_MESA_framebuffer_flip_y
4022
+
4023
+
3923
4024
  def self.define_ext_command_GL_MESA_program_binary_formats
3924
4025
  end # self.define_ext_command_GL_MESA_program_binary_formats
3925
4026
 
@@ -7637,6 +7738,15 @@ module OpenGLExt
7637
7738
  end # self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_noncoherent
7638
7739
 
7639
7740
 
7741
+ def self.define_ext_command_GL_QCOM_shader_framebuffer_fetch_rate
7742
+ end # self.define_ext_command_GL_QCOM_shader_framebuffer_fetch_rate
7743
+
7744
+ def self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_rate
7745
+ [
7746
+ ]
7747
+ end # self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_rate
7748
+
7749
+
7640
7750
  def self.define_ext_command_GL_QCOM_tiled_rendering
7641
7751
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glStartTilingQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
7642
7752
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glStartTilingQCOM] = Fiddle::TYPE_VOID
@@ -34,6 +34,27 @@ module OpenGLExt
34
34
  end # self.get_ext_enum_GL_AMD_compressed_ATC_texture
35
35
 
36
36
 
37
+ def self.define_ext_enum_GL_AMD_framebuffer_multisample_advanced
38
+ OpenGL.const_set('GL_RENDERBUFFER_STORAGE_SAMPLES_AMD', 0x91B2) unless defined?(OpenGL::GL_RENDERBUFFER_STORAGE_SAMPLES_AMD)
39
+ OpenGL.const_set('GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD', 0x91B3) unless defined?(OpenGL::GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD)
40
+ OpenGL.const_set('GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD', 0x91B4) unless defined?(OpenGL::GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD)
41
+ OpenGL.const_set('GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD', 0x91B5) unless defined?(OpenGL::GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD)
42
+ OpenGL.const_set('GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD', 0x91B6) unless defined?(OpenGL::GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD)
43
+ OpenGL.const_set('GL_SUPPORTED_MULTISAMPLE_MODES_AMD', 0x91B7) unless defined?(OpenGL::GL_SUPPORTED_MULTISAMPLE_MODES_AMD)
44
+ end # self.define_ext_enum_GL_AMD_framebuffer_multisample_advanced
45
+
46
+ def self.get_ext_enum_GL_AMD_framebuffer_multisample_advanced
47
+ [
48
+ 'GL_RENDERBUFFER_STORAGE_SAMPLES_AMD',
49
+ 'GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD',
50
+ 'GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD',
51
+ 'GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD',
52
+ 'GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD',
53
+ 'GL_SUPPORTED_MULTISAMPLE_MODES_AMD',
54
+ ]
55
+ end # self.get_ext_enum_GL_AMD_framebuffer_multisample_advanced
56
+
57
+
37
58
  def self.define_ext_enum_GL_AMD_performance_monitor
38
59
  OpenGL.const_set('GL_COUNTER_TYPE_AMD', 0x8BC0) unless defined?(OpenGL::GL_COUNTER_TYPE_AMD)
39
60
  OpenGL.const_set('GL_COUNTER_RANGE_AMD', 0x8BC1) unless defined?(OpenGL::GL_COUNTER_RANGE_AMD)
@@ -468,6 +489,15 @@ module OpenGLExt
468
489
  end # self.get_ext_enum_GL_EXT_EGL_image_array
469
490
 
470
491
 
492
+ def self.define_ext_enum_GL_EXT_EGL_image_storage
493
+ end # self.define_ext_enum_GL_EXT_EGL_image_storage
494
+
495
+ def self.get_ext_enum_GL_EXT_EGL_image_storage
496
+ [
497
+ ]
498
+ end # self.get_ext_enum_GL_EXT_EGL_image_storage
499
+
500
+
471
501
  def self.define_ext_enum_GL_EXT_YUV_target
472
502
  OpenGL.const_set('GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT', 0x8BE7) unless defined?(OpenGL::GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT)
473
503
  OpenGL.const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(OpenGL::GL_TEXTURE_EXTERNAL_OES)
@@ -1489,6 +1519,17 @@ module OpenGLExt
1489
1519
  end # self.get_ext_enum_GL_EXT_shader_framebuffer_fetch
1490
1520
 
1491
1521
 
1522
+ def self.define_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
1523
+ OpenGL.const_set('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT', 0x8A52) unless defined?(OpenGL::GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT)
1524
+ end # self.define_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
1525
+
1526
+ def self.get_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
1527
+ [
1528
+ 'GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT',
1529
+ ]
1530
+ end # self.get_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
1531
+
1532
+
1492
1533
  def self.define_ext_enum_GL_EXT_shader_group_vote
1493
1534
  end # self.define_ext_enum_GL_EXT_shader_group_vote
1494
1535
 
@@ -1958,6 +1999,17 @@ module OpenGLExt
1958
1999
  end # self.get_ext_enum_GL_EXT_texture_format_BGRA8888
1959
2000
 
1960
2001
 
2002
+ def self.define_ext_enum_GL_EXT_texture_format_sRGB_override
2003
+ OpenGL.const_set('GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT', 0x8FBF) unless defined?(OpenGL::GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT)
2004
+ end # self.define_ext_enum_GL_EXT_texture_format_sRGB_override
2005
+
2006
+ def self.get_ext_enum_GL_EXT_texture_format_sRGB_override
2007
+ [
2008
+ 'GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT',
2009
+ ]
2010
+ end # self.get_ext_enum_GL_EXT_texture_format_sRGB_override
2011
+
2012
+
1961
2013
  def self.define_ext_enum_GL_EXT_texture_mirror_clamp_to_edge
1962
2014
  OpenGL.const_set('GL_MIRROR_CLAMP_TO_EDGE_EXT', 0x8743) unless defined?(OpenGL::GL_MIRROR_CLAMP_TO_EDGE_EXT)
1963
2015
  end # self.define_ext_enum_GL_EXT_texture_mirror_clamp_to_edge
@@ -2332,6 +2384,17 @@ module OpenGLExt
2332
2384
  end # self.get_ext_enum_GL_INTEL_framebuffer_CMAA
2333
2385
 
2334
2386
 
2387
+ def self.define_ext_enum_GL_INTEL_blackhole_render
2388
+ OpenGL.const_set('GL_BLACKHOLE_RENDER_INTEL', 0x83FC) unless defined?(OpenGL::GL_BLACKHOLE_RENDER_INTEL)
2389
+ end # self.define_ext_enum_GL_INTEL_blackhole_render
2390
+
2391
+ def self.get_ext_enum_GL_INTEL_blackhole_render
2392
+ [
2393
+ 'GL_BLACKHOLE_RENDER_INTEL',
2394
+ ]
2395
+ end # self.get_ext_enum_GL_INTEL_blackhole_render
2396
+
2397
+
2335
2398
  def self.define_ext_enum_GL_INTEL_performance_query
2336
2399
  OpenGL.const_set('GL_PERFQUERY_SINGLE_CONTEXT_INTEL', 0x00000000) unless defined?(OpenGL::GL_PERFQUERY_SINGLE_CONTEXT_INTEL)
2337
2400
  OpenGL.const_set('GL_PERFQUERY_GLOBAL_CONTEXT_INTEL', 0x00000001) unless defined?(OpenGL::GL_PERFQUERY_GLOBAL_CONTEXT_INTEL)
@@ -2836,6 +2899,17 @@ module OpenGLExt
2836
2899
  end # self.get_ext_enum_GL_KHR_parallel_shader_compile
2837
2900
 
2838
2901
 
2902
+ def self.define_ext_enum_GL_MESA_framebuffer_flip_y
2903
+ OpenGL.const_set('GL_FRAMEBUFFER_FLIP_Y_MESA', 0x8BBB) unless defined?(OpenGL::GL_FRAMEBUFFER_FLIP_Y_MESA)
2904
+ end # self.define_ext_enum_GL_MESA_framebuffer_flip_y
2905
+
2906
+ def self.get_ext_enum_GL_MESA_framebuffer_flip_y
2907
+ [
2908
+ 'GL_FRAMEBUFFER_FLIP_Y_MESA',
2909
+ ]
2910
+ end # self.get_ext_enum_GL_MESA_framebuffer_flip_y
2911
+
2912
+
2839
2913
  def self.define_ext_enum_GL_MESA_program_binary_formats
2840
2914
  OpenGL.const_set('GL_PROGRAM_BINARY_FORMAT_MESA', 0x875F) unless defined?(OpenGL::GL_PROGRAM_BINARY_FORMAT_MESA)
2841
2915
  end # self.define_ext_enum_GL_MESA_program_binary_formats
@@ -5373,6 +5447,15 @@ module OpenGLExt
5373
5447
  end # self.get_ext_enum_GL_QCOM_shader_framebuffer_fetch_noncoherent
5374
5448
 
5375
5449
 
5450
+ def self.define_ext_enum_GL_QCOM_shader_framebuffer_fetch_rate
5451
+ end # self.define_ext_enum_GL_QCOM_shader_framebuffer_fetch_rate
5452
+
5453
+ def self.get_ext_enum_GL_QCOM_shader_framebuffer_fetch_rate
5454
+ [
5455
+ ]
5456
+ end # self.get_ext_enum_GL_QCOM_shader_framebuffer_fetch_rate
5457
+
5458
+
5376
5459
  def self.define_ext_enum_GL_QCOM_tiled_rendering
5377
5460
  OpenGL.const_set('GL_COLOR_BUFFER_BIT0_QCOM', 0x00000001) unless defined?(OpenGL::GL_COLOR_BUFFER_BIT0_QCOM)
5378
5461
  OpenGL.const_set('GL_COLOR_BUFFER_BIT1_QCOM', 0x00000002) unless defined?(OpenGL::GL_COLOR_BUFFER_BIT1_QCOM)
@@ -167,6 +167,34 @@ module OpenGLExt
167
167
  end # self.get_ext_command_GL_AMD_draw_buffers_blend
168
168
 
169
169
 
170
+ def self.define_ext_command_GL_AMD_framebuffer_multisample_advanced
171
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleAdvancedAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
172
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleAdvancedAMD] = Fiddle::TYPE_VOID
173
+ OpenGL.module_eval(<<-SRC)
174
+ def glRenderbufferStorageMultisampleAdvancedAMD(_target_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
175
+ f = OpenGL::get_command(:glRenderbufferStorageMultisampleAdvancedAMD)
176
+ f.call(_target_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
177
+ end
178
+ SRC
179
+
180
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glNamedRenderbufferStorageMultisampleAdvancedAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
181
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glNamedRenderbufferStorageMultisampleAdvancedAMD] = Fiddle::TYPE_VOID
182
+ OpenGL.module_eval(<<-SRC)
183
+ def glNamedRenderbufferStorageMultisampleAdvancedAMD(_renderbuffer_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
184
+ f = OpenGL::get_command(:glNamedRenderbufferStorageMultisampleAdvancedAMD)
185
+ f.call(_renderbuffer_, _samples_, _storageSamples_, _internalformat_, _width_, _height_)
186
+ end
187
+ SRC
188
+ end # self.define_ext_command_GL_AMD_framebuffer_multisample_advanced
189
+
190
+ def self.get_ext_command_GL_AMD_framebuffer_multisample_advanced
191
+ [
192
+ 'glRenderbufferStorageMultisampleAdvancedAMD',
193
+ 'glNamedRenderbufferStorageMultisampleAdvancedAMD',
194
+ ]
195
+ end # self.get_ext_command_GL_AMD_framebuffer_multisample_advanced
196
+
197
+
170
198
  def self.define_ext_command_GL_AMD_framebuffer_sample_positions
171
199
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferSamplePositionsfvAMD] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
172
200
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferSamplePositionsfvAMD] = Fiddle::TYPE_VOID
@@ -12055,6 +12083,34 @@ module OpenGLExt
12055
12083
  end # self.get_ext_command_GL_EXT_422_pixels
12056
12084
 
12057
12085
 
12086
+ def self.define_ext_command_GL_EXT_EGL_image_storage
12087
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTexStorageEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
12088
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTexStorageEXT] = Fiddle::TYPE_VOID
12089
+ OpenGL.module_eval(<<-SRC)
12090
+ def glEGLImageTargetTexStorageEXT(_target_, _image_, _attrib_list_)
12091
+ f = OpenGL::get_command(:glEGLImageTargetTexStorageEXT)
12092
+ f.call(_target_, _image_, _attrib_list_)
12093
+ end
12094
+ SRC
12095
+
12096
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTextureStorageEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
12097
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTextureStorageEXT] = Fiddle::TYPE_VOID
12098
+ OpenGL.module_eval(<<-SRC)
12099
+ def glEGLImageTargetTextureStorageEXT(_texture_, _image_, _attrib_list_)
12100
+ f = OpenGL::get_command(:glEGLImageTargetTextureStorageEXT)
12101
+ f.call(_texture_, _image_, _attrib_list_)
12102
+ end
12103
+ SRC
12104
+ end # self.define_ext_command_GL_EXT_EGL_image_storage
12105
+
12106
+ def self.get_ext_command_GL_EXT_EGL_image_storage
12107
+ [
12108
+ 'glEGLImageTargetTexStorageEXT',
12109
+ 'glEGLImageTargetTextureStorageEXT',
12110
+ ]
12111
+ end # self.get_ext_command_GL_EXT_EGL_image_storage
12112
+
12113
+
12058
12114
  def self.define_ext_command_GL_EXT_abgr
12059
12115
  end # self.define_ext_command_GL_EXT_abgr
12060
12116
 
@@ -17562,6 +17618,33 @@ module OpenGLExt
17562
17618
  end # self.get_ext_command_GL_EXT_separate_specular_color
17563
17619
 
17564
17620
 
17621
+ def self.define_ext_command_GL_EXT_shader_framebuffer_fetch
17622
+ end # self.define_ext_command_GL_EXT_shader_framebuffer_fetch
17623
+
17624
+ def self.get_ext_command_GL_EXT_shader_framebuffer_fetch
17625
+ [
17626
+ ]
17627
+ end # self.get_ext_command_GL_EXT_shader_framebuffer_fetch
17628
+
17629
+
17630
+ def self.define_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
17631
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferFetchBarrierEXT] = []
17632
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferFetchBarrierEXT] = Fiddle::TYPE_VOID
17633
+ OpenGL.module_eval(<<-SRC)
17634
+ def glFramebufferFetchBarrierEXT()
17635
+ f = OpenGL::get_command(:glFramebufferFetchBarrierEXT)
17636
+ f.call()
17637
+ end
17638
+ SRC
17639
+ end # self.define_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
17640
+
17641
+ def self.get_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
17642
+ [
17643
+ 'glFramebufferFetchBarrierEXT',
17644
+ ]
17645
+ end # self.get_ext_command_GL_EXT_shader_framebuffer_fetch_non_coherent
17646
+
17647
+
17565
17648
  def self.define_ext_command_GL_EXT_shader_image_load_formatted
17566
17649
  end # self.define_ext_command_GL_EXT_shader_image_load_formatted
17567
17650
 
@@ -19332,6 +19415,15 @@ module OpenGLExt
19332
19415
  end # self.get_ext_command_GL_INTEL_map_texture
19333
19416
 
19334
19417
 
19418
+ def self.define_ext_command_GL_INTEL_blackhole_render
19419
+ end # self.define_ext_command_GL_INTEL_blackhole_render
19420
+
19421
+ def self.get_ext_command_GL_INTEL_blackhole_render
19422
+ [
19423
+ ]
19424
+ end # self.get_ext_command_GL_INTEL_blackhole_render
19425
+
19426
+
19335
19427
  def self.define_ext_command_GL_INTEL_parallel_arrays
19336
19428
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexPointervINTEL] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
19337
19429
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexPointervINTEL] = Fiddle::TYPE_VOID
@@ -126,6 +126,27 @@ module OpenGLExt
126
126
  end # self.get_ext_enum_GL_AMD_draw_buffers_blend
127
127
 
128
128
 
129
+ def self.define_ext_enum_GL_AMD_framebuffer_multisample_advanced
130
+ OpenGL.const_set('GL_RENDERBUFFER_STORAGE_SAMPLES_AMD', 0x91B2) unless defined?(OpenGL::GL_RENDERBUFFER_STORAGE_SAMPLES_AMD)
131
+ OpenGL.const_set('GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD', 0x91B3) unless defined?(OpenGL::GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD)
132
+ OpenGL.const_set('GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD', 0x91B4) unless defined?(OpenGL::GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD)
133
+ OpenGL.const_set('GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD', 0x91B5) unless defined?(OpenGL::GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD)
134
+ OpenGL.const_set('GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD', 0x91B6) unless defined?(OpenGL::GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD)
135
+ OpenGL.const_set('GL_SUPPORTED_MULTISAMPLE_MODES_AMD', 0x91B7) unless defined?(OpenGL::GL_SUPPORTED_MULTISAMPLE_MODES_AMD)
136
+ end # self.define_ext_enum_GL_AMD_framebuffer_multisample_advanced
137
+
138
+ def self.get_ext_enum_GL_AMD_framebuffer_multisample_advanced
139
+ [
140
+ 'GL_RENDERBUFFER_STORAGE_SAMPLES_AMD',
141
+ 'GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD',
142
+ 'GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD',
143
+ 'GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD',
144
+ 'GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD',
145
+ 'GL_SUPPORTED_MULTISAMPLE_MODES_AMD',
146
+ ]
147
+ end # self.get_ext_enum_GL_AMD_framebuffer_multisample_advanced
148
+
149
+
129
150
  def self.define_ext_enum_GL_AMD_framebuffer_sample_positions
130
151
  OpenGL.const_set('GL_SUBSAMPLE_DISTANCE_AMD', 0x883F) unless defined?(OpenGL::GL_SUBSAMPLE_DISTANCE_AMD)
131
152
  OpenGL.const_set('GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD', 0x91AE) unless defined?(OpenGL::GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD)
@@ -5774,6 +5795,15 @@ module OpenGLExt
5774
5795
  end # self.get_ext_enum_GL_EXT_422_pixels
5775
5796
 
5776
5797
 
5798
+ def self.define_ext_enum_GL_EXT_EGL_image_storage
5799
+ end # self.define_ext_enum_GL_EXT_EGL_image_storage
5800
+
5801
+ def self.get_ext_enum_GL_EXT_EGL_image_storage
5802
+ [
5803
+ ]
5804
+ end # self.get_ext_enum_GL_EXT_EGL_image_storage
5805
+
5806
+
5777
5807
  def self.define_ext_enum_GL_EXT_abgr
5778
5808
  OpenGL.const_set('GL_ABGR_EXT', 0x8000) unless defined?(OpenGL::GL_ABGR_EXT)
5779
5809
  end # self.define_ext_enum_GL_EXT_abgr
@@ -7102,6 +7132,28 @@ module OpenGLExt
7102
7132
  end # self.get_ext_enum_GL_EXT_separate_specular_color
7103
7133
 
7104
7134
 
7135
+ def self.define_ext_enum_GL_EXT_shader_framebuffer_fetch
7136
+ OpenGL.const_set('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT', 0x8A52) unless defined?(OpenGL::GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT)
7137
+ end # self.define_ext_enum_GL_EXT_shader_framebuffer_fetch
7138
+
7139
+ def self.get_ext_enum_GL_EXT_shader_framebuffer_fetch
7140
+ [
7141
+ 'GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT',
7142
+ ]
7143
+ end # self.get_ext_enum_GL_EXT_shader_framebuffer_fetch
7144
+
7145
+
7146
+ def self.define_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
7147
+ OpenGL.const_set('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT', 0x8A52) unless defined?(OpenGL::GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT)
7148
+ end # self.define_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
7149
+
7150
+ def self.get_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
7151
+ [
7152
+ 'GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT',
7153
+ ]
7154
+ end # self.get_ext_enum_GL_EXT_shader_framebuffer_fetch_non_coherent
7155
+
7156
+
7105
7157
  def self.define_ext_enum_GL_EXT_shader_image_load_formatted
7106
7158
  end # self.define_ext_enum_GL_EXT_shader_image_load_formatted
7107
7159
 
@@ -8744,6 +8796,17 @@ module OpenGLExt
8744
8796
  end # self.get_ext_enum_GL_INTEL_map_texture
8745
8797
 
8746
8798
 
8799
+ def self.define_ext_enum_GL_INTEL_blackhole_render
8800
+ OpenGL.const_set('GL_BLACKHOLE_RENDER_INTEL', 0x83FC) unless defined?(OpenGL::GL_BLACKHOLE_RENDER_INTEL)
8801
+ end # self.define_ext_enum_GL_INTEL_blackhole_render
8802
+
8803
+ def self.get_ext_enum_GL_INTEL_blackhole_render
8804
+ [
8805
+ 'GL_BLACKHOLE_RENDER_INTEL',
8806
+ ]
8807
+ end # self.get_ext_enum_GL_INTEL_blackhole_render
8808
+
8809
+
8747
8810
  def self.define_ext_enum_GL_INTEL_parallel_arrays
8748
8811
  OpenGL.const_set('GL_PARALLEL_ARRAYS_INTEL', 0x83F4) unless defined?(OpenGL::GL_PARALLEL_ARRAYS_INTEL)
8749
8812
  OpenGL.const_set('GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL', 0x83F5) unless defined?(OpenGL::GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-08-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using
14
14
  Fiddle (For MRI >= 2.0.0). GLFW/GLUT/GLU bindings are also available.
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.7.3
72
+ rubygems_version: 2.7.7
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Bindings for OpenGL -4.6, ES - 3.2 and extensions (For MRI >= 2.0.0)