opengl-bindings 1.4.0 → 1.4.1

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
  SHA1:
3
- metadata.gz: ed6103cc13f12beab2bc9469d74015da4f4baede
4
- data.tar.gz: a5ee6f158b3fea87c1c53b3021a263c3e25b2b55
3
+ metadata.gz: 736797a9b089ef35057c6d16d20432ccf9e6e877
4
+ data.tar.gz: 604ccdf631bb011c891625b93659611c0d74eb9a
5
5
  SHA512:
6
- metadata.gz: 8d37bbac56463b483da209abb07775319abef4b3d0ec56a4101c8fd5bc885c7151207d0b15203d0ab485402ac6a586ef7d62df23049e02c881d9cda3e868c245
7
- data.tar.gz: 28bec8c164efdc4bf8b25ce6a56897165e983b1c85402edc9a393252abf4e698e84d92c28cf9e142bdf4498290a9d9fedb1253b6b2e9b17b93509b1ee587ec4c
6
+ metadata.gz: f6feb35f3a68fe0ed0ced31e3337ad55ec164a3ef942bc0f4717899ff2d9d601662214aeb7d5694ae76ecedc6ed9cc1ebbb62c036a13681800cd1c07bcb94457
7
+ data.tar.gz: c5f0016074b5fc485f6e6a407921906d10895d3af5f5409cf0f1cd921f3f5d8260c150252ce273efe84b1dcae6292e4250e8df8e1059d293abb598a7878e7065
data/ChangeLog CHANGED
@@ -1,3 +1,19 @@
1
+ 2015-08-10 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * OpenGL ES 3.2
4
+
5
+ 2015-08-09 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * sample/gles.rb, sample/report_env_es.rb: Added some window handle check in preparation for context creation failure.
8
+
9
+ 2015-08-08 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * Updated using latest gl.xml.
12
+
13
+ 2015-08-06 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * Updated using latest gl.xml.
16
+
1
17
  2015-07-30 vaiorabbit <http://twitter.com/vaiorabbit>
2
18
 
