This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GL.java
169 lines (87 loc) · 3.01 KB
/
GL.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
package com.github.opengrabeso.jaagl;
import java.nio.ByteBuffer;
public interface GL {
GL2 getGL2();
GL3 getGL3();
GL2GL3 getGL2GL3();
GL3 gl3();
GL2 gl2();
boolean isGL3();
boolean isExtensionAvailable(String name);
int GL_TEXTURE0();
int GL_SCISSOR_TEST();
int GL_SRC_ALPHA();
int GL_ONE_MINUS_SRC_ALPHA();
int GL_TEXTURE_2D();
int GL_TEXTURE();
int GL_VIEWPORT();
void glDisable(int gl_lighting);
void glEnable(int gl_blend);
int GL_BLEND();
int GL_DEPTH_TEST();
int GL_CULL_FACE();
void glActiveTexture(int unit);
void glBindTexture(int type, int handle);
void glDeleteTextures(int[] handles);
void glGenTextures(int[] handles);
int GL_LINEAR();
int GL_LINEAR_MIPMAP_NEAREST();
int GL_NEAREST();
int GL_NEAREST_MIPMAP_NEAREST();
int GL_TEXTURE_MAG_FILTER();
int GL_TEXTURE_MIN_FILTER();
void glTexParameteri(int type, int name, int value);
int GL_MAX_TEXTURE_SIZE();
int glGetInteger(int gl_unpack_alignment);
void glGetIntegerv(int gl_max_texture_size, int[] size);
int GL_UNPACK_ALIGNMENT();
int GL_UNPACK_SKIP_ROWS();
int GL_UNPACK_SKIP_PIXELS();
int GL_UNPACK_ROW_LENGTH();
void glPixelStorei(int gl_unpack_alignment, int i);
int GL_UNSIGNED_BYTE();
int GL_TEXTURE_1D();
int GL_TEXTURE_3D();
int GL_TEXTURE31();
int GL_COLOR_BUFFER_BIT();
int GL_DEPTH_BUFFER_BIT();
void glTexImage2D(int gl_texture_2D, int i, int i1, int size, int size1, int i2, int i3, int gl_unsigned_byte, ByteBuffer buffer);
void glTexSubImage2D(int gl_texture_2D, int i, int x, int y, int width, int height, int format, int gl_unsigned_byte, ByteBuffer wrap);
void glGenerateMipmap(int gl_texture_2D);
boolean glIsEnabled(int gl_depth_test);
int GL_ONE();
void glBlendFunc(int gl_one, int gl_one_minus_src_alpha);
RuntimeException newGLException(String log);
int GL_FLOAT();
int GL_RGB();
void glFlush();
int GL_TRIANGLES();
void glClearColor(float i, float i1, float i2, float i3);
void glClear(int gl_color_buffer_bit);
void glViewport(int i, int i1, int i2, int i3);
int glGetError();
int GL_NO_ERROR();
int GL_TRUE();
int GL_LINEAR_MIPMAP_LINEAR();
int GL_CLAMP_TO_EDGE();
int GL_TEXTURE_WRAP_S();
int GL_TEXTURE_WRAP_T();
int GL_TEXTURE_CUBE_MAP();
int GL_TEXTURE_WRAP_R();
int GL_GENERATE_MIPMAP();
void glTexParameterf(int gl_texture_env, int gl_texture_env_mode, float gl_blend);
int GL_STATIC_DRAW();
int GL_TRIANGLE_STRIP();
int GL_LINES();
int GL_TRIANGLE_FAN();
void glLineWidth(float glLineWidth);
void glPointSize(float glLineWidth);
void glGetFloatv(Object gl_modelview_matrix, float[] testMatrix, int i);
int GL_LINE_LOOP();
int GL_LINE_STRIP();
int GL_POINTS();
int GL_MULTISAMPLE();
int GL_RGBA();
void glScissor(int x, int i, int max, int max1);
int GL_ZERO();
}