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.
- checksums.yaml +4 -4
- data/Gemfile +8 -0
- data/Manifest.txt +5 -1
- data/README.rdoc +25 -28
- data/Rakefile +56 -28
- data/examples/RedBook/font.rb +2 -2
- data/examples/RedBook/light.rb +2 -0
- data/examples/RedBook/stroke.rb +6 -6
- data/ext/opengl/GL/gl.h +2115 -0
- data/ext/opengl/GL/glext.h +11770 -0
- data/ext/opengl/common.h +116 -172
- data/ext/opengl/conv.h +2 -2
- data/ext/opengl/extconf.rb +3 -31
- data/ext/opengl/fptr_struct.h +912 -0
- data/ext/opengl/funcdef.h +29 -63
- data/ext/opengl/gl-1.0-1.1.c +918 -648
- data/ext/opengl/gl-1.2.c +13 -13
- data/ext/opengl/gl-1.3.c +68 -64
- data/ext/opengl/gl-1.4.c +64 -66
- data/ext/opengl/gl-1.5.c +32 -31
- data/ext/opengl/gl-2.0.c +126 -128
- data/ext/opengl/gl-2.1.c +8 -8
- data/ext/opengl/gl-3.0.c +102 -93
- data/ext/opengl/gl-enums.c +9 -29
- data/ext/opengl/gl-enums.h +31 -91
- data/ext/opengl/gl-error.c +15 -17
- data/ext/opengl/gl-error.h +4 -7
- data/ext/opengl/gl-ext-3dfx.c +2 -2
- data/ext/opengl/gl-ext-arb.c +176 -171
- data/ext/opengl/gl-ext-ati.c +4 -4
- data/ext/opengl/gl-ext-ext.c +151 -155
- data/ext/opengl/gl-ext-gremedy.c +4 -4
- data/ext/opengl/gl-ext-nv.c +141 -142
- data/ext/opengl/gl.c +121 -76
- data/ext/opengl/gl_buffer.c +44 -19
- data/ext/opengl/glimpl.c +187 -0
- data/ext/opengl/glimpl.h +47 -0
- data/ext/opengl/opengl.c +5 -3
- data/lib/opengl.rb +24 -4
- data/lib/opengl/1.9/opengl.so +0 -0
- data/lib/opengl/2.0/opengl.so +0 -0
- data/lib/opengl/2.1/opengl.so +0 -0
- data/lib/opengl/2.2/opengl.so +0 -0
- data/lib/opengl/2.3/opengl.so +0 -0
- data/lib/opengl/bindings_version.rb +4 -0
- data/lib/opengl/implementation.rb +38 -0
- data/opengl.gemspec +33 -0
- data/test/test_gl.rb +7 -0
- data/test/test_gl_21.rb +21 -21
- data/test/test_gl_ext_arb.rb +1 -1
- data/test/test_glimpl.rb +23 -0
- data/test/test_opengl_buffer.rb +2 -0
- data/utils/enumgen.rb +2 -2
- metadata +69 -60
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -0
- data/ext/opengl/gl-types.h +0 -67
- metadata.gz.sig +0 -0
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
data/ext/opengl/gl-types.h
DELETED
@@ -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
|