3
19
  * sample/util/setup_dll.rb, README.md: This library is tested on Linux. (Thanks: @cedlemo (https://github.com/cedlemo))
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 : 2015-07-30
8
+ * Last modified : 2015-08-10
9
9
 
10
10
 
11
11
  ## Features ##
@@ -108,6 +108,7 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
108
108
  ## Tested Environment ##
109
109
 
110
110
  * Ruby
111
+ * ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
111
112
  * ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
112
113
  * ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
113
114
  * ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
@@ -116,7 +117,6 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
116
117
  * ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
117
118
  * ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin13.0.0]
118
119
  * ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
119
- * ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
120
120
 
121
121
  * Windows 7 Home Premium, 64-bit (Service Pack 1)
122
122
  * NVIDIA GeForce GTX 560
@@ -132,13 +132,20 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
132
132
  $ ruby report_env.rb
133
133
  2.1 NVIDIA-8.12.47 310.40.00.05f01
134
134
 
135
- * Arch Linux kernel 4.1.2-2-ARCH, x86_64
135
+ * Arch Linux kernel 4.1.2-2-ARCH, Nvidia Driver, x86_64
136
136
  * NVIDIA GeForce GTS 450
137
- * 4.5.0
137
+ * OpenGL 4.5.0
138
138
 
139
139
  $ ruby report_env.rb
140
140
  Version: 4.5.0 NVIDIA 352.21
141
141
 
142
+ * Arch Linux kernel 4.1.4-1-ARCH, Nouveau Driver, x86_64
143
+ * NVIDIA GeForce GTS 450
144
+ * OpenGL 3.0
145
+
146
+ $ ruby report_env.rb
147
+ Version: 3.0 Mesa 10.6.3
148
+
142
149
  * You can use any lib/path names by passing as arguments like:
143
150
  * OpenGL.load_lib( 'libGL.so', '/usr/lib' )
144
151
  * GLFW.load_lib( 'libglfw.so', '/usr/lib' )
@@ -327,13 +334,20 @@ GLFW か GLUT を用意してください。ウィンドウやレンダリング
327
334
  $ ruby report_env.rb
328
335
  2.1 NVIDIA-8.12.47 310.40.00.05f01
329
336
 
330
- * Arch Linux kernel 4.1.2-2-ARCH, x86_64
337
+ * Arch Linux kernel 4.1.2-2-ARCH, Nvidia Driver, x86_64
331
338
  * NVIDIA GeForce GTS 450
332
- * 4.5.0
339
+ * OpenGL 4.5.0
333
340
 
334
341
  $ ruby report_env.rb
335
342
  Version: 4.5.0 NVIDIA 352.21
336
343
 
344
+ * Arch Linux kernel 4.1.4-1-ARCH, Nouveau Driver, x86_64
345
+ * NVIDIA GeForce GTS 450
346
+ * OpenGL 3.0
347
+
348
+ $ ruby report_env.rb
349
+ Version: 3.0 Mesa 10.6.3
350
+
337
351
  * 引数として渡すことで任意のライブラリ名/パス名を利用できます:
338
352
  * OpenGL.load_lib( 'libGL.so', '/usr/lib' )
339
353
  * GLFW.load_lib( 'libglfw.so', '/usr/lib' )
data/lib/glfw.rb CHANGED
@@ -341,11 +341,15 @@ module GLFW
341
341
  when :OPENGL_PLATFORM_MACOSX
342
342
  lib, path = 'libglfw.dylib', Dir.pwd
343
343
  else
344
- lib, path = 'libglfw.so', Dir.pwd
344
+ lib = 'libglfw.so'
345
345
  end
346
346
  end
347
347
 
348
- dlload (path + '/' + lib)
348
+ if path
349
+ dlload (path + '/' + lib)
350
+ else
351
+ dlload (lib)
352
+ end
349
353
  import_symbols() unless @@glfw_import_done
350
354
  end
351
355
 
data/lib/glfw30.rb CHANGED
@@ -318,11 +318,15 @@ module GLFW
318
318
  when :OPENGL_PLATFORM_MACOSX
319
319
  lib, path = 'libglfw.dylib', Dir.pwd
320
320
  else
321
- lib, path = 'libglfw.so', Dir.pwd
321
+ lib = 'libglfw.so'
322
322
  end
323
323
  end
324
-
325
- dlload (path + '/' + lib)
324
+
325
+ if path
326
+ dlload (path + '/' + lib)
327
+ else
328
+ dlload (lib)
329
+ end
326
330
  import_symbols() unless @@glfw_import_done
327
331
  end
328
332
 
@@ -2206,4 +2206,312 @@ module OpenGL
2206
2206
  f.call(_bindingindex_, _divisor_)
2207
2207
  end
2208
2208
 
2209
+ GL_FUNCTIONS_ARGS_MAP[:glBlendBarrier] = []
2210
+ GL_FUNCTIONS_RETVAL_MAP[:glBlendBarrier] = Fiddle::TYPE_VOID
2211
+ def glBlendBarrier()
2212
+ f = OpenGL::get_command(:glBlendBarrier)
2213
+ f.call()
2214
+ end
2215
+
2216
+ GL_FUNCTIONS_ARGS_MAP[:glCopyImageSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
2217
+ GL_FUNCTIONS_RETVAL_MAP[:glCopyImageSubData] = Fiddle::TYPE_VOID
2218
+ def glCopyImageSubData(_srcName_, _srcTarget_, _srcLevel_, _srcX_, _srcY_, _srcZ_, _dstName_, _dstTarget_, _dstLevel_, _dstX_, _dstY_, _dstZ_, _srcWidth_, _srcHeight_, _srcDepth_)
2219
+ f = OpenGL::get_command(:glCopyImageSubData)
2220
+ f.call(_srcName_, _srcTarget_, _srcLevel_, _srcX_, _srcY_, _srcZ_, _dstName_, _dstTarget_, _dstLevel_, _dstX_, _dstY_, _dstZ_, _srcWidth_, _srcHeight_, _srcDepth_)
2221
+ end
2222
+
2223
+ GL_FUNCTIONS_ARGS_MAP[:glDebugMessageControl] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_CHAR]
2224
+ GL_FUNCTIONS_RETVAL_MAP[:glDebugMessageControl] = Fiddle::TYPE_VOID
2225
+ def glDebugMessageControl(_source_, _type_, _severity_, _count_, _ids_, _enabled_)
2226
+ f = OpenGL::get_command(:glDebugMessageControl)
2227
+ f.call(_source_, _type_, _severity_, _count_, _ids_, _enabled_)
2228
+ end
2229
+
2230
+ GL_FUNCTIONS_ARGS_MAP[:glDebugMessageInsert] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2231
+ GL_FUNCTIONS_RETVAL_MAP[:glDebugMessageInsert] = Fiddle::TYPE_VOID
2232
+ def glDebugMessageInsert(_source_, _type_, _id_, _severity_, _length_, _buf_)
2233
+ f = OpenGL::get_command(:glDebugMessageInsert)
2234
+ f.call(_source_, _type_, _id_, _severity_, _length_, _buf_)
2235
+ end
2236
+
2237
+ GL_FUNCTIONS_ARGS_MAP[:glDebugMessageCallback] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
2238
+ GL_FUNCTIONS_RETVAL_MAP[:glDebugMessageCallback] = Fiddle::TYPE_VOID
2239
+ def glDebugMessageCallback(_callback_, _userParam_)
2240
+ f = OpenGL::get_command(:glDebugMessageCallback)
2241
+ f.call(_callback_, _userParam_)
2242
+ end
2243
+
2244
+ GL_FUNCTIONS_ARGS_MAP[:glGetDebugMessageLog] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
2245
+ GL_FUNCTIONS_RETVAL_MAP[:glGetDebugMessageLog] = -Fiddle::TYPE_INT
2246
+ def glGetDebugMessageLog(_count_, _bufSize_, _sources_, _types_, _ids_, _severities_, _lengths_, _messageLog_)
2247
+ f = OpenGL::get_command(:glGetDebugMessageLog)
2248
+ f.call(_count_, _bufSize_, _sources_, _types_, _ids_, _severities_, _lengths_, _messageLog_)
2249
+ end
2250
+
2251
+ GL_FUNCTIONS_ARGS_MAP[:glPushDebugGroup] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2252
+ GL_FUNCTIONS_RETVAL_MAP[:glPushDebugGroup] = Fiddle::TYPE_VOID
2253
+ def glPushDebugGroup(_source_, _id_, _length_, _message_)
2254
+ f = OpenGL::get_command(:glPushDebugGroup)
2255
+ f.call(_source_, _id_, _length_, _message_)
2256
+ end
2257
+
2258
+ GL_FUNCTIONS_ARGS_MAP[:glPopDebugGroup] = []
2259
+ GL_FUNCTIONS_RETVAL_MAP[:glPopDebugGroup] = Fiddle::TYPE_VOID
2260
+ def glPopDebugGroup()
2261
+ f = OpenGL::get_command(:glPopDebugGroup)
2262
+ f.call()
2263
+ end
2264
+
2265
+ GL_FUNCTIONS_ARGS_MAP[:glObjectLabel] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2266
+ GL_FUNCTIONS_RETVAL_MAP[:glObjectLabel] = Fiddle::TYPE_VOID
2267
+ def glObjectLabel(_identifier_, _name_, _length_, _label_)
2268
+ f = OpenGL::get_command(:glObjectLabel)
2269
+ f.call(_identifier_, _name_, _length_, _label_)
2270
+ end
2271
+
2272
+ GL_FUNCTIONS_ARGS_MAP[:glGetObjectLabel] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
2273
+ GL_FUNCTIONS_RETVAL_MAP[:glGetObjectLabel] = Fiddle::TYPE_VOID
2274
+ def glGetObjectLabel(_identifier_, _name_, _bufSize_, _length_, _label_)
2275
+ f = OpenGL::get_command(:glGetObjectLabel)
2276
+ f.call(_identifier_, _name_, _bufSize_, _length_, _label_)
2277
+ end
2278
+
2279
+ GL_FUNCTIONS_ARGS_MAP[:glObjectPtrLabel] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2280
+ GL_FUNCTIONS_RETVAL_MAP[:glObjectPtrLabel] = Fiddle::TYPE_VOID
2281
+ def glObjectPtrLabel(_ptr_, _length_, _label_)
2282
+ f = OpenGL::get_command(:glObjectPtrLabel)
2283
+ f.call(_ptr_, _length_, _label_)
2284
+ end
2285
+
2286
+ GL_FUNCTIONS_ARGS_MAP[:glGetObjectPtrLabel] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
2287
+ GL_FUNCTIONS_RETVAL_MAP[:glGetObjectPtrLabel] = Fiddle::TYPE_VOID
2288
+ def glGetObjectPtrLabel(_ptr_, _bufSize_, _length_, _label_)
2289
+ f = OpenGL::get_command(:glGetObjectPtrLabel)
2290
+ f.call(_ptr_, _bufSize_, _length_, _label_)
2291
+ end
2292
+
2293
+ GL_FUNCTIONS_ARGS_MAP[:glGetPointerv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2294
+ GL_FUNCTIONS_RETVAL_MAP[:glGetPointerv] = Fiddle::TYPE_VOID
2295
+ def glGetPointerv(_pname_, _params_)
2296
+ f = OpenGL::get_command(:glGetPointerv)
2297
+ f.call(_pname_, _params_)
2298
+ end
2299
+
2300
+ GL_FUNCTIONS_ARGS_MAP[:glEnablei] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2301
+ GL_FUNCTIONS_RETVAL_MAP[:glEnablei] = Fiddle::TYPE_VOID
2302
+ def glEnablei(_target_, _index_)
2303
+ f = OpenGL::get_command(:glEnablei)
2304
+ f.call(_target_, _index_)
2305
+ end
2306
+
2307
+ GL_FUNCTIONS_ARGS_MAP[:glDisablei] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2308
+ GL_FUNCTIONS_RETVAL_MAP[:glDisablei] = Fiddle::TYPE_VOID
2309
+ def glDisablei(_target_, _index_)
2310
+ f = OpenGL::get_command(:glDisablei)
2311
+ f.call(_target_, _index_)
2312
+ end
2313
+
2314
+ GL_FUNCTIONS_ARGS_MAP[:glBlendEquationi] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2315
+ GL_FUNCTIONS_RETVAL_MAP[:glBlendEquationi] = Fiddle::TYPE_VOID
2316
+ def glBlendEquationi(_buf_, _mode_)
2317
+ f = OpenGL::get_command(:glBlendEquationi)
2318
+ f.call(_buf_, _mode_)
2319
+ end
2320
+
2321
+ GL_FUNCTIONS_ARGS_MAP[:glBlendEquationSeparatei] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2322
+ GL_FUNCTIONS_RETVAL_MAP[:glBlendEquationSeparatei] = Fiddle::TYPE_VOID
2323
+ def glBlendEquationSeparatei(_buf_, _modeRGB_, _modeAlpha_)
2324
+ f = OpenGL::get_command(:glBlendEquationSeparatei)
2325
+ f.call(_buf_, _modeRGB_, _modeAlpha_)
2326
+ end
2327
+
2328
+ GL_FUNCTIONS_ARGS_MAP[:glBlendFunci] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2329
+ GL_FUNCTIONS_RETVAL_MAP[:glBlendFunci] = Fiddle::TYPE_VOID
2330
+ def glBlendFunci(_buf_, _src_, _dst_)
2331
+ f = OpenGL::get_command(:glBlendFunci)
2332
+ f.call(_buf_, _src_, _dst_)
2333
+ end
2334
+
2335
+ GL_FUNCTIONS_ARGS_MAP[:glBlendFuncSeparatei] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2336
+ GL_FUNCTIONS_RETVAL_MAP[:glBlendFuncSeparatei] = Fiddle::TYPE_VOID
2337
+ def glBlendFuncSeparatei(_buf_, _srcRGB_, _dstRGB_, _srcAlpha_, _dstAlpha_)
2338
+ f = OpenGL::get_command(:glBlendFuncSeparatei)
2339
+ f.call(_buf_, _srcRGB_, _dstRGB_, _srcAlpha_, _dstAlpha_)
2340
+ end
2341
+
2342
+ GL_FUNCTIONS_ARGS_MAP[:glColorMaski] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR]
2343
+ GL_FUNCTIONS_RETVAL_MAP[:glColorMaski] = Fiddle::TYPE_VOID
2344
+ def glColorMaski(_index_, _r_, _g_, _b_, _a_)
2345
+ f = OpenGL::get_command(:glColorMaski)
2346
+ f.call(_index_, _r_, _g_, _b_, _a_)
2347
+ end
2348
+
2349
+ GL_FUNCTIONS_ARGS_MAP[:glIsEnabledi] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2350
+ GL_FUNCTIONS_RETVAL_MAP[:glIsEnabledi] = -Fiddle::TYPE_CHAR
2351
+ def glIsEnabledi(_target_, _index_)
2352
+ f = OpenGL::get_command(:glIsEnabledi)
2353
+ f.call(_target_, _index_)
2354
+ end
2355
+
2356
+ GL_FUNCTIONS_ARGS_MAP[:glDrawElementsBaseVertex] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
2357
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawElementsBaseVertex] = Fiddle::TYPE_VOID
2358
+ def glDrawElementsBaseVertex(_mode_, _count_, _type_, _indices_, _basevertex_)
2359
+ f = OpenGL::get_command(:glDrawElementsBaseVertex)
2360
+ f.call(_mode_, _count_, _type_, _indices_, _basevertex_)
2361
+ end
2362
+
2363
+ GL_FUNCTIONS_ARGS_MAP[:glDrawRangeElementsBaseVertex] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
2364
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawRangeElementsBaseVertex] = Fiddle::TYPE_VOID
2365
+ def glDrawRangeElementsBaseVertex(_mode_, _start_, _end_, _count_, _type_, _indices_, _basevertex_)
2366
+ f = OpenGL::get_command(:glDrawRangeElementsBaseVertex)
2367
+ f.call(_mode_, _start_, _end_, _count_, _type_, _indices_, _basevertex_)
2368
+ end
2369
+
2370
+ GL_FUNCTIONS_ARGS_MAP[:glDrawElementsInstancedBaseVertex] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
2371
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawElementsInstancedBaseVertex] = Fiddle::TYPE_VOID
2372
+ def glDrawElementsInstancedBaseVertex(_mode_, _count_, _type_, _indices_, _instancecount_, _basevertex_)
2373
+ f = OpenGL::get_command(:glDrawElementsInstancedBaseVertex)
2374
+ f.call(_mode_, _count_, _type_, _indices_, _instancecount_, _basevertex_)
2375
+ end
2376
+
2377
+ GL_FUNCTIONS_ARGS_MAP[:glFramebufferTexture] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
2378
+ GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTexture] = Fiddle::TYPE_VOID
2379
+ def glFramebufferTexture(_target_, _attachment_, _texture_, _level_)
2380
+ f = OpenGL::get_command(:glFramebufferTexture)
2381
+ f.call(_target_, _attachment_, _texture_, _level_)
2382
+ end
2383
+
2384
+ GL_FUNCTIONS_ARGS_MAP[:glPrimitiveBoundingBox] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
2385
+ GL_FUNCTIONS_RETVAL_MAP[:glPrimitiveBoundingBox] = Fiddle::TYPE_VOID
2386
+ def glPrimitiveBoundingBox(_minX_, _minY_, _minZ_, _minW_, _maxX_, _maxY_, _maxZ_, _maxW_)
2387
+ f = OpenGL::get_command(:glPrimitiveBoundingBox)
2388
+ f.call(_minX_, _minY_, _minZ_, _minW_, _maxX_, _maxY_, _maxZ_, _maxW_)
2389
+ end
2390
+
2391
+ GL_FUNCTIONS_ARGS_MAP[:glGetGraphicsResetStatus] = []
2392
+ GL_FUNCTIONS_RETVAL_MAP[:glGetGraphicsResetStatus] = -Fiddle::TYPE_INT
2393
+ def glGetGraphicsResetStatus()
2394
+ f = OpenGL::get_command(:glGetGraphicsResetStatus)
2395
+ f.call()
2396
+ end
2397
+
2398
+ GL_FUNCTIONS_ARGS_MAP[:glReadnPixels] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2399
+ GL_FUNCTIONS_RETVAL_MAP[:glReadnPixels] = Fiddle::TYPE_VOID
2400
+ def glReadnPixels(_x_, _y_, _width_, _height_, _format_, _type_, _bufSize_, _data_)
2401
+ f = OpenGL::get_command(:glReadnPixels)
2402
+ f.call(_x_, _y_, _width_, _height_, _format_, _type_, _bufSize_, _data_)
2403
+ end
2404
+
2405
+ GL_FUNCTIONS_ARGS_MAP[:glGetnUniformfv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2406
+ GL_FUNCTIONS_RETVAL_MAP[:glGetnUniformfv] = Fiddle::TYPE_VOID
2407
+ def glGetnUniformfv(_program_, _location_, _bufSize_, _params_)
2408
+ f = OpenGL::get_command(:glGetnUniformfv)
2409
+ f.call(_program_, _location_, _bufSize_, _params_)
2410
+ end
2411
+
2412
+ GL_FUNCTIONS_ARGS_MAP[:glGetnUniformiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2413
+ GL_FUNCTIONS_RETVAL_MAP[:glGetnUniformiv] = Fiddle::TYPE_VOID
2414
+ def glGetnUniformiv(_program_, _location_, _bufSize_, _params_)
2415
+ f = OpenGL::get_command(:glGetnUniformiv)
2416
+ f.call(_program_, _location_, _bufSize_, _params_)
2417
+ end
2418
+
2419
+ GL_FUNCTIONS_ARGS_MAP[:glGetnUniformuiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2420
+ GL_FUNCTIONS_RETVAL_MAP[:glGetnUniformuiv] = Fiddle::TYPE_VOID
2421
+ def glGetnUniformuiv(_program_, _location_, _bufSize_, _params_)
2422
+ f = OpenGL::get_command(:glGetnUniformuiv)
2423
+ f.call(_program_, _location_, _bufSize_, _params_)
2424
+ end
2425
+
2426
+ GL_FUNCTIONS_ARGS_MAP[:glMinSampleShading] = [Fiddle::TYPE_FLOAT]
2427
+ GL_FUNCTIONS_RETVAL_MAP[:glMinSampleShading] = Fiddle::TYPE_VOID
2428
+ def glMinSampleShading(_value_)
2429
+ f = OpenGL::get_command(:glMinSampleShading)
2430
+ f.call(_value_)
2431
+ end
2432
+
2433
+ GL_FUNCTIONS_ARGS_MAP[:glPatchParameteri] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
2434
+ GL_FUNCTIONS_RETVAL_MAP[:glPatchParameteri] = Fiddle::TYPE_VOID
2435
+ def glPatchParameteri(_pname_, _value_)
2436
+ f = OpenGL::get_command(:glPatchParameteri)
2437
+ f.call(_pname_, _value_)
2438
+ end
2439
+
2440
+ GL_FUNCTIONS_ARGS_MAP[:glTexParameterIiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2441
+ GL_FUNCTIONS_RETVAL_MAP[:glTexParameterIiv] = Fiddle::TYPE_VOID
2442
+ def glTexParameterIiv(_target_, _pname_, _params_)
2443
+ f = OpenGL::get_command(:glTexParameterIiv)
2444
+ f.call(_target_, _pname_, _params_)
2445
+ end
2446
+
2447
+ GL_FUNCTIONS_ARGS_MAP[:glTexParameterIuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2448
+ GL_FUNCTIONS_RETVAL_MAP[:glTexParameterIuiv] = Fiddle::TYPE_VOID
2449
+ def glTexParameterIuiv(_target_, _pname_, _params_)
2450
+ f = OpenGL::get_command(:glTexParameterIuiv)
2451
+ f.call(_target_, _pname_, _params_)
2452
+ end
2453
+
2454
+ GL_FUNCTIONS_ARGS_MAP[:glGetTexParameterIiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2455
+ GL_FUNCTIONS_RETVAL_MAP[:glGetTexParameterIiv] = Fiddle::TYPE_VOID
2456
+ def glGetTexParameterIiv(_target_, _pname_, _params_)
2457
+ f = OpenGL::get_command(:glGetTexParameterIiv)
2458
+ f.call(_target_, _pname_, _params_)
2459
+ end
2460
+
2461
+ GL_FUNCTIONS_ARGS_MAP[:glGetTexParameterIuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2462
+ GL_FUNCTIONS_RETVAL_MAP[:glGetTexParameterIuiv] = Fiddle::TYPE_VOID
2463
+ def glGetTexParameterIuiv(_target_, _pname_, _params_)
2464
+ f = OpenGL::get_command(:glGetTexParameterIuiv)
2465
+ f.call(_target_, _pname_, _params_)
2466
+ end
2467
+
2468
+ GL_FUNCTIONS_ARGS_MAP[:glSamplerParameterIiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2469
+ GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameterIiv] = Fiddle::TYPE_VOID
2470
+ def glSamplerParameterIiv(_sampler_, _pname_, _param_)
2471
+ f = OpenGL::get_command(:glSamplerParameterIiv)
2472
+ f.call(_sampler_, _pname_, _param_)
2473
+ end
2474
+
2475
+ GL_FUNCTIONS_ARGS_MAP[:glSamplerParameterIuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2476
+ GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameterIuiv] = Fiddle::TYPE_VOID
2477
+ def glSamplerParameterIuiv(_sampler_, _pname_, _param_)
2478
+ f = OpenGL::get_command(:glSamplerParameterIuiv)
2479
+ f.call(_sampler_, _pname_, _param_)
2480
+ end
2481
+
2482
+ GL_FUNCTIONS_ARGS_MAP[:glGetSamplerParameterIiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2483
+ GL_FUNCTIONS_RETVAL_MAP[:glGetSamplerParameterIiv] = Fiddle::TYPE_VOID
2484
+ def glGetSamplerParameterIiv(_sampler_, _pname_, _params_)
2485
+ f = OpenGL::get_command(:glGetSamplerParameterIiv)
2486
+ f.call(_sampler_, _pname_, _params_)
2487
+ end
2488
+
2489
+ GL_FUNCTIONS_ARGS_MAP[:glGetSamplerParameterIuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2490
+ GL_FUNCTIONS_RETVAL_MAP[:glGetSamplerParameterIuiv] = Fiddle::TYPE_VOID
2491
+ def glGetSamplerParameterIuiv(_sampler_, _pname_, _params_)
2492
+ f = OpenGL::get_command(:glGetSamplerParameterIuiv)
2493
+ f.call(_sampler_, _pname_, _params_)
2494
+ end
2495
+
2496
+ GL_FUNCTIONS_ARGS_MAP[:glTexBuffer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2497
+ GL_FUNCTIONS_RETVAL_MAP[:glTexBuffer] = Fiddle::TYPE_VOID
2498
+ def glTexBuffer(_target_, _internalformat_, _buffer_)
2499
+ f = OpenGL::get_command(:glTexBuffer)
2500
+ f.call(_target_, _internalformat_, _buffer_)
2501
+ end
2502
+
2503
+ GL_FUNCTIONS_ARGS_MAP[:glTexBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
2504
+ GL_FUNCTIONS_RETVAL_MAP[:glTexBufferRange] = Fiddle::TYPE_VOID
2505
+ def glTexBufferRange(_target_, _internalformat_, _buffer_, _offset_, _size_)
2506
+ f = OpenGL::get_command(:glTexBufferRange)
2507
+ f.call(_target_, _internalformat_, _buffer_, _offset_, _size_)
2508
+ end
2509
+
2510
+ GL_FUNCTIONS_ARGS_MAP[:glTexStorage3DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
2511
+ GL_FUNCTIONS_RETVAL_MAP[:glTexStorage3DMultisample] = Fiddle::TYPE_VOID
2512
+ def glTexStorage3DMultisample(_target_, _samples_, _internalformat_, _width_, _height_, _depth_, _fixedsamplelocations_)
2513
+ f = OpenGL::get_command(:glTexStorage3DMultisample)
2514
+ f.call(_target_, _samples_, _internalformat_, _width_, _height_, _depth_, _fixedsamplelocations_)
2515
+ end
2516
+
2209
2517
  end