opengl 0.9.2-x64-mingw32 → 0.10.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -0
  3. data/{History.rdoc → History.md} +15 -0
  4. data/Manifest.txt +5 -1
  5. data/README.rdoc +25 -28
  6. data/Rakefile +125 -27
  7. data/examples/RedBook/font.rb +2 -2
  8. data/examples/RedBook/light.rb +2 -0
  9. data/examples/RedBook/stroke.rb +6 -6
  10. data/ext/opengl/GL/gl.h +2115 -0
  11. data/ext/opengl/GL/glext.h +11770 -0
  12. data/ext/opengl/common.h +116 -172
  13. data/ext/opengl/conv.h +2 -2
  14. data/ext/opengl/extconf.rb +3 -31
  15. data/ext/opengl/fptr_struct.h +912 -0
  16. data/ext/opengl/funcdef.h +29 -63
  17. data/ext/opengl/gl-1.0-1.1.c +918 -648
  18. data/ext/opengl/gl-1.2.c +13 -13
  19. data/ext/opengl/gl-1.3.c +68 -64
  20. data/ext/opengl/gl-1.4.c +64 -66
  21. data/ext/opengl/gl-1.5.c +32 -31
  22. data/ext/opengl/gl-2.0.c +126 -128
  23. data/ext/opengl/gl-2.1.c +8 -8
  24. data/ext/opengl/gl-3.0.c +102 -93
  25. data/ext/opengl/gl-enums.c +9 -29
  26. data/ext/opengl/gl-enums.h +31 -91
  27. data/ext/opengl/gl-error.c +15 -17
  28. data/ext/opengl/gl-error.h +4 -7
  29. data/ext/opengl/gl-ext-3dfx.c +2 -2
  30. data/ext/opengl/gl-ext-arb.c +176 -171
  31. data/ext/opengl/gl-ext-ati.c +4 -4
  32. data/ext/opengl/gl-ext-ext.c +151 -155
  33. data/ext/opengl/gl-ext-gremedy.c +4 -4
  34. data/ext/opengl/gl-ext-nv.c +141 -142
  35. data/ext/opengl/gl.c +121 -76
  36. data/ext/opengl/gl_buffer.c +44 -19
  37. data/ext/opengl/glimpl.c +187 -0
  38. data/ext/opengl/glimpl.h +47 -0
  39. data/ext/opengl/opengl.c +5 -3
  40. data/lib/opengl.rb +24 -4
  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/2.4/opengl.so +0 -0
  46. data/lib/opengl/bindings_version.rb +4 -0
  47. data/lib/opengl/implementation.rb +38 -0
  48. data/opengl.gemspec +32 -0
  49. data/test/test_gl.rb +7 -0
  50. data/test/test_gl_21.rb +21 -21
  51. data/test/test_gl_ext_arb.rb +1 -1
  52. data/test/test_glimpl.rb +23 -0
  53. data/test/test_opengl_buffer.rb +2 -0
  54. data/utils/enumgen.rb +2 -2
  55. metadata +74 -61
  56. checksums.yaml.gz.sig +0 -0
  57. data.tar.gz.sig +0 -0
  58. data/ext/opengl/gl-types.h +0 -67
  59. metadata.gz.sig +0 -2
Binary file
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
@@ -1,2 +0,0 @@
1
- 'wg����Fb��ޭ�e�H�\�d=��$�9�� �7u����L�e�}tŁ$��S!�\<x������n|���4̘�=48����v���sGw�*$�yG�Ԯc�����Ԙ$��:
2
- 3R���Lٿ������I}Z]����UB�����a��:&X�rnI�?�!�,S����V�u�J*�D�����Ш#{d2�Ճ>�{�Z�$x�@+��'�d�Q:�Z�� �4����\�9��TG@��O S�q2�`EY��