GL11.java revision c086ca1fa7cebc3e9a51abd4be4688346225c2e4
1/*
2 * Copyright (C) 2006 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17// This source file is automatically generated
18
19package javax.microedition.khronos.opengles;
20
21public interface GL11 extends GL10 {
22    int GL_ACTIVE_TEXTURE                          = 0x84E0;
23    int GL_ADD_SIGNED                              = 0x8574;
24    int GL_ALPHA_SCALE                             = 0x0D1C;
25    int GL_ALPHA_TEST_FUNC                         = 0x0BC1;
26    int GL_ALPHA_TEST_REF                          = 0x0BC2;
27    int GL_ARRAY_BUFFER                            = 0x8892;
28    int GL_ARRAY_BUFFER_BINDING                    = 0x8894;
29    int GL_BLEND_DST                               = 0x0BE0;
30    int GL_BLEND_SRC                               = 0x0BE1;
31    int GL_BUFFER_ACCESS                           = 0x88BB;
32    int GL_BUFFER_SIZE                             = 0x8764;
33    int GL_BUFFER_USAGE                            = 0x8765;
34    int GL_CLIENT_ACTIVE_TEXTURE                   = 0x84E1;
35    int GL_CLIP_PLANE0                             = 0x3000;
36    int GL_CLIP_PLANE1                             = 0x3001;
37    int GL_CLIP_PLANE2                             = 0x3002;
38    int GL_CLIP_PLANE3                             = 0x3003;
39    int GL_CLIP_PLANE4                             = 0x3004;
40    int GL_CLIP_PLANE5                             = 0x3005;
41    int GL_COLOR_ARRAY_BUFFER_BINDING              = 0x8898;
42    int GL_COLOR_ARRAY_POINTER                     = 0x8090;
43    int GL_COLOR_ARRAY_SIZE                        = 0x8081;
44    int GL_COLOR_ARRAY_STRIDE                      = 0x8083;
45    int GL_COLOR_ARRAY_TYPE                        = 0x8082;
46    int GL_COLOR_CLEAR_VALUE                       = 0x0C22;
47    int GL_COLOR_WRITEMASK                         = 0x0C23;
48    int GL_COMBINE                                 = 0x8570;
49    int GL_COMBINE_ALPHA                           = 0x8572;
50    int GL_COMBINE_RGB                             = 0x8571;
51    int GL_CONSTANT                                = 0x8576;
52    int GL_COORD_REPLACE_OES                       = 0x8862;
53    int GL_CULL_FACE_MODE                          = 0x0B45;
54    int GL_CURRENT_COLOR                           = 0x0B00;
55    int GL_CURRENT_NORMAL                          = 0x0B02;
56    int GL_CURRENT_TEXTURE_COORDS                  = 0x0B03;
57    int GL_DEPTH_CLEAR_VALUE                       = 0x0B73;
58    int GL_DEPTH_FUNC                              = 0x0B74;
59    int GL_DEPTH_RANGE                             = 0x0B70;
60    int GL_DEPTH_WRITEMASK                         = 0x0B72;
61    int GL_DOT3_RGB                                = 0x86AE;
62    int GL_DOT3_RGBA                               = 0x86AF;
63    int GL_DYNAMIC_DRAW                            = 0x88E8;
64    int GL_ELEMENT_ARRAY_BUFFER                    = 0x8893;
65    int GL_ELEMENT_ARRAY_BUFFER_BINDING            = 0x8895;
66    int GL_FRONT_FACE                              = 0x0B46;
67    int GL_GENERATE_MIPMAP                         = 0x8191;
68    int GL_GENERATE_MIPMAP_HINT                    = 0x8192;
69    int GL_INTERPOLATE                             = 0x8575;
70    int GL_LINE_WIDTH                              = 0x0B21;
71    int GL_LOGIC_OP_MODE                           = 0x0BF0;
72    int GL_MATRIX_MODE                             = 0x0BA0;
73    int GL_MAX_CLIP_PLANES                         = 0x0D32;
74    int GL_MODELVIEW_MATRIX                        = 0x0BA6;
75    int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES  = 0x898D;
76    int GL_MODELVIEW_STACK_DEPTH                   = 0x0BA3;
77    int GL_NORMAL_ARRAY_BUFFER_BINDING             = 0x8897;
78    int GL_NORMAL_ARRAY_POINTER                    = 0x808F;
79    int GL_NORMAL_ARRAY_STRIDE                     = 0x807F;
80    int GL_NORMAL_ARRAY_TYPE                       = 0x807E;
81    int GL_OPERAND0_ALPHA                          = 0x8598;
82    int GL_OPERAND0_RGB                            = 0x8590;
83    int GL_OPERAND1_ALPHA                          = 0x8599;
84    int GL_OPERAND1_RGB                            = 0x8591;
85    int GL_OPERAND2_ALPHA                          = 0x859A;
86    int GL_OPERAND2_RGB                            = 0x8592;
87    int GL_POINT_DISTANCE_ATTENUATION              = 0x8129;
88    int GL_POINT_FADE_THRESHOLD_SIZE               = 0x8128;
89    int GL_POINT_SIZE                              = 0x0B11;
90    int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES     = 0x8B9F;
91    int GL_POINT_SIZE_ARRAY_OES                    = 0x8B9C;
92    int GL_POINT_SIZE_ARRAY_POINTER_OES            = 0x898C;
93    int GL_POINT_SIZE_ARRAY_STRIDE_OES             = 0x898B;
94    int GL_POINT_SIZE_ARRAY_TYPE_OES               = 0x898A;
95    int GL_POINT_SIZE_MAX                          = 0x8127;
96    int GL_POINT_SIZE_MIN                          = 0x8126;
97    int GL_POINT_SPRITE_OES                        = 0x8861;
98    int GL_POLYGON_OFFSET_FACTOR                   = 0x8038;
99    int GL_POLYGON_OFFSET_UNITS                    = 0x2A00;
100    int GL_PREVIOUS                                = 0x8578;
101    int GL_PRIMARY_COLOR                           = 0x8577;
102    int GL_PROJECTION_MATRIX                       = 0x0BA7;
103    int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E;
104    int GL_PROJECTION_STACK_DEPTH                  = 0x0BA4;
105    int GL_RGB_SCALE                               = 0x8573;
106    int GL_SAMPLE_BUFFERS                          = 0x80A8;
107    int GL_SAMPLE_COVERAGE_INVERT                  = 0x80AB;
108    int GL_SAMPLE_COVERAGE_VALUE                   = 0x80AA;
109    int GL_SAMPLES                                 = 0x80A9;
110    int GL_SCISSOR_BOX                             = 0x0C10;
111    int GL_SHADE_MODEL                             = 0x0B54;
112    int GL_SRC0_ALPHA                              = 0x8588;
113    int GL_SRC0_RGB                                = 0x8580;
114    int GL_SRC1_ALPHA                              = 0x8589;
115    int GL_SRC1_RGB                                = 0x8581;
116    int GL_SRC2_ALPHA                              = 0x858A;
117    int GL_SRC2_RGB                                = 0x8582;
118    int GL_STATIC_DRAW                             = 0x88E4;
119    int GL_STENCIL_CLEAR_VALUE                     = 0x0B91;
120    int GL_STENCIL_FAIL                            = 0x0B94;
121    int GL_STENCIL_FUNC                            = 0x0B92;
122    int GL_STENCIL_PASS_DEPTH_FAIL                 = 0x0B95;
123    int GL_STENCIL_PASS_DEPTH_PASS                 = 0x0B96;
124    int GL_STENCIL_REF                             = 0x0B97;
125    int GL_STENCIL_VALUE_MASK                      = 0x0B93;
126    int GL_STENCIL_WRITEMASK                       = 0x0B98;
127    int GL_SUBTRACT                                = 0x84E7;
128    int GL_TEXTURE_BINDING_2D                      = 0x8069;
129    int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING      = 0x889A;
130    int GL_TEXTURE_COORD_ARRAY_POINTER             = 0x8092;
131    int GL_TEXTURE_COORD_ARRAY_SIZE                = 0x8088;
132    int GL_TEXTURE_COORD_ARRAY_STRIDE              = 0x808A;
133    int GL_TEXTURE_COORD_ARRAY_TYPE                = 0x8089;
134    int GL_TEXTURE_MATRIX                          = 0x0BA8;
135    int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES    = 0x898F;
136    int GL_TEXTURE_STACK_DEPTH                     = 0x0BA5;
137    int GL_VERTEX_ARRAY_BUFFER_BINDING             = 0x8896;
138    int GL_VERTEX_ARRAY_POINTER                    = 0x808E;
139    int GL_VERTEX_ARRAY_SIZE                       = 0x807A;
140    int GL_VERTEX_ARRAY_STRIDE                     = 0x807C;
141    int GL_VERTEX_ARRAY_TYPE                       = 0x807B;
142    int GL_VIEWPORT                                = 0x0BA2;
143    int GL_WRITE_ONLY                              = 0x88B9;
144
145    void glGetPointerv(int pname, java.nio.Buffer[] params);
146    void glBindBuffer(
147        int target,
148        int buffer
149    );
150
151    void glBufferData(
152        int target,
153        int size,
154        java.nio.Buffer data,
155        int usage
156    );
157
158    void glBufferSubData(
159        int target,
160        int offset,
161        int size,
162        java.nio.Buffer data
163    );
164
165    void glClipPlanef(
166        int plane,
167        float[] equation,
168        int offset
169    );
170
171    void glClipPlanef(
172        int plane,
173        java.nio.FloatBuffer equation
174    );
175
176    void glClipPlanex(
177        int plane,
178        int[] equation,
179        int offset
180    );
181
182    void glClipPlanex(
183        int plane,
184        java.nio.IntBuffer equation
185    );
186
187    void glColor4ub(
188        byte red,
189        byte green,
190        byte blue,
191        byte alpha
192    );
193
194    void glColorPointer(
195        int size,
196        int type,
197        int stride,
198        int offset
199    );
200
201    void glDeleteBuffers(
202        int n,
203        int[] buffers,
204        int offset
205    );
206
207    void glDeleteBuffers(
208        int n,
209        java.nio.IntBuffer buffers
210    );
211
212    void glDrawElements(
213        int mode,
214        int count,
215        int type,
216        int offset
217    );
218
219    void glGenBuffers(
220        int n,
221        int[] buffers,
222        int offset
223    );
224
225    void glGenBuffers(
226        int n,
227        java.nio.IntBuffer buffers
228    );
229
230    void glGetBooleanv(
231        int pname,
232        boolean[] params,
233        int offset
234    );
235
236    void glGetBooleanv(
237        int pname,
238        java.nio.IntBuffer params
239    );
240
241    void glGetBufferParameteriv(
242        int target,
243        int pname,
244        int[] params,
245        int offset
246    );
247
248    void glGetBufferParameteriv(
249        int target,
250        int pname,
251        java.nio.IntBuffer params
252    );
253
254    void glGetClipPlanef(
255        int pname,
256        float[] eqn,
257        int offset
258    );
259
260    void glGetClipPlanef(
261        int pname,
262        java.nio.FloatBuffer eqn
263    );
264
265    void glGetClipPlanex(
266        int pname,
267        int[] eqn,
268        int offset
269    );
270
271    void glGetClipPlanex(
272        int pname,
273        java.nio.IntBuffer eqn
274    );
275
276    void glGetFixedv(
277        int pname,
278        int[] params,
279        int offset
280    );
281
282    void glGetFixedv(
283        int pname,
284        java.nio.IntBuffer params
285    );
286
287    void glGetFloatv(
288        int pname,
289        float[] params,
290        int offset
291    );
292
293    void glGetFloatv(
294        int pname,
295        java.nio.FloatBuffer params
296    );
297
298    void glGetLightfv(
299        int light,
300        int pname,
301        float[] params,
302        int offset
303    );
304
305    void glGetLightfv(
306        int light,
307        int pname,
308        java.nio.FloatBuffer params
309    );
310
311    void glGetLightxv(
312        int light,
313        int pname,
314        int[] params,
315        int offset
316    );
317
318    void glGetLightxv(
319        int light,
320        int pname,
321        java.nio.IntBuffer params
322    );
323
324    void glGetMaterialfv(
325        int face,
326        int pname,
327        float[] params,
328        int offset
329    );
330
331    void glGetMaterialfv(
332        int face,
333        int pname,
334        java.nio.FloatBuffer params
335    );
336
337    void glGetMaterialxv(
338        int face,
339        int pname,
340        int[] params,
341        int offset
342    );
343
344    void glGetMaterialxv(
345        int face,
346        int pname,
347        java.nio.IntBuffer params
348    );
349
350    void glGetTexEnviv(
351        int env,
352        int pname,
353        int[] params,
354        int offset
355    );
356
357    void glGetTexEnviv(
358        int env,
359        int pname,
360        java.nio.IntBuffer params
361    );
362
363    void glGetTexEnvxv(
364        int env,
365        int pname,
366        int[] params,
367        int offset
368    );
369
370    void glGetTexEnvxv(
371        int env,
372        int pname,
373        java.nio.IntBuffer params
374    );
375
376    void glGetTexParameterfv(
377        int target,
378        int pname,
379        float[] params,
380        int offset
381    );
382
383    void glGetTexParameterfv(
384        int target,
385        int pname,
386        java.nio.FloatBuffer params
387    );
388
389    void glGetTexParameteriv(
390        int target,
391        int pname,
392        int[] params,
393        int offset
394    );
395
396    void glGetTexParameteriv(
397        int target,
398        int pname,
399        java.nio.IntBuffer params
400    );
401
402    void glGetTexParameterxv(
403        int target,
404        int pname,
405        int[] params,
406        int offset
407    );
408
409    void glGetTexParameterxv(
410        int target,
411        int pname,
412        java.nio.IntBuffer params
413    );
414
415    boolean glIsBuffer(
416        int buffer
417    );
418
419    boolean glIsEnabled(
420        int cap
421    );
422
423    boolean glIsTexture(
424        int texture
425    );
426
427    void glNormalPointer(
428        int type,
429        int stride,
430        int offset
431    );
432
433    void glPointParameterf(
434        int pname,
435        float param
436    );
437
438    void glPointParameterfv(
439        int pname,
440        float[] params,
441        int offset
442    );
443
444    void glPointParameterfv(
445        int pname,
446        java.nio.FloatBuffer params
447    );
448
449    void glPointParameterx(
450        int pname,
451        int param
452    );
453
454    void glPointParameterxv(
455        int pname,
456        int[] params,
457        int offset
458    );
459
460    void glPointParameterxv(
461        int pname,
462        java.nio.IntBuffer params
463    );
464
465    void glPointSizePointerOES(
466        int type,
467        int stride,
468        java.nio.Buffer pointer
469    );
470
471    void glTexCoordPointer(
472        int size,
473        int type,
474        int stride,
475        int offset
476    );
477
478    void glTexEnvi(
479        int target,
480        int pname,
481        int param
482    );
483
484    void glTexEnviv(
485        int target,
486        int pname,
487        int[] params,
488        int offset
489    );
490
491    void glTexEnviv(
492        int target,
493        int pname,
494        java.nio.IntBuffer params
495    );
496
497    void glTexParameterfv(
498        int target,
499        int pname,
500        float[] params,
501        int offset
502    );
503
504    void glTexParameterfv(
505        int target,
506        int pname,
507        java.nio.FloatBuffer params
508    );
509
510    void glTexParameteri(
511        int target,
512        int pname,
513        int param
514    );
515
516    void glTexParameteriv(
517        int target,
518        int pname,
519        int[] params,
520        int offset
521    );
522
523    void glTexParameteriv(
524        int target,
525        int pname,
526        java.nio.IntBuffer params
527    );
528
529    void glTexParameterxv(
530        int target,
531        int pname,
532        int[] params,
533        int offset
534    );
535
536    void glTexParameterxv(
537        int target,
538        int pname,
539        java.nio.IntBuffer params
540    );
541
542    void glVertexPointer(
543        int size,
544        int type,
545        int stride,
546        int offset
547    );
548
549}
550