opengl 0.9.2-x86-mingw32 → 0.10.0.pre1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -0
  3. data/Manifest.txt +5 -1
  4. data/README.rdoc +25 -28
  5. data/Rakefile +56 -28
  6. data/examples/RedBook/font.rb +2 -2
  7. data/examples/RedBook/light.rb +2 -0
  8. data/examples/RedBook/stroke.rb +6 -6
  9. data/ext/opengl/GL/gl.h +2115 -0
  10. data/ext/opengl/GL/glext.h +11770 -0
  11. data/ext/opengl/common.h +116 -172
  12. data/ext/opengl/conv.h +2 -2
  13. data/ext/opengl/extconf.rb +3 -31
  14. data/ext/opengl/fptr_struct.h +912 -0
  15. data/ext/opengl/funcdef.h +29 -63
  16. data/ext/opengl/gl-1.0-1.1.c +918 -648
  17. data/ext/opengl/gl-1.2.c +13 -13
  18. data/ext/opengl/gl-1.3.c +68 -64
  19. data/ext/opengl/gl-1.4.c +64 -66
  20. data/ext/opengl/gl-1.5.c +32 -31
  21. data/ext/opengl/gl-2.0.c +126 -128
  22. data/ext/opengl/gl-2.1.c +8 -8
  23. data/ext/opengl/gl-3.0.c +102 -93
  24. data/ext/opengl/gl-enums.c +9 -29
  25. data/ext/opengl/gl-enums.h +31 -91
  26. data/ext/opengl/gl-error.c +15 -17
  27. data/ext/opengl/gl-error.h +4 -7
  28. data/ext/opengl/gl-ext-3dfx.c +2 -2
  29. data/ext/opengl/gl-ext-arb.c +176 -171
  30. data/ext/opengl/gl-ext-ati.c +4 -4
  31. data/ext/opengl/gl-ext-ext.c +151 -155
  32. data/ext/opengl/gl-ext-gremedy.c +4 -4
  33. data/ext/opengl/gl-ext-nv.c +141 -142
  34. data/ext/opengl/gl.c +121 -76
  35. data/ext/opengl/gl_buffer.c +44 -19
  36. data/ext/opengl/glimpl.c +187 -0
  37. data/ext/opengl/glimpl.h +47 -0
  38. data/ext/opengl/opengl.c +5 -3
  39. data/lib/opengl.rb +24 -4
  40. data/lib/opengl/1.9/opengl.so +0 -0
  41. data/lib/opengl/2.0/opengl.so +0 -0
  42. data/lib/opengl/2.1/opengl.so +0 -0
  43. data/lib/opengl/2.2/opengl.so +0 -0
  44. data/lib/opengl/2.3/opengl.so +0 -0
  45. data/lib/opengl/bindings_version.rb +4 -0
  46. data/lib/opengl/implementation.rb +38 -0
  47. data/opengl.gemspec +33 -0
  48. data/test/test_gl.rb +7 -0
  49. data/test/test_gl_21.rb +21 -21
  50. data/test/test_gl_ext_arb.rb +1 -1
  51. data/test/test_glimpl.rb +23 -0
  52. data/test/test_opengl_buffer.rb +2 -0
  53. data/utils/enumgen.rb +2 -2
  54. metadata +69 -60
  55. checksums.yaml.gz.sig +0 -2
  56. data.tar.gz.sig +0 -0
  57. data/ext/opengl/gl-types.h +0 -67
  58. metadata.gz.sig +0 -0
checksums.yaml.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- lƽa��aN����8�WE\��� :�Gp������+v�i&N$�HN�a�B��N%�qm�lm�=8���W���J��1H�(�O��CBU��� _(���B��j�A&���6~����+�k
2
- ���s�l�I]��]���&������� [�[�� ';����~���+g��b��`͓_�C� �y?[��Ϊ���}A�x>>$ri�l�t/�T����'+K)��A��q�`U�j�poy f�R�C�
data.tar.gz.sig DELETED
Binary file
@@ -1,67 +0,0 @@
1
- /*
2
- * Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>
3
- *
4
- * This program is distributed under the terms of the MIT license.
5
- * See the included MIT-LICENSE file for the terms of this license.
6
- *
7
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
9
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
10
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
11
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
12
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
13
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
- */
15
-
16
- /* GL types - define if system GLheaders are not recent
17
- Note: must be included before gl-enums.h */
18
-
19
- #if HAVE_STDINT_H
20
- #include <stdint.h>
21
- #endif
22
-
23
- #ifndef HAVE_TYPE_INT64_T
24
- typedef __int64 int64_t;
25
- #endif
26
- #ifndef HAVE_TYPE_UINT64_T
27
- typedef unsigned __int64 uint64_t;
28
- #endif
29
-
30
- #if HAVE_INTTYPES_H
31
- #include <inttypes.h>
32
- #endif
33
-
34
- /* GL base */
35
- #ifndef GL_VERSION_1_5
36
- typedef ptrdiff_t GLintptr;
37
- typedef ptrdiff_t GLsizeiptr;
38
- #endif
39
-
40
- #ifndef GL_VERSION_2_0
41
- typedef char GLchar;
42
- #endif
43
-
44
- /* new GL types introduced by ARB extensions */
45
- #ifndef GL_ARB_half_float_pixel
46
- typedef unsigned short GLhalfARB;
47
- #endif
48
-
49
- #ifndef GL_ARB_shader_objects
50
- typedef char GLcharARB;
51
- typedef unsigned int GLhandleARB;
52
- #endif
53
-
54
- #ifndef GL_ARB_vertex_buffer_object
55
- typedef ptrdiff_t GLintptrARB;
56
- typedef ptrdiff_t GLsizeiptrARB;
57
- #endif
58
-
59
- /* new GL types introduced by other extensions */
60
- #ifndef GL_NV_half_float
61
- typedef unsigned short GLhalfNV;
62
- #endif
63
-
64
- #ifndef GL_EXT_timer_query
65
- typedef int64_t GLint64EXT;
66
- typedef uint64_t GLuint64EXT;
67
- #endif
metadata.gz.sig DELETED
Binary file