blob: 3b805d20773c512dd78a05c7c22568a0f602f871 [file] [log] [blame]
Jesse Halld830e742013-03-29 11:02:35 -07001/*
2**
3** Copyright 2013, The Android Open Source Project
4**
5** Licensed under the Apache License, Version 2.0 (the "License");
6** you may not use this file except in compliance with the License.
7** You may obtain a copy of the License at
8**
9** http://www.apache.org/licenses/LICENSE-2.0
10**
11** Unless required by applicable law or agreed to in writing, software
12** distributed under the License is distributed on an "AS IS" BASIS,
13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14** See the License for the specific language governing permissions and
15** limitations under the License.
16*/
17
18// This source file is automatically generated
19
20package android.opengl;
21
22/** OpenGL ES 3.0
Jesse Halld830e742013-03-29 11:02:35 -070023 */
24public class GLES30 extends GLES20 {
25 public static final int GL_READ_BUFFER = 0x0C02;
26 public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2;
27 public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3;
28 public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
29 public static final int GL_PACK_ROW_LENGTH = 0x0D02;
30 public static final int GL_PACK_SKIP_ROWS = 0x0D03;
31 public static final int GL_PACK_SKIP_PIXELS = 0x0D04;
32 public static final int GL_COLOR = 0x1800;
33 public static final int GL_DEPTH = 0x1801;
34 public static final int GL_STENCIL = 0x1802;
35 public static final int GL_RED = 0x1903;
36 public static final int GL_RGB8 = 0x8051;
37 public static final int GL_RGBA8 = 0x8058;
38 public static final int GL_RGB10_A2 = 0x8059;
39 public static final int GL_TEXTURE_BINDING_3D = 0x806A;
40 public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
41 public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E;
42 public static final int GL_TEXTURE_3D = 0x806F;
43 public static final int GL_TEXTURE_WRAP_R = 0x8072;
44 public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073;
45 public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
46 public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
47 public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9;
48 public static final int GL_TEXTURE_MIN_LOD = 0x813A;
49 public static final int GL_TEXTURE_MAX_LOD = 0x813B;
50 public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
51 public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
52 public static final int GL_MIN = 0x8007;
53 public static final int GL_MAX = 0x8008;
54 public static final int GL_DEPTH_COMPONENT24 = 0x81A6;
55 public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
56 public static final int GL_TEXTURE_COMPARE_MODE = 0x884C;
57 public static final int GL_TEXTURE_COMPARE_FUNC = 0x884D;
58 public static final int GL_CURRENT_QUERY = 0x8865;
59 public static final int GL_QUERY_RESULT = 0x8866;
60 public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867;
61 public static final int GL_BUFFER_MAPPED = 0x88BC;
62 public static final int GL_BUFFER_MAP_POINTER = 0x88BD;
63 public static final int GL_STREAM_READ = 0x88E1;
64 public static final int GL_STREAM_COPY = 0x88E2;
65 public static final int GL_STATIC_READ = 0x88E5;
66 public static final int GL_STATIC_COPY = 0x88E6;
67 public static final int GL_DYNAMIC_READ = 0x88E9;
68 public static final int GL_DYNAMIC_COPY = 0x88EA;
69 public static final int GL_MAX_DRAW_BUFFERS = 0x8824;
70 public static final int GL_DRAW_BUFFER0 = 0x8825;
71 public static final int GL_DRAW_BUFFER1 = 0x8826;
72 public static final int GL_DRAW_BUFFER2 = 0x8827;
73 public static final int GL_DRAW_BUFFER3 = 0x8828;
74 public static final int GL_DRAW_BUFFER4 = 0x8829;
75 public static final int GL_DRAW_BUFFER5 = 0x882A;
76 public static final int GL_DRAW_BUFFER6 = 0x882B;
77 public static final int GL_DRAW_BUFFER7 = 0x882C;
78 public static final int GL_DRAW_BUFFER8 = 0x882D;
79 public static final int GL_DRAW_BUFFER9 = 0x882E;
80 public static final int GL_DRAW_BUFFER10 = 0x882F;
81 public static final int GL_DRAW_BUFFER11 = 0x8830;
82 public static final int GL_DRAW_BUFFER12 = 0x8831;
83 public static final int GL_DRAW_BUFFER13 = 0x8832;
84 public static final int GL_DRAW_BUFFER14 = 0x8833;
85 public static final int GL_DRAW_BUFFER15 = 0x8834;
86 public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49;
87 public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A;
88 public static final int GL_SAMPLER_3D = 0x8B5F;
89 public static final int GL_SAMPLER_2D_SHADOW = 0x8B62;
90 public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B;
91 public static final int GL_PIXEL_PACK_BUFFER = 0x88EB;
92 public static final int GL_PIXEL_UNPACK_BUFFER = 0x88EC;
93 public static final int GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED;
94 public static final int GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF;
95 public static final int GL_FLOAT_MAT2x3 = 0x8B65;
96 public static final int GL_FLOAT_MAT2x4 = 0x8B66;
97 public static final int GL_FLOAT_MAT3x2 = 0x8B67;
98 public static final int GL_FLOAT_MAT3x4 = 0x8B68;
99 public static final int GL_FLOAT_MAT4x2 = 0x8B69;
100 public static final int GL_FLOAT_MAT4x3 = 0x8B6A;
101 public static final int GL_SRGB = 0x8C40;
102 public static final int GL_SRGB8 = 0x8C41;
103 public static final int GL_SRGB8_ALPHA8 = 0x8C43;
104 public static final int GL_COMPARE_REF_TO_TEXTURE = 0x884E;
105 public static final int GL_MAJOR_VERSION = 0x821B;
106 public static final int GL_MINOR_VERSION = 0x821C;
107 public static final int GL_NUM_EXTENSIONS = 0x821D;
108 public static final int GL_RGBA32F = 0x8814;
109 public static final int GL_RGB32F = 0x8815;
110 public static final int GL_RGBA16F = 0x881A;
111 public static final int GL_RGB16F = 0x881B;
112 public static final int GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD;
113 public static final int GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF;
114 public static final int GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904;
115 public static final int GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905;
116 public static final int GL_MAX_VARYING_COMPONENTS = 0x8B4B;
117 public static final int GL_TEXTURE_2D_ARRAY = 0x8C1A;
118 public static final int GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D;
119 public static final int GL_R11F_G11F_B10F = 0x8C3A;
120 public static final int GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B;
121 public static final int GL_RGB9_E5 = 0x8C3D;
122 public static final int GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E;
123 public static final int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76;
124 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F;
125 public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80;
126 public static final int GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83;
127 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84;
128 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85;
129 public static final int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88;
130 public static final int GL_RASTERIZER_DISCARD = 0x8C89;
131 public static final int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A;
132 public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B;
133 public static final int GL_INTERLEAVED_ATTRIBS = 0x8C8C;
134 public static final int GL_SEPARATE_ATTRIBS = 0x8C8D;
135 public static final int GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E;
136 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F;
137 public static final int GL_RGBA32UI = 0x8D70;
138 public static final int GL_RGB32UI = 0x8D71;
139 public static final int GL_RGBA16UI = 0x8D76;
140 public static final int GL_RGB16UI = 0x8D77;
141 public static final int GL_RGBA8UI = 0x8D7C;
142 public static final int GL_RGB8UI = 0x8D7D;
143 public static final int GL_RGBA32I = 0x8D82;
144 public static final int GL_RGB32I = 0x8D83;
145 public static final int GL_RGBA16I = 0x8D88;
146 public static final int GL_RGB16I = 0x8D89;
147 public static final int GL_RGBA8I = 0x8D8E;
148 public static final int GL_RGB8I = 0x8D8F;
149 public static final int GL_RED_INTEGER = 0x8D94;
150 public static final int GL_RGB_INTEGER = 0x8D98;
151 public static final int GL_RGBA_INTEGER = 0x8D99;
152 public static final int GL_SAMPLER_2D_ARRAY = 0x8DC1;
153 public static final int GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4;
154 public static final int GL_SAMPLER_CUBE_SHADOW = 0x8DC5;
155 public static final int GL_UNSIGNED_INT_VEC2 = 0x8DC6;
156 public static final int GL_UNSIGNED_INT_VEC3 = 0x8DC7;
157 public static final int GL_UNSIGNED_INT_VEC4 = 0x8DC8;
158 public static final int GL_INT_SAMPLER_2D = 0x8DCA;
159 public static final int GL_INT_SAMPLER_3D = 0x8DCB;
160 public static final int GL_INT_SAMPLER_CUBE = 0x8DCC;
161 public static final int GL_INT_SAMPLER_2D_ARRAY = 0x8DCF;
162 public static final int GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2;
163 public static final int GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3;
164 public static final int GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4;
165 public static final int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7;
166 public static final int GL_BUFFER_ACCESS_FLAGS = 0x911F;
167 public static final int GL_BUFFER_MAP_LENGTH = 0x9120;
168 public static final int GL_BUFFER_MAP_OFFSET = 0x9121;
169 public static final int GL_DEPTH_COMPONENT32F = 0x8CAC;
170 public static final int GL_DEPTH32F_STENCIL8 = 0x8CAD;
171 public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD;
172 public static final int GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210;
173 public static final int GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211;
174 public static final int GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212;
175 public static final int GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213;
176 public static final int GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214;
177 public static final int GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215;
178 public static final int GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216;
179 public static final int GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217;
180 public static final int GL_FRAMEBUFFER_DEFAULT = 0x8218;
181 public static final int GL_FRAMEBUFFER_UNDEFINED = 0x8219;
182 public static final int GL_DEPTH_STENCIL_ATTACHMENT = 0x821A;
183 public static final int GL_DEPTH_STENCIL = 0x84F9;
184 public static final int GL_UNSIGNED_INT_24_8 = 0x84FA;
185 public static final int GL_DEPTH24_STENCIL8 = 0x88F0;
186 public static final int GL_UNSIGNED_NORMALIZED = 0x8C17;
187 public static final int GL_DRAW_FRAMEBUFFER_BINDING = GL_FRAMEBUFFER_BINDING;
188 public static final int GL_READ_FRAMEBUFFER = 0x8CA8;
189 public static final int GL_DRAW_FRAMEBUFFER = 0x8CA9;
190 public static final int GL_READ_FRAMEBUFFER_BINDING = 0x8CAA;
191 public static final int GL_RENDERBUFFER_SAMPLES = 0x8CAB;
192 public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4;
193 public static final int GL_MAX_COLOR_ATTACHMENTS = 0x8CDF;
194 public static final int GL_COLOR_ATTACHMENT1 = 0x8CE1;
195 public static final int GL_COLOR_ATTACHMENT2 = 0x8CE2;
196 public static final int GL_COLOR_ATTACHMENT3 = 0x8CE3;
197 public static final int GL_COLOR_ATTACHMENT4 = 0x8CE4;
198 public static final int GL_COLOR_ATTACHMENT5 = 0x8CE5;
199 public static final int GL_COLOR_ATTACHMENT6 = 0x8CE6;
200 public static final int GL_COLOR_ATTACHMENT7 = 0x8CE7;
201 public static final int GL_COLOR_ATTACHMENT8 = 0x8CE8;
202 public static final int GL_COLOR_ATTACHMENT9 = 0x8CE9;
203 public static final int GL_COLOR_ATTACHMENT10 = 0x8CEA;
204 public static final int GL_COLOR_ATTACHMENT11 = 0x8CEB;
205 public static final int GL_COLOR_ATTACHMENT12 = 0x8CEC;
206 public static final int GL_COLOR_ATTACHMENT13 = 0x8CED;
207 public static final int GL_COLOR_ATTACHMENT14 = 0x8CEE;
208 public static final int GL_COLOR_ATTACHMENT15 = 0x8CEF;
209 public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56;
210 public static final int GL_MAX_SAMPLES = 0x8D57;
211 public static final int GL_HALF_FLOAT = 0x140B;
212 public static final int GL_MAP_READ_BIT = 0x0001;
213 public static final int GL_MAP_WRITE_BIT = 0x0002;
214 public static final int GL_MAP_INVALIDATE_RANGE_BIT = 0x0004;
215 public static final int GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008;
216 public static final int GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010;
217 public static final int GL_MAP_UNSYNCHRONIZED_BIT = 0x0020;
218 public static final int GL_RG = 0x8227;
219 public static final int GL_RG_INTEGER = 0x8228;
220 public static final int GL_R8 = 0x8229;
221 public static final int GL_RG8 = 0x822B;
222 public static final int GL_R16F = 0x822D;
223 public static final int GL_R32F = 0x822E;
224 public static final int GL_RG16F = 0x822F;
225 public static final int GL_RG32F = 0x8230;
226 public static final int GL_R8I = 0x8231;
227 public static final int GL_R8UI = 0x8232;
228 public static final int GL_R16I = 0x8233;
229 public static final int GL_R16UI = 0x8234;
230 public static final int GL_R32I = 0x8235;
231 public static final int GL_R32UI = 0x8236;
232 public static final int GL_RG8I = 0x8237;
233 public static final int GL_RG8UI = 0x8238;
234 public static final int GL_RG16I = 0x8239;
235 public static final int GL_RG16UI = 0x823A;
236 public static final int GL_RG32I = 0x823B;
237 public static final int GL_RG32UI = 0x823C;
238 public static final int GL_VERTEX_ARRAY_BINDING = 0x85B5;
239 public static final int GL_R8_SNORM = 0x8F94;
240 public static final int GL_RG8_SNORM = 0x8F95;
241 public static final int GL_RGB8_SNORM = 0x8F96;
242 public static final int GL_RGBA8_SNORM = 0x8F97;
243 public static final int GL_SIGNED_NORMALIZED = 0x8F9C;
244 public static final int GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69;
245 public static final int GL_COPY_READ_BUFFER = 0x8F36;
246 public static final int GL_COPY_WRITE_BUFFER = 0x8F37;
247 public static final int GL_COPY_READ_BUFFER_BINDING = GL_COPY_READ_BUFFER;
248 public static final int GL_COPY_WRITE_BUFFER_BINDING = GL_COPY_WRITE_BUFFER;
249 public static final int GL_UNIFORM_BUFFER = 0x8A11;
250 public static final int GL_UNIFORM_BUFFER_BINDING = 0x8A28;
251 public static final int GL_UNIFORM_BUFFER_START = 0x8A29;
252 public static final int GL_UNIFORM_BUFFER_SIZE = 0x8A2A;
253 public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B;
254 public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D;
255 public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E;
256 public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F;
257 public static final int GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30;
258 public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31;
259 public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33;
260 public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34;
261 public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35;
262 public static final int GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36;
263 public static final int GL_UNIFORM_TYPE = 0x8A37;
264 public static final int GL_UNIFORM_SIZE = 0x8A38;
265 public static final int GL_UNIFORM_NAME_LENGTH = 0x8A39;
266 public static final int GL_UNIFORM_BLOCK_INDEX = 0x8A3A;
267 public static final int GL_UNIFORM_OFFSET = 0x8A3B;
268 public static final int GL_UNIFORM_ARRAY_STRIDE = 0x8A3C;
269 public static final int GL_UNIFORM_MATRIX_STRIDE = 0x8A3D;
270 public static final int GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E;
271 public static final int GL_UNIFORM_BLOCK_BINDING = 0x8A3F;
272 public static final int GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40;
273 public static final int GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41;
274 public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42;
275 public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43;
276 public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44;
277 public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46;
278 // GL_INVALID_INDEX is defined as 0xFFFFFFFFu in C.
279 public static final int GL_INVALID_INDEX = -1;
280 public static final int GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122;
281 public static final int GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125;
282 public static final int GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111;
283 public static final int GL_OBJECT_TYPE = 0x9112;
284 public static final int GL_SYNC_CONDITION = 0x9113;
285 public static final int GL_SYNC_STATUS = 0x9114;
286 public static final int GL_SYNC_FLAGS = 0x9115;
287 public static final int GL_SYNC_FENCE = 0x9116;
288 public static final int GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117;
289 public static final int GL_UNSIGNALED = 0x9118;
290 public static final int GL_SIGNALED = 0x9119;
291 public static final int GL_ALREADY_SIGNALED = 0x911A;
292 public static final int GL_TIMEOUT_EXPIRED = 0x911B;
293 public static final int GL_CONDITION_SATISFIED = 0x911C;
294 public static final int GL_WAIT_FAILED = 0x911D;
295 public static final int GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001;
296 // GL_TIMEOUT_IGNORED is defined as 0xFFFFFFFFFFFFFFFFull in C.
297 public static final long GL_TIMEOUT_IGNORED = -1;
298 public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE;
299 public static final int GL_ANY_SAMPLES_PASSED = 0x8C2F;
300 public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A;
301 public static final int GL_SAMPLER_BINDING = 0x8919;
302 public static final int GL_RGB10_A2UI = 0x906F;
303 public static final int GL_TEXTURE_SWIZZLE_R = 0x8E42;
304 public static final int GL_TEXTURE_SWIZZLE_G = 0x8E43;
305 public static final int GL_TEXTURE_SWIZZLE_B = 0x8E44;
306 public static final int GL_TEXTURE_SWIZZLE_A = 0x8E45;
307 public static final int GL_GREEN = 0x1904;
308 public static final int GL_BLUE = 0x1905;
309 public static final int GL_INT_2_10_10_10_REV = 0x8D9F;
310 public static final int GL_TRANSFORM_FEEDBACK = 0x8E22;
311 public static final int GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23;
312 public static final int GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24;
313 public static final int GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25;
314 public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257;
315 public static final int GL_PROGRAM_BINARY_LENGTH = 0x8741;
316 public static final int GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE;
317 public static final int GL_PROGRAM_BINARY_FORMATS = 0x87FF;
318 public static final int GL_COMPRESSED_R11_EAC = 0x9270;
319 public static final int GL_COMPRESSED_SIGNED_R11_EAC = 0x9271;
320 public static final int GL_COMPRESSED_RG11_EAC = 0x9272;
321 public static final int GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273;
322 public static final int GL_COMPRESSED_RGB8_ETC2 = 0x9274;
323 public static final int GL_COMPRESSED_SRGB8_ETC2 = 0x9275;
324 public static final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276;
325 public static final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277;
326 public static final int GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278;
327 public static final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279;
328 public static final int GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F;
329 public static final int GL_MAX_ELEMENT_INDEX = 0x8D6B;
330 public static final int GL_NUM_SAMPLE_COUNTS = 0x9380;
331 public static final int GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF;
332
333 native private static void _nativeClassInit();
334 static {
335 _nativeClassInit();
336 }
337
338 // C function void glReadBuffer ( GLenum mode )
339
340 public static native void glReadBuffer(
341 int mode
342 );
343
344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )
345
346 public static native void glDrawRangeElements(
347 int mode,
348 int start,
349 int end,
350 int count,
351 int type,
352 java.nio.Buffer indices
353 );
354
355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset )
356
357 public static native void glDrawRangeElements(
358 int mode,
359 int start,
360 int end,
361 int count,
362 int type,
363 int offset
364 );
365
366 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
367
368 public static native void glTexImage3D(
369 int target,
370 int level,
371 int internalformat,
372 int width,
373 int height,
374 int depth,
375 int border,
376 int format,
377 int type,
378 java.nio.Buffer pixels
379 );
380
381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
382
383 public static native void glTexImage3D(
384 int target,
385 int level,
386 int internalformat,
387 int width,
388 int height,
389 int depth,
390 int border,
391 int format,
392 int type,
393 int offset
394 );
395
396 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels )
397
398 public static native void glTexSubImage3D(
399 int target,
400 int level,
401 int xoffset,
402 int yoffset,
403 int zoffset,
404 int width,
405 int height,
406 int depth,
407 int format,
408 int type,
409 java.nio.Buffer pixels
410 );
411
412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset )
413
414 public static native void glTexSubImage3D(
415 int target,
416 int level,
417 int xoffset,
418 int yoffset,
419 int zoffset,
420 int width,
421 int height,
422 int depth,
423 int format,
424 int type,
425 int offset
426 );
427
428 // C function void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height )
429
430 public static native void glCopyTexSubImage3D(
431 int target,
432 int level,
433 int xoffset,
434 int yoffset,
435 int zoffset,
436 int x,
437 int y,
438 int width,
439 int height
440 );
441
442 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )
443
444 public static native void glCompressedTexImage3D(
445 int target,
446 int level,
447 int internalformat,
448 int width,
449 int height,
450 int depth,
451 int border,
452 int imageSize,
453 java.nio.Buffer data
454 );
455
456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
457
458 public static native void glCompressedTexImage3D(
459 int target,
460 int level,
461 int internalformat,
462 int width,
463 int height,
464 int depth,
465 int border,
466 int imageSize,
467 int offset
468 );
469
470 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data )
471
472 public static native void glCompressedTexSubImage3D(
473 int target,
474 int level,
475 int xoffset,
476 int yoffset,
477 int zoffset,
478 int width,
479 int height,
480 int depth,
481 int format,
482 int imageSize,
483 java.nio.Buffer data
484 );
485
486 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset )
487
488 public static native void glCompressedTexSubImage3D(
489 int target,
490 int level,
491 int xoffset,
492 int yoffset,
493 int zoffset,
494 int width,
495 int height,
496 int depth,
497 int format,
498 int imageSize,
499 int offset
500 );
501
502 // C function void glGenQueries ( GLsizei n, GLuint *ids )
503
504 public static native void glGenQueries(
505 int n,
506 int[] ids,
507 int offset
508 );
509
510 // C function void glGenQueries ( GLsizei n, GLuint *ids )
511
512 public static native void glGenQueries(
513 int n,
514 java.nio.IntBuffer ids
515 );
516
517 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids )
518
519 public static native void glDeleteQueries(
520 int n,
521 int[] ids,
522 int offset
523 );
524
525 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids )
526
527 public static native void glDeleteQueries(
528 int n,
529 java.nio.IntBuffer ids
530 );
531
532 // C function GLboolean glIsQuery ( GLuint id )
533
534 public static native boolean glIsQuery(
535 int id
536 );
537
538 // C function void glBeginQuery ( GLenum target, GLuint id )
539
540 public static native void glBeginQuery(
541 int target,
542 int id
543 );
544
545 // C function void glEndQuery ( GLenum target )
546
547 public static native void glEndQuery(
548 int target
549 );
550
551 // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params )
552
553 public static native void glGetQueryiv(
554 int target,
555 int pname,
556 int[] params,
557 int offset
558 );
559
560 // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params )
561
562 public static native void glGetQueryiv(
563 int target,
564 int pname,
565 java.nio.IntBuffer params
566 );
567
568 // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params )
569
570 public static native void glGetQueryObjectuiv(
571 int id,
572 int pname,
573 int[] params,
574 int offset
575 );
576
577 // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params )
578
579 public static native void glGetQueryObjectuiv(
580 int id,
581 int pname,
582 java.nio.IntBuffer params
583 );
584
585 // C function GLboolean glUnmapBuffer ( GLenum target )
586
587 public static native boolean glUnmapBuffer(
588 int target
589 );
590
591 // C function void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params )
592
Romain Guy986af182016-11-30 17:14:57 -0800593 /**
594 * The {@link java.nio.Buffer} instance returned by this method is guaranteed
595 * to be an instance of {@link java.nio.ByteBuffer}.
596 */
Jesse Halld830e742013-03-29 11:02:35 -0700597 public static native java.nio.Buffer glGetBufferPointerv(
598 int target,
599 int pname
600 );
601
602 // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs )
603
604 public static native void glDrawBuffers(
605 int n,
606 int[] bufs,
607 int offset
608 );
609
610 // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs )
611
612 public static native void glDrawBuffers(
613 int n,
614 java.nio.IntBuffer bufs
615 );
616
617 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
618
619 public static native void glUniformMatrix2x3fv(
620 int location,
621 int count,
622 boolean transpose,
623 float[] value,
624 int offset
625 );
626
627 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
628
629 public static native void glUniformMatrix2x3fv(
630 int location,
631 int count,
632 boolean transpose,
633 java.nio.FloatBuffer value
634 );
635
636 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
637
638 public static native void glUniformMatrix3x2fv(
639 int location,
640 int count,
641 boolean transpose,
642 float[] value,
643 int offset
644 );
645
646 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
647
648 public static native void glUniformMatrix3x2fv(
649 int location,
650 int count,
651 boolean transpose,
652 java.nio.FloatBuffer value
653 );
654
655 // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
656
657 public static native void glUniformMatrix2x4fv(
658 int location,
659 int count,
660 boolean transpose,
661 float[] value,
662 int offset
663 );
664
665 // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
666
667 public static native void glUniformMatrix2x4fv(
668 int location,
669 int count,
670 boolean transpose,
671 java.nio.FloatBuffer value
672 );
673
674 // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
675
676 public static native void glUniformMatrix4x2fv(
677 int location,
678 int count,
679 boolean transpose,
680 float[] value,
681 int offset
682 );
683
684 // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
685
686 public static native void glUniformMatrix4x2fv(
687 int location,
688 int count,
689 boolean transpose,
690 java.nio.FloatBuffer value
691 );
692
693 // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
694
695 public static native void glUniformMatrix3x4fv(
696 int location,
697 int count,
698 boolean transpose,
699 float[] value,
700 int offset
701 );
702
703 // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
704
705 public static native void glUniformMatrix3x4fv(
706 int location,
707 int count,
708 boolean transpose,
709 java.nio.FloatBuffer value
710 );
711
712 // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
713
714 public static native void glUniformMatrix4x3fv(
715 int location,
716 int count,
717 boolean transpose,
718 float[] value,
719 int offset
720 );
721
722 // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
723
724 public static native void glUniformMatrix4x3fv(
725 int location,
726 int count,
727 boolean transpose,
728 java.nio.FloatBuffer value
729 );
730
731 // C function void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter )
732
733 public static native void glBlitFramebuffer(
734 int srcX0,
735 int srcY0,
736 int srcX1,
737 int srcY1,
738 int dstX0,
739 int dstY0,
740 int dstX1,
741 int dstY1,
742 int mask,
743 int filter
744 );
745
746 // C function void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height )
747
748 public static native void glRenderbufferStorageMultisample(
749 int target,
750 int samples,
751 int internalformat,
752 int width,
753 int height
754 );
755
756 // C function void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer )
757
758 public static native void glFramebufferTextureLayer(
759 int target,
760 int attachment,
761 int texture,
762 int level,
763 int layer
764 );
765
766 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
767
Romain Guy986af182016-11-30 17:14:57 -0800768 /**
769 * The {@link java.nio.Buffer} instance returned by this method is guaranteed
770 * to be an instance of {@link java.nio.ByteBuffer}.
771 */
Jesse Halld830e742013-03-29 11:02:35 -0700772 public static native java.nio.Buffer glMapBufferRange(
773 int target,
774 int offset,
775 int length,
776 int access
777 );
778
779 // C function void glFlushMappedBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length )
780
781 public static native void glFlushMappedBufferRange(
782 int target,
783 int offset,
784 int length
785 );
786
787 // C function void glBindVertexArray ( GLuint array )
788
789 public static native void glBindVertexArray(
790 int array
791 );
792
793 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays )
794
795 public static native void glDeleteVertexArrays(
796 int n,
797 int[] arrays,
798 int offset
799 );
800
801 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays )
802
803 public static native void glDeleteVertexArrays(
804 int n,
805 java.nio.IntBuffer arrays
806 );
807
808 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays )
809
810 public static native void glGenVertexArrays(
811 int n,
812 int[] arrays,
813 int offset
814 );
815
816 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays )
817
818 public static native void glGenVertexArrays(
819 int n,
820 java.nio.IntBuffer arrays
821 );
822
823 // C function GLboolean glIsVertexArray ( GLuint array )
824
825 public static native boolean glIsVertexArray(
826 int array
827 );
828
829 // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data )
830
831 public static native void glGetIntegeri_v(
832 int target,
833 int index,
834 int[] data,
835 int offset
836 );
837
838 // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data )
839
840 public static native void glGetIntegeri_v(
841 int target,
842 int index,
843 java.nio.IntBuffer data
844 );
845
846 // C function void glBeginTransformFeedback ( GLenum primitiveMode )
847
848 public static native void glBeginTransformFeedback(
849 int primitiveMode
850 );
851
852 // C function void glEndTransformFeedback ( void )
853
854 public static native void glEndTransformFeedback(
855 );
856
857 // C function void glBindBufferRange ( GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size )
858
859 public static native void glBindBufferRange(
860 int target,
861 int index,
862 int buffer,
863 int offset,
864 int size
865 );
866
867 // C function void glBindBufferBase ( GLenum target, GLuint index, GLuint buffer )
868
869 public static native void glBindBufferBase(
870 int target,
871 int index,
872 int buffer
873 );
874
John Spurlock8a985d22014-02-25 09:40:05 -0500875 // C function void glTransformFeedbackVaryings ( GLuint program, GLsizei count, const GLchar *varyings, GLenum bufferMode )
Jesse Halld830e742013-03-29 11:02:35 -0700876
John Spurlock8a985d22014-02-25 09:40:05 -0500877 public static native void glTransformFeedbackVaryings(
Jesse Halld830e742013-03-29 11:02:35 -0700878 int program,
879 String[] varyings,
880 int bufferMode
John Spurlock8a985d22014-02-25 09:40:05 -0500881 );
Jesse Halld830e742013-03-29 11:02:35 -0700882
883 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
884
885 public static native void glGetTransformFeedbackVarying(
886 int program,
887 int index,
888 int bufsize,
889 int[] length,
890 int lengthOffset,
891 int[] size,
892 int sizeOffset,
893 int[] type,
894 int typeOffset,
895 byte[] name,
896 int nameOffset
897 );
898
899 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
Pablo Ceballos59fb43e2016-01-29 15:43:00 -0800900 /**
901 * @deprecated
902 * Use the version that takes a ByteBuffer as the last argument, or the versions that return a String.
903 * */
Jesse Halld830e742013-03-29 11:02:35 -0700904 public static native void glGetTransformFeedbackVarying(
905 int program,
906 int index,
907 int bufsize,
908 java.nio.IntBuffer length,
909 java.nio.IntBuffer size,
910 java.nio.IntBuffer type,
911 byte name
912 );
913
914 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
915
Pablo Ceballos59fb43e2016-01-29 15:43:00 -0800916 public static native void glGetTransformFeedbackVarying(
917 int program,
918 int index,
919 int bufsize,
920 java.nio.IntBuffer length,
921 java.nio.IntBuffer size,
922 java.nio.IntBuffer type,
923 java.nio.ByteBuffer name
924 );
925
926 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
927
Jesse Halld830e742013-03-29 11:02:35 -0700928 public static native String glGetTransformFeedbackVarying(
929 int program,
930 int index,
931 int[] size,
932 int sizeOffset,
933 int[] type,
934 int typeOffset
935 );
936
937 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
938
939 public static native String glGetTransformFeedbackVarying(
940 int program,
941 int index,
942 java.nio.IntBuffer size,
943 java.nio.IntBuffer type
944 );
945
946 // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
947
948 private static native void glVertexAttribIPointerBounds(
949 int index,
950 int size,
951 int type,
952 int stride,
953 java.nio.Buffer pointer,
954 int remaining
955 );
956
957 public static void glVertexAttribIPointer(
958 int index,
959 int size,
960 int type,
961 int stride,
962 java.nio.Buffer pointer
963 ) {
964 glVertexAttribIPointerBounds(
965 index,
966 size,
967 type,
968 stride,
969 pointer,
970 pointer.remaining()
971 );
972 }
973
974 // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, GLsizei offset )
975
976 public static native void glVertexAttribIPointer(
977 int index,
978 int size,
979 int type,
980 int stride,
981 int offset
982 );
983
984 // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params )
985
986 public static native void glGetVertexAttribIiv(
987 int index,
988 int pname,
989 int[] params,
990 int offset
991 );
992
993 // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params )
994
995 public static native void glGetVertexAttribIiv(
996 int index,
997 int pname,
998 java.nio.IntBuffer params
999 );
1000
1001 // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params )
1002
1003 public static native void glGetVertexAttribIuiv(
1004 int index,
1005 int pname,
1006 int[] params,
1007 int offset
1008 );
1009
1010 // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params )
1011
1012 public static native void glGetVertexAttribIuiv(
1013 int index,
1014 int pname,
1015 java.nio.IntBuffer params
1016 );
1017
1018 // C function void glVertexAttribI4i ( GLuint index, GLint x, GLint y, GLint z, GLint w )
1019
1020 public static native void glVertexAttribI4i(
1021 int index,
1022 int x,
1023 int y,
1024 int z,
1025 int w
1026 );
1027
1028 // C function void glVertexAttribI4ui ( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w )
1029
1030 public static native void glVertexAttribI4ui(
1031 int index,
1032 int x,
1033 int y,
1034 int z,
1035 int w
1036 );
1037
1038 // C function void glVertexAttribI4iv ( GLuint index, const GLint *v )
1039
1040 public static native void glVertexAttribI4iv(
1041 int index,
1042 int[] v,
1043 int offset
1044 );
1045
1046 // C function void glVertexAttribI4iv ( GLuint index, const GLint *v )
1047
1048 public static native void glVertexAttribI4iv(
1049 int index,
1050 java.nio.IntBuffer v
1051 );
1052
1053 // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v )
1054
1055 public static native void glVertexAttribI4uiv(
1056 int index,
1057 int[] v,
1058 int offset
1059 );
1060
1061 // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v )
1062
1063 public static native void glVertexAttribI4uiv(
1064 int index,
1065 java.nio.IntBuffer v
1066 );
1067
1068 // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params )
1069
1070 public static native void glGetUniformuiv(
1071 int program,
1072 int location,
1073 int[] params,
1074 int offset
1075 );
1076
1077 // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params )
1078
1079 public static native void glGetUniformuiv(
1080 int program,
1081 int location,
1082 java.nio.IntBuffer params
1083 );
1084
1085 // C function GLint glGetFragDataLocation ( GLuint program, const GLchar *name )
1086
1087 public static native int glGetFragDataLocation(
1088 int program,
1089 String name
1090 );
1091
1092 // C function void glUniform1ui ( GLint location, GLuint v0 )
1093
1094 public static native void glUniform1ui(
1095 int location,
1096 int v0
1097 );
1098
1099 // C function void glUniform2ui ( GLint location, GLuint v0, GLuint v1 )
1100
1101 public static native void glUniform2ui(
1102 int location,
1103 int v0,
1104 int v1
1105 );
1106
1107 // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 )
1108
1109 public static native void glUniform3ui(
1110 int location,
1111 int v0,
1112 int v1,
1113 int v2
1114 );
1115
1116 // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 )
1117
1118 public static native void glUniform4ui(
1119 int location,
1120 int v0,
1121 int v1,
1122 int v2,
1123 int v3
1124 );
1125
1126 // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value )
1127
1128 public static native void glUniform1uiv(
1129 int location,
1130 int count,
1131 int[] value,
1132 int offset
1133 );
1134
1135 // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value )
1136
1137 public static native void glUniform1uiv(
1138 int location,
1139 int count,
1140 java.nio.IntBuffer value
1141 );
1142
1143 // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value )
1144
1145 public static native void glUniform2uiv(
1146 int location,
1147 int count,
1148 int[] value,
1149 int offset
1150 );
1151
1152 // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value )
1153
1154 public static native void glUniform2uiv(
1155 int location,
1156 int count,
1157 java.nio.IntBuffer value
1158 );
1159
1160 // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value )
1161
1162 public static native void glUniform3uiv(
1163 int location,
1164 int count,
1165 int[] value,
1166 int offset
1167 );
1168
1169 // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value )
1170
1171 public static native void glUniform3uiv(
1172 int location,
1173 int count,
1174 java.nio.IntBuffer value
1175 );
1176
1177 // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value )
1178
1179 public static native void glUniform4uiv(
1180 int location,
1181 int count,
1182 int[] value,
1183 int offset
1184 );
1185
1186 // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value )
1187
1188 public static native void glUniform4uiv(
1189 int location,
1190 int count,
1191 java.nio.IntBuffer value
1192 );
1193
1194 // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value )
1195
1196 public static native void glClearBufferiv(
1197 int buffer,
1198 int drawbuffer,
1199 int[] value,
1200 int offset
1201 );
1202
1203 // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value )
1204
1205 public static native void glClearBufferiv(
1206 int buffer,
1207 int drawbuffer,
1208 java.nio.IntBuffer value
1209 );
1210
1211 // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value )
1212
1213 public static native void glClearBufferuiv(
1214 int buffer,
1215 int drawbuffer,
1216 int[] value,
1217 int offset
1218 );
1219
1220 // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value )
1221
1222 public static native void glClearBufferuiv(
1223 int buffer,
1224 int drawbuffer,
1225 java.nio.IntBuffer value
1226 );
1227
1228 // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value )
1229
1230 public static native void glClearBufferfv(
1231 int buffer,
1232 int drawbuffer,
1233 float[] value,
1234 int offset
1235 );
1236
1237 // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value )
1238
1239 public static native void glClearBufferfv(
1240 int buffer,
1241 int drawbuffer,
1242 java.nio.FloatBuffer value
1243 );
1244
1245 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
1246
1247 public static native void glClearBufferfi(
1248 int buffer,
1249 int drawbuffer,
1250 float depth,
1251 int stencil
1252 );
1253
1254 // C function const GLubyte * glGetStringi ( GLenum name, GLuint index )
1255
1256 public static native String glGetStringi(
1257 int name,
1258 int index
1259 );
1260
1261 // C function void glCopyBufferSubData ( GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size )
1262
1263 public static native void glCopyBufferSubData(
1264 int readTarget,
1265 int writeTarget,
1266 int readOffset,
1267 int writeOffset,
1268 int size
1269 );
1270
John Spurlock8a985d22014-02-25 09:40:05 -05001271 // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices )
Jesse Halld830e742013-03-29 11:02:35 -07001272
John Spurlock8a985d22014-02-25 09:40:05 -05001273 public static native void glGetUniformIndices(
Jesse Halld830e742013-03-29 11:02:35 -07001274 int program,
1275 String[] uniformNames,
1276 int[] uniformIndices,
1277 int uniformIndicesOffset
John Spurlock8a985d22014-02-25 09:40:05 -05001278 );
Jesse Halld830e742013-03-29 11:02:35 -07001279
1280 // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices )
1281
1282 public static native void glGetUniformIndices(
1283 int program,
1284 String[] uniformNames,
1285 java.nio.IntBuffer uniformIndices
1286 );
1287
1288 // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params )
1289
1290 public static native void glGetActiveUniformsiv(
1291 int program,
1292 int uniformCount,
1293 int[] uniformIndices,
1294 int uniformIndicesOffset,
1295 int pname,
1296 int[] params,
1297 int paramsOffset
1298 );
1299
1300 // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params )
1301
1302 public static native void glGetActiveUniformsiv(
1303 int program,
1304 int uniformCount,
1305 java.nio.IntBuffer uniformIndices,
1306 int pname,
1307 java.nio.IntBuffer params
1308 );
1309
1310 // C function GLuint glGetUniformBlockIndex ( GLuint program, const GLchar *uniformBlockName )
1311
1312 public static native int glGetUniformBlockIndex(
1313 int program,
1314 String uniformBlockName
1315 );
1316
1317 // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params )
1318
1319 public static native void glGetActiveUniformBlockiv(
1320 int program,
1321 int uniformBlockIndex,
1322 int pname,
1323 int[] params,
1324 int offset
1325 );
1326
1327 // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params )
1328
1329 public static native void glGetActiveUniformBlockiv(
1330 int program,
1331 int uniformBlockIndex,
1332 int pname,
1333 java.nio.IntBuffer params
1334 );
1335
1336 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
1337
1338 public static native void glGetActiveUniformBlockName(
1339 int program,
1340 int uniformBlockIndex,
1341 int bufSize,
1342 int[] length,
1343 int lengthOffset,
1344 byte[] uniformBlockName,
1345 int uniformBlockNameOffset
1346 );
1347
1348 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
1349
1350 public static native void glGetActiveUniformBlockName(
1351 int program,
1352 int uniformBlockIndex,
1353 java.nio.Buffer length,
1354 java.nio.Buffer uniformBlockName
1355 );
1356
1357 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
1358
1359 public static native String glGetActiveUniformBlockName(
1360 int program,
1361 int uniformBlockIndex
1362 );
1363
1364 // C function void glUniformBlockBinding ( GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding )
1365
1366 public static native void glUniformBlockBinding(
1367 int program,
1368 int uniformBlockIndex,
1369 int uniformBlockBinding
1370 );
1371
1372 // C function void glDrawArraysInstanced ( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount )
1373
1374 public static native void glDrawArraysInstanced(
1375 int mode,
1376 int first,
1377 int count,
1378 int instanceCount
1379 );
1380
1381 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
1382
1383 public static native void glDrawElementsInstanced(
1384 int mode,
1385 int count,
1386 int type,
1387 java.nio.Buffer indices,
1388 int instanceCount
1389 );
1390
1391 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
1392
1393 public static native void glDrawElementsInstanced(
1394 int mode,
1395 int count,
1396 int type,
1397 int indicesOffset,
1398 int instanceCount
1399 );
1400
1401 // C function GLsync glFenceSync ( GLenum condition, GLbitfield flags )
1402
1403 public static native long glFenceSync(
1404 int condition,
1405 int flags
1406 );
1407
1408 // C function GLboolean glIsSync ( GLsync sync )
1409
1410 public static native boolean glIsSync(
1411 long sync
1412 );
1413
1414 // C function void glDeleteSync ( GLsync sync )
1415
1416 public static native void glDeleteSync(
1417 long sync
1418 );
1419
1420 // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
1421
1422 public static native int glClientWaitSync(
1423 long sync,
1424 int flags,
1425 long timeout
1426 );
1427
1428 // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
1429
1430 public static native void glWaitSync(
1431 long sync,
1432 int flags,
1433 long timeout
1434 );
1435
1436 // C function void glGetInteger64v ( GLenum pname, GLint64 *params )
1437
1438 public static native void glGetInteger64v(
1439 int pname,
1440 long[] params,
1441 int offset
1442 );
1443
1444 // C function void glGetInteger64v ( GLenum pname, GLint64 *params )
1445
1446 public static native void glGetInteger64v(
1447 int pname,
1448 java.nio.LongBuffer params
1449 );
1450
1451 // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values )
1452
1453 public static native void glGetSynciv(
1454 long sync,
1455 int pname,
1456 int bufSize,
1457 int[] length,
1458 int lengthOffset,
1459 int[] values,
1460 int valuesOffset
1461 );
1462
1463 // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values )
1464
1465 public static native void glGetSynciv(
1466 long sync,
1467 int pname,
1468 int bufSize,
1469 java.nio.IntBuffer length,
1470 java.nio.IntBuffer values
1471 );
1472
1473 // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data )
1474
1475 public static native void glGetInteger64i_v(
1476 int target,
1477 int index,
1478 long[] data,
1479 int offset
1480 );
1481
1482 // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data )
1483
1484 public static native void glGetInteger64i_v(
1485 int target,
1486 int index,
1487 java.nio.LongBuffer data
1488 );
1489
1490 // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params )
1491
1492 public static native void glGetBufferParameteri64v(
1493 int target,
1494 int pname,
1495 long[] params,
1496 int offset
1497 );
1498
1499 // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params )
1500
1501 public static native void glGetBufferParameteri64v(
1502 int target,
1503 int pname,
1504 java.nio.LongBuffer params
1505 );
1506
1507 // C function void glGenSamplers ( GLsizei count, GLuint *samplers )
1508
1509 public static native void glGenSamplers(
1510 int count,
1511 int[] samplers,
1512 int offset
1513 );
1514
1515 // C function void glGenSamplers ( GLsizei count, GLuint *samplers )
1516
1517 public static native void glGenSamplers(
1518 int count,
1519 java.nio.IntBuffer samplers
1520 );
1521
1522 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers )
1523
1524 public static native void glDeleteSamplers(
1525 int count,
1526 int[] samplers,
1527 int offset
1528 );
1529
1530 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers )
1531
1532 public static native void glDeleteSamplers(
1533 int count,
1534 java.nio.IntBuffer samplers
1535 );
1536
1537 // C function GLboolean glIsSampler ( GLuint sampler )
1538
1539 public static native boolean glIsSampler(
1540 int sampler
1541 );
1542
1543 // C function void glBindSampler ( GLuint unit, GLuint sampler )
1544
1545 public static native void glBindSampler(
1546 int unit,
1547 int sampler
1548 );
1549
1550 // C function void glSamplerParameteri ( GLuint sampler, GLenum pname, GLint param )
1551
1552 public static native void glSamplerParameteri(
1553 int sampler,
1554 int pname,
1555 int param
1556 );
1557
1558 // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param )
1559
1560 public static native void glSamplerParameteriv(
1561 int sampler,
1562 int pname,
1563 int[] param,
1564 int offset
1565 );
1566
1567 // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param )
1568
1569 public static native void glSamplerParameteriv(
1570 int sampler,
1571 int pname,
1572 java.nio.IntBuffer param
1573 );
1574
1575 // C function void glSamplerParameterf ( GLuint sampler, GLenum pname, GLfloat param )
1576
1577 public static native void glSamplerParameterf(
1578 int sampler,
1579 int pname,
1580 float param
1581 );
1582
1583 // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param )
1584
1585 public static native void glSamplerParameterfv(
1586 int sampler,
1587 int pname,
1588 float[] param,
1589 int offset
1590 );
1591
1592 // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param )
1593
1594 public static native void glSamplerParameterfv(
1595 int sampler,
1596 int pname,
1597 java.nio.FloatBuffer param
1598 );
1599
1600 // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params )
1601
1602 public static native void glGetSamplerParameteriv(
1603 int sampler,
1604 int pname,
1605 int[] params,
1606 int offset
1607 );
1608
1609 // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params )
1610
1611 public static native void glGetSamplerParameteriv(
1612 int sampler,
1613 int pname,
1614 java.nio.IntBuffer params
1615 );
1616
1617 // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params )
1618
1619 public static native void glGetSamplerParameterfv(
1620 int sampler,
1621 int pname,
1622 float[] params,
1623 int offset
1624 );
1625
1626 // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params )
1627
1628 public static native void glGetSamplerParameterfv(
1629 int sampler,
1630 int pname,
1631 java.nio.FloatBuffer params
1632 );
1633
1634 // C function void glVertexAttribDivisor ( GLuint index, GLuint divisor )
1635
1636 public static native void glVertexAttribDivisor(
1637 int index,
1638 int divisor
1639 );
1640
1641 // C function void glBindTransformFeedback ( GLenum target, GLuint id )
1642
1643 public static native void glBindTransformFeedback(
1644 int target,
1645 int id
1646 );
1647
1648 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids )
1649
1650 public static native void glDeleteTransformFeedbacks(
1651 int n,
1652 int[] ids,
1653 int offset
1654 );
1655
1656 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids )
1657
1658 public static native void glDeleteTransformFeedbacks(
1659 int n,
1660 java.nio.IntBuffer ids
1661 );
1662
1663 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids )
1664
1665 public static native void glGenTransformFeedbacks(
1666 int n,
1667 int[] ids,
1668 int offset
1669 );
1670
1671 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids )
1672
1673 public static native void glGenTransformFeedbacks(
1674 int n,
1675 java.nio.IntBuffer ids
1676 );
1677
1678 // C function GLboolean glIsTransformFeedback ( GLuint id )
1679
1680 public static native boolean glIsTransformFeedback(
1681 int id
1682 );
1683
1684 // C function void glPauseTransformFeedback ( void )
1685
1686 public static native void glPauseTransformFeedback(
1687 );
1688
1689 // C function void glResumeTransformFeedback ( void )
1690
1691 public static native void glResumeTransformFeedback(
1692 );
1693
1694 // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary )
1695
1696 public static native void glGetProgramBinary(
1697 int program,
1698 int bufSize,
1699 int[] length,
1700 int lengthOffset,
1701 int[] binaryFormat,
1702 int binaryFormatOffset,
1703 java.nio.Buffer binary
1704 );
1705
1706 // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary )
1707
1708 public static native void glGetProgramBinary(
1709 int program,
1710 int bufSize,
1711 java.nio.IntBuffer length,
1712 java.nio.IntBuffer binaryFormat,
1713 java.nio.Buffer binary
1714 );
1715
1716 // C function void glProgramBinary ( GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length )
1717
1718 public static native void glProgramBinary(
1719 int program,
1720 int binaryFormat,
1721 java.nio.Buffer binary,
1722 int length
1723 );
1724
1725 // C function void glProgramParameteri ( GLuint program, GLenum pname, GLint value )
1726
1727 public static native void glProgramParameteri(
1728 int program,
1729 int pname,
1730 int value
1731 );
1732
1733 // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments )
1734
1735 public static native void glInvalidateFramebuffer(
1736 int target,
1737 int numAttachments,
1738 int[] attachments,
1739 int offset
1740 );
1741
1742 // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments )
1743
1744 public static native void glInvalidateFramebuffer(
1745 int target,
1746 int numAttachments,
1747 java.nio.IntBuffer attachments
1748 );
1749
1750 // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height )
1751
1752 public static native void glInvalidateSubFramebuffer(
1753 int target,
1754 int numAttachments,
1755 int[] attachments,
1756 int offset,
1757 int x,
1758 int y,
1759 int width,
1760 int height
1761 );
1762
1763 // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height )
1764
1765 public static native void glInvalidateSubFramebuffer(
1766 int target,
1767 int numAttachments,
1768 java.nio.IntBuffer attachments,
1769 int x,
1770 int y,
1771 int width,
1772 int height
1773 );
1774
1775 // C function void glTexStorage2D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height )
1776
1777 public static native void glTexStorage2D(
1778 int target,
1779 int levels,
1780 int internalformat,
1781 int width,
1782 int height
1783 );
1784
1785 // C function void glTexStorage3D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth )
1786
1787 public static native void glTexStorage3D(
1788 int target,
1789 int levels,
1790 int internalformat,
1791 int width,
1792 int height,
1793 int depth
1794 );
1795
1796 // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params )
1797
1798 public static native void glGetInternalformativ(
1799 int target,
1800 int internalformat,
1801 int pname,
1802 int bufSize,
1803 int[] params,
1804 int offset
1805 );
1806
1807 // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params )
1808
1809 public static native void glGetInternalformativ(
1810 int target,
1811 int internalformat,
1812 int pname,
1813 int bufSize,
1814 java.nio.IntBuffer params
1815 );
1816
Pablo Ceballos68981ff2016-02-22 11:50:31 -08001817 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint offset )
1818
1819 public static native void glReadPixels(
1820 int x,
1821 int y,
1822 int width,
1823 int height,
1824 int format,
1825 int type,
1826 int offset
1827 );
1828
Jesse Halld830e742013-03-29 11:02:35 -07001829}