Source Code Cross Referenced for GL.java in  » IDE-Eclipse » swt » org » eclipse » opengl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » swt » org.eclipse.opengl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*******************************************************************************
0002:         * Copyright (c) 2000, 2004 IBM Corporation and others.
0003:         * All rights reserved. This program and the accompanying materials
0004:         * are made available under the terms of the Eclipse Public License v1.0
0005:         * which accompanies this distribution, and is available at
0006:         * http://www.eclipse.org/legal/epl-v10.html
0007:         *
0008:         * Contributors:
0009:         *     IBM Corporation - initial API and implementation
0010:         *******************************************************************************/package org.eclipse.opengl;
0011:
0012:        public class GL {
0013:
0014:            public static final int GL_VERSION_1_1 = 1;
0015:
0016:            /* AccumOp */
0017:            public static final int GL_ACCUM = 0x0100;
0018:            public static final int GL_LOAD = 0x0101;
0019:            public static final int GL_RETURN = 0x0102;
0020:            public static final int GL_MULT = 0x0103;
0021:            public static final int GL_ADD = 0x0104;
0022:
0023:            /* AlphaFunction */
0024:            public static final int GL_NEVER = 0x0200;
0025:            public static final int GL_LESS = 0x0201;
0026:            public static final int GL_EQUAL = 0x0202;
0027:            public static final int GL_LEQUAL = 0x0203;
0028:            public static final int GL_GREATER = 0x0204;
0029:            public static final int GL_NOTEQUAL = 0x0205;
0030:            public static final int GL_GEQUAL = 0x0206;
0031:            public static final int GL_ALWAYS = 0x0207;
0032:
0033:            /* AttribMask */
0034:            public static final int GL_CURRENT_BIT = 0x00000001;
0035:            public static final int GL_POINT_BIT = 0x00000002;
0036:            public static final int GL_LINE_BIT = 0x00000004;
0037:            public static final int GL_POLYGON_BIT = 0x00000008;
0038:            public static final int GL_POLYGON_STIPPLE_BIT = 0x00000010;
0039:            public static final int GL_PIXEL_MODE_BIT = 0x00000020;
0040:            public static final int GL_LIGHTING_BIT = 0x00000040;
0041:            public static final int GL_FOG_BIT = 0x00000080;
0042:            public static final int GL_DEPTH_BUFFER_BIT = 0x00000100;
0043:            public static final int GL_ACCUM_BUFFER_BIT = 0x00000200;
0044:            public static final int GL_STENCIL_BUFFER_BIT = 0x00000400;
0045:            public static final int GL_VIEWPORT_BIT = 0x00000800;
0046:            public static final int GL_TRANSFORM_BIT = 0x00001000;
0047:            public static final int GL_ENABLE_BIT = 0x00002000;
0048:            public static final int GL_COLOR_BUFFER_BIT = 0x00004000;
0049:            public static final int GL_HINT_BIT = 0x00008000;
0050:            public static final int GL_EVAL_BIT = 0x00010000;
0051:            public static final int GL_LIST_BIT = 0x00020000;
0052:            public static final int GL_TEXTURE_BIT = 0x00040000;
0053:            public static final int GL_SCISSOR_BIT = 0x00080000;
0054:            public static final int GL_ALL_ATTRIB_BITS = 0x000fffff;
0055:
0056:            /* BeginMode */
0057:            public static final int GL_POINTS = 0x0000;
0058:            public static final int GL_LINES = 0x0001;
0059:            public static final int GL_LINE_LOOP = 0x0002;
0060:            public static final int GL_LINE_STRIP = 0x0003;
0061:            public static final int GL_TRIANGLES = 0x0004;
0062:            public static final int GL_TRIANGLE_STRIP = 0x0005;
0063:            public static final int GL_TRIANGLE_FAN = 0x0006;
0064:            public static final int GL_QUADS = 0x0007;
0065:            public static final int GL_QUAD_STRIP = 0x0008;
0066:            public static final int GL_POLYGON = 0x0009;
0067:
0068:            /* BlendingFactorDest */
0069:            public static final int GL_ZERO = 0;
0070:            public static final int GL_ONE = 1;
0071:            public static final int GL_SRC_COLOR = 0x0300;
0072:            public static final int GL_ONE_MINUS_SRC_COLOR = 0x0301;
0073:            public static final int GL_SRC_ALPHA = 0x0302;
0074:            public static final int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
0075:            public static final int GL_DST_ALPHA = 0x0304;
0076:            public static final int GL_ONE_MINUS_DST_ALPHA = 0x0305;
0077:
0078:            /* BlendingFactorSrc */
0079:            /*      GL_ZERO */
0080:            /*      GL_ONE */
0081:            public static final int GL_DST_COLOR = 0x0306;
0082:            public static final int GL_ONE_MINUS_DST_COLOR = 0x0307;
0083:            public static final int GL_SRC_ALPHA_SATURATE = 0x0308;
0084:            /*      GL_SRC_ALPHA */
0085:            /*      GL_ONE_MINUS_SRC_ALPHA */
0086:            /*      GL_DST_ALPHA */
0087:            /*      GL_ONE_MINUS_DST_ALPHA */
0088:
0089:            /* Boolean */
0090:            public static final int GL_TRUE = 1;
0091:            public static final int GL_FALSE = 0;
0092:
0093:            /* ClearBufferMask */
0094:            /*      GL_COLOR_BUFFER_BIT */
0095:            /*      GL_ACCUM_BUFFER_BIT */
0096:            /*      GL_STENCIL_BUFFER_BIT */
0097:            /*      GL_DEPTH_BUFFER_BIT */
0098:
0099:            /* ClientArrayType */
0100:            /*      GL_VERTEX_ARRAY */
0101:            /*      GL_NORMAL_ARRAY */
0102:            /*      GL_COLOR_ARRAY */
0103:            /*      GL_INDEX_ARRAY */
0104:            /*      GL_TEXTURE_COORD_ARRAY */
0105:            /*      GL_EDGE_FLAG_ARRAY */
0106:
0107:            /* ClipPlaneName */
0108:            public static final int GL_CLIP_PLANE0 = 0x3000;
0109:            public static final int GL_CLIP_PLANE1 = 0x3001;
0110:            public static final int GL_CLIP_PLANE2 = 0x3002;
0111:            public static final int GL_CLIP_PLANE3 = 0x3003;
0112:            public static final int GL_CLIP_PLANE4 = 0x3004;
0113:            public static final int GL_CLIP_PLANE5 = 0x3005;
0114:
0115:            /* ColorMaterialFace */
0116:            /*      GL_FRONT */
0117:            /*      GL_BACK */
0118:            /*      GL_FRONT_AND_BACK */
0119:
0120:            /* ColorMaterialParameter */
0121:            /*      GL_AMBIENT */
0122:            /*      GL_DIFFUSE */
0123:            /*      GL_SPECULAR */
0124:            /*      GL_EMISSION */
0125:            /*      GL_AMBIENT_AND_DIFFUSE */
0126:
0127:            /* ColorPointerType */
0128:            /*      GL_BYTE */
0129:            /*      GL_UNSIGNED_BYTE */
0130:            /*      GL_SHORT */
0131:            /*      GL_UNSIGNED_SHORT */
0132:            /*      GL_INT */
0133:            /*      GL_UNSIGNED_INT */
0134:            /*      GL_FLOAT */
0135:            /*      GL_DOUBLE */
0136:
0137:            /* CullFaceMode */
0138:            /*      GL_FRONT */
0139:            /*      GL_BACK */
0140:            /*      GL_FRONT_AND_BACK */
0141:
0142:            /* DataType */
0143:            public static final int GL_BYTE = 0x1400;
0144:            public static final int GL_UNSIGNED_BYTE = 0x1401;
0145:            public static final int GL_SHORT = 0x1402;
0146:            public static final int GL_UNSIGNED_SHORT = 0x1403;
0147:            public static final int GL_INT = 0x1404;
0148:            public static final int GL_UNSIGNED_INT = 0x1405;
0149:            public static final int GL_FLOAT = 0x1406;
0150:            public static final int GL_2_BYTES = 0x1407;
0151:            public static final int GL_3_BYTES = 0x1408;
0152:            public static final int GL_4_BYTES = 0x1409;
0153:            public static final int GL_DOUBLE = 0x140A;
0154:
0155:            /* DepthFunction */
0156:            /*      GL_NEVER */
0157:            /*      GL_LESS */
0158:            /*      GL_EQUAL */
0159:            /*      GL_LEQUAL */
0160:            /*      GL_GREATER */
0161:            /*      GL_NOTEQUAL */
0162:            /*      GL_GEQUAL */
0163:            /*      GL_ALWAYS */
0164:
0165:            /* DrawBufferMode */
0166:            public static final int GL_NONE = 0;
0167:            public static final int GL_FRONT_LEFT = 0x0400;
0168:            public static final int GL_FRONT_RIGHT = 0x0401;
0169:            public static final int GL_BACK_LEFT = 0x0402;
0170:            public static final int GL_BACK_RIGHT = 0x0403;
0171:            public static final int GL_FRONT = 0x0404;
0172:            public static final int GL_BACK = 0x0405;
0173:            public static final int GL_LEFT = 0x0406;
0174:            public static final int GL_RIGHT = 0x0407;
0175:            public static final int GL_FRONT_AND_BACK = 0x0408;
0176:            public static final int GL_AUX0 = 0x0409;
0177:            public static final int GL_AUX1 = 0x040A;
0178:            public static final int GL_AUX2 = 0x040B;
0179:            public static final int GL_AUX3 = 0x040C;
0180:
0181:            /* Enable */
0182:            /*      GL_FOG */
0183:            /*      GL_LIGHTING */
0184:            /*      GL_TEXTURE_1D */
0185:            /*      GL_TEXTURE_2D */
0186:            /*      GL_LINE_STIPPLE */
0187:            /*      GL_POLYGON_STIPPLE */
0188:            /*      GL_CULL_FACE */
0189:            /*      GL_ALPHA_TEST */
0190:            /*      GL_BLEND */
0191:            /*      GL_INDEX_LOGIC_OP */
0192:            /*      GL_COLOR_LOGIC_OP */
0193:            /*      GL_DITHER */
0194:            /*      GL_STENCIL_TEST */
0195:            /*      GL_DEPTH_TEST */
0196:            /*      GL_CLIP_PLANE0 */
0197:            /*      GL_CLIP_PLANE1 */
0198:            /*      GL_CLIP_PLANE2 */
0199:            /*      GL_CLIP_PLANE3 */
0200:            /*      GL_CLIP_PLANE4 */
0201:            /*      GL_CLIP_PLANE5 */
0202:            /*      GL_LIGHT0 */
0203:            /*      GL_LIGHT1 */
0204:            /*      GL_LIGHT2 */
0205:            /*      GL_LIGHT3 */
0206:            /*      GL_LIGHT4 */
0207:            /*      GL_LIGHT5 */
0208:            /*      GL_LIGHT6 */
0209:            /*      GL_LIGHT7 */
0210:            /*      GL_TEXTURE_GEN_S */
0211:            /*      GL_TEXTURE_GEN_T */
0212:            /*      GL_TEXTURE_GEN_R */
0213:            /*      GL_TEXTURE_GEN_Q */
0214:            /*      GL_MAP1_VERTEX_3 */
0215:            /*      GL_MAP1_VERTEX_4 */
0216:            /*      GL_MAP1_COLOR_4 */
0217:            /*      GL_MAP1_INDEX */
0218:            /*      GL_MAP1_NORMAL */
0219:            /*      GL_MAP1_TEXTURE_COORD_1 */
0220:            /*      GL_MAP1_TEXTURE_COORD_2 */
0221:            /*      GL_MAP1_TEXTURE_COORD_3 */
0222:            /*      GL_MAP1_TEXTURE_COORD_4 */
0223:            /*      GL_MAP2_VERTEX_3 */
0224:            /*      GL_MAP2_VERTEX_4 */
0225:            /*      GL_MAP2_COLOR_4 */
0226:            /*      GL_MAP2_INDEX */
0227:            /*      GL_MAP2_NORMAL */
0228:            /*      GL_MAP2_TEXTURE_COORD_1 */
0229:            /*      GL_MAP2_TEXTURE_COORD_2 */
0230:            /*      GL_MAP2_TEXTURE_COORD_3 */
0231:            /*      GL_MAP2_TEXTURE_COORD_4 */
0232:            /*      GL_POINT_SMOOTH */
0233:            /*      GL_LINE_SMOOTH */
0234:            /*      GL_POLYGON_SMOOTH */
0235:            /*      GL_SCISSOR_TEST */
0236:            /*      GL_COLOR_MATERIAL */
0237:            /*      GL_NORMALIZE */
0238:            /*      GL_AUTO_NORMAL */
0239:            /*      GL_VERTEX_ARRAY */
0240:            /*      GL_NORMAL_ARRAY */
0241:            /*      GL_COLOR_ARRAY */
0242:            /*      GL_INDEX_ARRAY */
0243:            /*      GL_TEXTURE_COORD_ARRAY */
0244:            /*      GL_EDGE_FLAG_ARRAY */
0245:            /*      GL_POLYGON_OFFSET_POINT */
0246:            /*      GL_POLYGON_OFFSET_LINE */
0247:            /*      GL_POLYGON_OFFSET_FILL */
0248:
0249:            /* ErrorCode */
0250:            public static final int GL_NO_ERROR = 0;
0251:            public static final int GL_INVALID_ENUM = 0x0500;
0252:            public static final int GL_INVALID_VALUE = 0x0501;
0253:            public static final int GL_INVALID_OPERATION = 0x0502;
0254:            public static final int GL_STACK_OVERFLOW = 0x0503;
0255:            public static final int GL_STACK_UNDERFLOW = 0x0504;
0256:            public static final int GL_OUT_OF_MEMORY = 0x0505;
0257:
0258:            /* FeedBackMode */
0259:            public static final int GL_2D = 0x0600;
0260:            public static final int GL_3D = 0x0601;
0261:            public static final int GL_3D_COLOR = 0x0602;
0262:            public static final int GL_3D_COLOR_TEXTURE = 0x0603;
0263:            public static final int GL_4D_COLOR_TEXTURE = 0x0604;
0264:
0265:            /* FeedBackToken */
0266:            public static final int GL_PASS_THROUGH_TOKEN = 0x0700;
0267:            public static final int GL_POINT_TOKEN = 0x0701;
0268:            public static final int GL_LINE_TOKEN = 0x0702;
0269:            public static final int GL_POLYGON_TOKEN = 0x0703;
0270:            public static final int GL_BITMAP_TOKEN = 0x0704;
0271:            public static final int GL_DRAW_PIXEL_TOKEN = 0x0705;
0272:            public static final int GL_COPY_PIXEL_TOKEN = 0x0706;
0273:            public static final int GL_LINE_RESET_TOKEN = 0x0707;
0274:
0275:            /* FogMode */
0276:            /*      GL_LINEAR */
0277:            public static final int GL_EXP = 0x0800;
0278:            public static final int GL_EXP2 = 0x0801;
0279:
0280:            /* FogParameter */
0281:            /*      GL_FOG_COLOR */
0282:            /*      GL_FOG_DENSITY */
0283:            /*      GL_FOG_END */
0284:            /*      GL_FOG_INDEX */
0285:            /*      GL_FOG_MODE */
0286:            /*      GL_FOG_START */
0287:
0288:            /* FrontFaceDirection */
0289:            public static final int GL_CW = 0x0900;
0290:            public static final int GL_CCW = 0x0901;
0291:
0292:            /* GetMapTarget */
0293:            public static final int GL_COEFF = 0x0A00;
0294:            public static final int GL_ORDER = 0x0A01;
0295:            public static final int GL_DOMAIN = 0x0A02;
0296:
0297:            /* GetPixelMap */
0298:            /*      GL_PIXEL_MAP_I_TO_I */
0299:            /*      GL_PIXEL_MAP_S_TO_S */
0300:            /*      GL_PIXEL_MAP_I_TO_R */
0301:            /*      GL_PIXEL_MAP_I_TO_G */
0302:            /*      GL_PIXEL_MAP_I_TO_B */
0303:            /*      GL_PIXEL_MAP_I_TO_A */
0304:            /*      GL_PIXEL_MAP_R_TO_R */
0305:            /*      GL_PIXEL_MAP_G_TO_G */
0306:            /*      GL_PIXEL_MAP_B_TO_B */
0307:            /*      GL_PIXEL_MAP_A_TO_A */
0308:
0309:            /* GetPointerTarget */
0310:            /*      GL_VERTEX_ARRAY_POINTER */
0311:            /*      GL_NORMAL_ARRAY_POINTER */
0312:            /*      GL_COLOR_ARRAY_POINTER */
0313:            /*      GL_INDEX_ARRAY_POINTER */
0314:            /*      GL_TEXTURE_COORD_ARRAY_POINTER */
0315:            /*      GL_EDGE_FLAG_ARRAY_POINTER */
0316:
0317:            /* GetTarget */
0318:            public static final int GL_CURRENT_COLOR = 0x0B00;
0319:            public static final int GL_CURRENT_INDEX = 0x0B01;
0320:            public static final int GL_CURRENT_NORMAL = 0x0B02;
0321:            public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
0322:            public static final int GL_CURRENT_RASTER_COLOR = 0x0B04;
0323:            public static final int GL_CURRENT_RASTER_INDEX = 0x0B05;
0324:            public static final int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
0325:            public static final int GL_CURRENT_RASTER_POSITION = 0x0B07;
0326:            public static final int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
0327:            public static final int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
0328:            public static final int GL_POINT_SMOOTH = 0x0B10;
0329:            public static final int GL_POINT_SIZE = 0x0B11;
0330:            public static final int GL_POINT_SIZE_RANGE = 0x0B12;
0331:            public static final int GL_POINT_SIZE_GRANULARITY = 0x0B13;
0332:            public static final int GL_LINE_SMOOTH = 0x0B20;
0333:            public static final int GL_LINE_WIDTH = 0x0B21;
0334:            public static final int GL_LINE_WIDTH_RANGE = 0x0B22;
0335:            public static final int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
0336:            public static final int GL_LINE_STIPPLE = 0x0B24;
0337:            public static final int GL_LINE_STIPPLE_PATTERN = 0x0B25;
0338:            public static final int GL_LINE_STIPPLE_REPEAT = 0x0B26;
0339:            public static final int GL_LIST_MODE = 0x0B30;
0340:            public static final int GL_MAX_LIST_NESTING = 0x0B31;
0341:            public static final int GL_LIST_BASE = 0x0B32;
0342:            public static final int GL_LIST_INDEX = 0x0B33;
0343:            public static final int GL_POLYGON_MODE = 0x0B40;
0344:            public static final int GL_POLYGON_SMOOTH = 0x0B41;
0345:            public static final int GL_POLYGON_STIPPLE = 0x0B42;
0346:            public static final int GL_EDGE_FLAG = 0x0B43;
0347:            public static final int GL_CULL_FACE = 0x0B44;
0348:            public static final int GL_CULL_FACE_MODE = 0x0B45;
0349:            public static final int GL_FRONT_FACE = 0x0B46;
0350:            public static final int GL_LIGHTING = 0x0B50;
0351:            public static final int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
0352:            public static final int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
0353:            public static final int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
0354:            public static final int GL_SHADE_MODEL = 0x0B54;
0355:            public static final int GL_COLOR_MATERIAL_FACE = 0x0B55;
0356:            public static final int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
0357:            public static final int GL_COLOR_MATERIAL = 0x0B57;
0358:            public static final int GL_FOG = 0x0B60;
0359:            public static final int GL_FOG_INDEX = 0x0B61;
0360:            public static final int GL_FOG_DENSITY = 0x0B62;
0361:            public static final int GL_FOG_START = 0x0B63;
0362:            public static final int GL_FOG_END = 0x0B64;
0363:            public static final int GL_FOG_MODE = 0x0B65;
0364:            public static final int GL_FOG_COLOR = 0x0B66;
0365:            public static final int GL_DEPTH_RANGE = 0x0B70;
0366:            public static final int GL_DEPTH_TEST = 0x0B71;
0367:            public static final int GL_DEPTH_WRITEMASK = 0x0B72;
0368:            public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73;
0369:            public static final int GL_DEPTH_FUNC = 0x0B74;
0370:            public static final int GL_ACCUM_CLEAR_VALUE = 0x0B80;
0371:            public static final int GL_STENCIL_TEST = 0x0B90;
0372:            public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91;
0373:            public static final int GL_STENCIL_FUNC = 0x0B92;
0374:            public static final int GL_STENCIL_VALUE_MASK = 0x0B93;
0375:            public static final int GL_STENCIL_FAIL = 0x0B94;
0376:            public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
0377:            public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
0378:            public static final int GL_STENCIL_REF = 0x0B97;
0379:            public static final int GL_STENCIL_WRITEMASK = 0x0B98;
0380:            public static final int GL_MATRIX_MODE = 0x0BA0;
0381:            public static final int GL_NORMALIZE = 0x0BA1;
0382:            public static final int GL_VIEWPORT = 0x0BA2;
0383:            public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
0384:            public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
0385:            public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
0386:            public static final int GL_MODELVIEW_MATRIX = 0x0BA6;
0387:            public static final int GL_PROJECTION_MATRIX = 0x0BA7;
0388:            public static final int GL_TEXTURE_MATRIX = 0x0BA8;
0389:            public static final int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
0390:            public static final int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
0391:            public static final int GL_ALPHA_TEST = 0x0BC0;
0392:            public static final int GL_ALPHA_TEST_FUNC = 0x0BC1;
0393:            public static final int GL_ALPHA_TEST_REF = 0x0BC2;
0394:            public static final int GL_DITHER = 0x0BD0;
0395:            public static final int GL_BLEND_DST = 0x0BE0;
0396:            public static final int GL_BLEND_SRC = 0x0BE1;
0397:            public static final int GL_BLEND = 0x0BE2;
0398:            public static final int GL_LOGIC_OP_MODE = 0x0BF0;
0399:            public static final int GL_INDEX_LOGIC_OP = 0x0BF1;
0400:            public static final int GL_COLOR_LOGIC_OP = 0x0BF2;
0401:            public static final int GL_AUX_BUFFERS = 0x0C00;
0402:            public static final int GL_DRAW_BUFFER = 0x0C01;
0403:            public static final int GL_READ_BUFFER = 0x0C02;
0404:            public static final int GL_SCISSOR_BOX = 0x0C10;
0405:            public static final int GL_SCISSOR_TEST = 0x0C11;
0406:            public static final int GL_INDEX_CLEAR_VALUE = 0x0C20;
0407:            public static final int GL_INDEX_WRITEMASK = 0x0C21;
0408:            public static final int GL_COLOR_CLEAR_VALUE = 0x0C22;
0409:            public static final int GL_COLOR_WRITEMASK = 0x0C23;
0410:            public static final int GL_INDEX_MODE = 0x0C30;
0411:            public static final int GL_RGBA_MODE = 0x0C31;
0412:            public static final int GL_DOUBLEBUFFER = 0x0C32;
0413:            public static final int GL_STEREO = 0x0C33;
0414:            public static final int GL_RENDER_MODE = 0x0C40;
0415:            public static final int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
0416:            public static final int GL_POINT_SMOOTH_HINT = 0x0C51;
0417:            public static final int GL_LINE_SMOOTH_HINT = 0x0C52;
0418:            public static final int GL_POLYGON_SMOOTH_HINT = 0x0C53;
0419:            public static final int GL_FOG_HINT = 0x0C54;
0420:            public static final int GL_TEXTURE_GEN_S = 0x0C60;
0421:            public static final int GL_TEXTURE_GEN_T = 0x0C61;
0422:            public static final int GL_TEXTURE_GEN_R = 0x0C62;
0423:            public static final int GL_TEXTURE_GEN_Q = 0x0C63;
0424:            public static final int GL_PIXEL_MAP_I_TO_I = 0x0C70;
0425:            public static final int GL_PIXEL_MAP_S_TO_S = 0x0C71;
0426:            public static final int GL_PIXEL_MAP_I_TO_R = 0x0C72;
0427:            public static final int GL_PIXEL_MAP_I_TO_G = 0x0C73;
0428:            public static final int GL_PIXEL_MAP_I_TO_B = 0x0C74;
0429:            public static final int GL_PIXEL_MAP_I_TO_A = 0x0C75;
0430:            public static final int GL_PIXEL_MAP_R_TO_R = 0x0C76;
0431:            public static final int GL_PIXEL_MAP_G_TO_G = 0x0C77;
0432:            public static final int GL_PIXEL_MAP_B_TO_B = 0x0C78;
0433:            public static final int GL_PIXEL_MAP_A_TO_A = 0x0C79;
0434:            public static final int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
0435:            public static final int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
0436:            public static final int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
0437:            public static final int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
0438:            public static final int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
0439:            public static final int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
0440:            public static final int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
0441:            public static final int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
0442:            public static final int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
0443:            public static final int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
0444:            public static final int GL_UNPACK_SWAP_BYTES = 0x0CF0;
0445:            public static final int GL_UNPACK_LSB_FIRST = 0x0CF1;
0446:            public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2;
0447:            public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3;
0448:            public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
0449:            public static final int GL_UNPACK_ALIGNMENT = 0x0CF5;
0450:            public static final int GL_PACK_SWAP_BYTES = 0x0D00;
0451:            public static final int GL_PACK_LSB_FIRST = 0x0D01;
0452:            public static final int GL_PACK_ROW_LENGTH = 0x0D02;
0453:            public static final int GL_PACK_SKIP_ROWS = 0x0D03;
0454:            public static final int GL_PACK_SKIP_PIXELS = 0x0D04;
0455:            public static final int GL_PACK_ALIGNMENT = 0x0D05;
0456:            public static final int GL_MAP_COLOR = 0x0D10;
0457:            public static final int GL_MAP_STENCIL = 0x0D11;
0458:            public static final int GL_INDEX_SHIFT = 0x0D12;
0459:            public static final int GL_INDEX_OFFSET = 0x0D13;
0460:            public static final int GL_RED_SCALE = 0x0D14;
0461:            public static final int GL_RED_BIAS = 0x0D15;
0462:            public static final int GL_ZOOM_X = 0x0D16;
0463:            public static final int GL_ZOOM_Y = 0x0D17;
0464:            public static final int GL_GREEN_SCALE = 0x0D18;
0465:            public static final int GL_GREEN_BIAS = 0x0D19;
0466:            public static final int GL_BLUE_SCALE = 0x0D1A;
0467:            public static final int GL_BLUE_BIAS = 0x0D1B;
0468:            public static final int GL_ALPHA_SCALE = 0x0D1C;
0469:            public static final int GL_ALPHA_BIAS = 0x0D1D;
0470:            public static final int GL_DEPTH_SCALE = 0x0D1E;
0471:            public static final int GL_DEPTH_BIAS = 0x0D1F;
0472:            public static final int GL_MAX_EVAL_ORDER = 0x0D30;
0473:            public static final int GL_MAX_LIGHTS = 0x0D31;
0474:            public static final int GL_MAX_CLIP_PLANES = 0x0D32;
0475:            public static final int GL_MAX_TEXTURE_SIZE = 0x0D33;
0476:            public static final int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
0477:            public static final int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
0478:            public static final int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
0479:            public static final int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
0480:            public static final int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
0481:            public static final int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
0482:            public static final int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
0483:            public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
0484:            public static final int GL_SUBPIXEL_BITS = 0x0D50;
0485:            public static final int GL_INDEX_BITS = 0x0D51;
0486:            public static final int GL_RED_BITS = 0x0D52;
0487:            public static final int GL_GREEN_BITS = 0x0D53;
0488:            public static final int GL_BLUE_BITS = 0x0D54;
0489:            public static final int GL_ALPHA_BITS = 0x0D55;
0490:            public static final int GL_DEPTH_BITS = 0x0D56;
0491:            public static final int GL_STENCIL_BITS = 0x0D57;
0492:            public static final int GL_ACCUM_RED_BITS = 0x0D58;
0493:            public static final int GL_ACCUM_GREEN_BITS = 0x0D59;
0494:            public static final int GL_ACCUM_BLUE_BITS = 0x0D5A;
0495:            public static final int GL_ACCUM_ALPHA_BITS = 0x0D5B;
0496:            public static final int GL_NAME_STACK_DEPTH = 0x0D70;
0497:            public static final int GL_AUTO_NORMAL = 0x0D80;
0498:            public static final int GL_MAP1_COLOR_4 = 0x0D90;
0499:            public static final int GL_MAP1_INDEX = 0x0D91;
0500:            public static final int GL_MAP1_NORMAL = 0x0D92;
0501:            public static final int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
0502:            public static final int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
0503:            public static final int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
0504:            public static final int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
0505:            public static final int GL_MAP1_VERTEX_3 = 0x0D97;
0506:            public static final int GL_MAP1_VERTEX_4 = 0x0D98;
0507:            public static final int GL_MAP2_COLOR_4 = 0x0DB0;
0508:            public static final int GL_MAP2_INDEX = 0x0DB1;
0509:            public static final int GL_MAP2_NORMAL = 0x0DB2;
0510:            public static final int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
0511:            public static final int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
0512:            public static final int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
0513:            public static final int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
0514:            public static final int GL_MAP2_VERTEX_3 = 0x0DB7;
0515:            public static final int GL_MAP2_VERTEX_4 = 0x0DB8;
0516:            public static final int GL_MAP1_GRID_DOMAIN = 0x0DD0;
0517:            public static final int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
0518:            public static final int GL_MAP2_GRID_DOMAIN = 0x0DD2;
0519:            public static final int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
0520:            public static final int GL_TEXTURE_1D = 0x0DE0;
0521:            public static final int GL_TEXTURE_2D = 0x0DE1;
0522:            public static final int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
0523:            public static final int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
0524:            public static final int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
0525:            public static final int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
0526:            public static final int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
0527:            /*      GL_TEXTURE_BINDING_1D */
0528:            /*      GL_TEXTURE_BINDING_2D */
0529:            /*      GL_VERTEX_ARRAY */
0530:            /*      GL_NORMAL_ARRAY */
0531:            /*      GL_COLOR_ARRAY */
0532:            /*      GL_INDEX_ARRAY */
0533:            /*      GL_TEXTURE_COORD_ARRAY */
0534:            /*      GL_EDGE_FLAG_ARRAY */
0535:            /*      GL_VERTEX_ARRAY_SIZE */
0536:            /*      GL_VERTEX_ARRAY_TYPE */
0537:            /*      GL_VERTEX_ARRAY_STRIDE */
0538:            /*      GL_NORMAL_ARRAY_TYPE */
0539:            /*      GL_NORMAL_ARRAY_STRIDE */
0540:            /*      GL_COLOR_ARRAY_SIZE */
0541:            /*      GL_COLOR_ARRAY_TYPE */
0542:            /*      GL_COLOR_ARRAY_STRIDE */
0543:            /*      GL_INDEX_ARRAY_TYPE */
0544:            /*      GL_INDEX_ARRAY_STRIDE */
0545:            /*      GL_TEXTURE_COORD_ARRAY_SIZE */
0546:            /*      GL_TEXTURE_COORD_ARRAY_TYPE */
0547:            /*      GL_TEXTURE_COORD_ARRAY_STRIDE */
0548:            /*      GL_EDGE_FLAG_ARRAY_STRIDE */
0549:            /*      GL_POLYGON_OFFSET_FACTOR */
0550:            /*      GL_POLYGON_OFFSET_UNITS */
0551:
0552:            /* GetTextureParameter */
0553:            /*      GL_TEXTURE_MAG_FILTER */
0554:            /*      GL_TEXTURE_MIN_FILTER */
0555:            /*      GL_TEXTURE_WRAP_S */
0556:            /*      GL_TEXTURE_WRAP_T */
0557:            public static final int GL_TEXTURE_WIDTH = 0x1000;
0558:            public static final int GL_TEXTURE_HEIGHT = 0x1001;
0559:            public static final int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
0560:            public static final int GL_TEXTURE_BORDER_COLOR = 0x1004;
0561:            public static final int GL_TEXTURE_BORDER = 0x1005;
0562:            /*      GL_TEXTURE_RED_SIZE */
0563:            /*      GL_TEXTURE_GREEN_SIZE */
0564:            /*      GL_TEXTURE_BLUE_SIZE */
0565:            /*      GL_TEXTURE_ALPHA_SIZE */
0566:            /*      GL_TEXTURE_LUMINANCE_SIZE */
0567:            /*      GL_TEXTURE_INTENSITY_SIZE */
0568:            /*      GL_TEXTURE_PRIORITY */
0569:            /*      GL_TEXTURE_RESIDENT */
0570:
0571:            /* HintMode */
0572:            public static final int GL_DONT_CARE = 0x1100;
0573:            public static final int GL_FASTEST = 0x1101;
0574:            public static final int GL_NICEST = 0x1102;
0575:
0576:            /* HintTarget */
0577:            /*      GL_PERSPECTIVE_CORRECTION_HINT */
0578:            /*      GL_POINT_SMOOTH_HINT */
0579:            /*      GL_LINE_SMOOTH_HINT */
0580:            /*      GL_POLYGON_SMOOTH_HINT */
0581:            /*      GL_FOG_HINT */
0582:            /*      GL_PHONG_HINT */
0583:
0584:            /* IndexPointerType */
0585:            /*      GL_SHORT */
0586:            /*      GL_INT */
0587:            /*      GL_FLOAT */
0588:            /*      GL_DOUBLE */
0589:
0590:            /* LightModelParameter */
0591:            /*      GL_LIGHT_MODEL_AMBIENT */
0592:            /*      GL_LIGHT_MODEL_LOCAL_VIEWER */
0593:            /*      GL_LIGHT_MODEL_TWO_SIDE */
0594:
0595:            /* LightName */
0596:            public static final int GL_LIGHT0 = 0x4000;
0597:            public static final int GL_LIGHT1 = 0x4001;
0598:            public static final int GL_LIGHT2 = 0x4002;
0599:            public static final int GL_LIGHT3 = 0x4003;
0600:            public static final int GL_LIGHT4 = 0x4004;
0601:            public static final int GL_LIGHT5 = 0x4005;
0602:            public static final int GL_LIGHT6 = 0x4006;
0603:            public static final int GL_LIGHT7 = 0x4007;
0604:
0605:            /* LightParameter */
0606:            public static final int GL_AMBIENT = 0x1200;
0607:            public static final int GL_DIFFUSE = 0x1201;
0608:            public static final int GL_SPECULAR = 0x1202;
0609:            public static final int GL_POSITION = 0x1203;
0610:            public static final int GL_SPOT_DIRECTION = 0x1204;
0611:            public static final int GL_SPOT_EXPONENT = 0x1205;
0612:            public static final int GL_SPOT_CUTOFF = 0x1206;
0613:            public static final int GL_CONSTANT_ATTENUATION = 0x1207;
0614:            public static final int GL_LINEAR_ATTENUATION = 0x1208;
0615:            public static final int GL_QUADRATIC_ATTENUATION = 0x1209;
0616:
0617:            /* InterleavedArrays */
0618:            /*      GL_V2F */
0619:            /*      GL_V3F */
0620:            /*      GL_C4UB_V2F */
0621:            /*      GL_C4UB_V3F */
0622:            /*      GL_C3F_V3F */
0623:            /*      GL_N3F_V3F */
0624:            /*      GL_C4F_N3F_V3F */
0625:            /*      GL_T2F_V3F */
0626:            /*      GL_T4F_V4F */
0627:            /*      GL_T2F_C4UB_V3F */
0628:            /*      GL_T2F_C3F_V3F */
0629:            /*      GL_T2F_N3F_V3F */
0630:            /*      GL_T2F_C4F_N3F_V3F */
0631:            /*      GL_T4F_C4F_N3F_V4F */
0632:
0633:            /* ListMode */
0634:            public static final int GL_COMPILE = 0x1300;
0635:            public static final int GL_COMPILE_AND_EXECUTE = 0x1301;
0636:
0637:            /* ListNameType */
0638:            /*      GL_BYTE */
0639:            /*      GL_UNSIGNED_BYTE */
0640:            /*      GL_SHORT */
0641:            /*      GL_UNSIGNED_SHORT */
0642:            /*      GL_INT */
0643:            /*      GL_UNSIGNED_INT */
0644:            /*      GL_FLOAT */
0645:            /*      GL_2_BYTES */
0646:            /*      GL_3_BYTES */
0647:            /*      GL_4_BYTES */
0648:
0649:            /* LogicOp */
0650:            public static final int GL_CLEAR = 0x1500;
0651:            public static final int GL_AND = 0x1501;
0652:            public static final int GL_AND_REVERSE = 0x1502;
0653:            public static final int GL_COPY = 0x1503;
0654:            public static final int GL_AND_INVERTED = 0x1504;
0655:            public static final int GL_NOOP = 0x1505;
0656:            public static final int GL_XOR = 0x1506;
0657:            public static final int GL_OR = 0x1507;
0658:            public static final int GL_NOR = 0x1508;
0659:            public static final int GL_EQUIV = 0x1509;
0660:            public static final int GL_INVERT = 0x150A;
0661:            public static final int GL_OR_REVERSE = 0x150B;
0662:            public static final int GL_COPY_INVERTED = 0x150C;
0663:            public static final int GL_OR_INVERTED = 0x150D;
0664:            public static final int GL_NAND = 0x150E;
0665:            public static final int GL_SET = 0x150F;
0666:
0667:            /* MapTarget */
0668:            /*      GL_MAP1_COLOR_4 */
0669:            /*      GL_MAP1_INDEX */
0670:            /*      GL_MAP1_NORMAL */
0671:            /*      GL_MAP1_TEXTURE_COORD_1 */
0672:            /*      GL_MAP1_TEXTURE_COORD_2 */
0673:            /*      GL_MAP1_TEXTURE_COORD_3 */
0674:            /*      GL_MAP1_TEXTURE_COORD_4 */
0675:            /*      GL_MAP1_VERTEX_3 */
0676:            /*      GL_MAP1_VERTEX_4 */
0677:            /*      GL_MAP2_COLOR_4 */
0678:            /*      GL_MAP2_INDEX */
0679:            /*      GL_MAP2_NORMAL */
0680:            /*      GL_MAP2_TEXTURE_COORD_1 */
0681:            /*      GL_MAP2_TEXTURE_COORD_2 */
0682:            /*      GL_MAP2_TEXTURE_COORD_3 */
0683:            /*      GL_MAP2_TEXTURE_COORD_4 */
0684:            /*      GL_MAP2_VERTEX_3 */
0685:            /*      GL_MAP2_VERTEX_4 */
0686:
0687:            /* MaterialFace */
0688:            /*      GL_FRONT */
0689:            /*      GL_BACK */
0690:            /*      GL_FRONT_AND_BACK */
0691:
0692:            /* MaterialParameter */
0693:            public static final int GL_EMISSION = 0x1600;
0694:            public static final int GL_SHININESS = 0x1601;
0695:            public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602;
0696:            public static final int GL_COLOR_INDEXES = 0x1603;
0697:            /*      GL_AMBIENT */
0698:            /*      GL_DIFFUSE */
0699:            /*      GL_SPECULAR */
0700:
0701:            /* MatrixMode */
0702:            public static final int GL_MODELVIEW = 0x1700;
0703:            public static final int GL_PROJECTION = 0x1701;
0704:            public static final int GL_TEXTURE = 0x1702;
0705:
0706:            /* MeshMode1 */
0707:            /*      GL_POINT */
0708:            /*      GL_LINE */
0709:
0710:            /* MeshMode2 */
0711:            /*      GL_POINT */
0712:            /*      GL_LINE */
0713:            /*      GL_FILL */
0714:
0715:            /* NormalPointerType */
0716:            /*      GL_BYTE */
0717:            /*      GL_SHORT */
0718:            /*      GL_INT */
0719:            /*      GL_FLOAT */
0720:            /*      GL_DOUBLE */
0721:
0722:            /* PixelCopyType */
0723:            public static final int GL_COLOR = 0x1800;
0724:            public static final int GL_DEPTH = 0x1801;
0725:            public static final int GL_STENCIL = 0x1802;
0726:
0727:            /* PixelFormat */
0728:            public static final int GL_COLOR_INDEX = 0x1900;
0729:            public static final int GL_STENCIL_INDEX = 0x1901;
0730:            public static final int GL_DEPTH_COMPONENT = 0x1902;
0731:            public static final int GL_RED = 0x1903;
0732:            public static final int GL_GREEN = 0x1904;
0733:            public static final int GL_BLUE = 0x1905;
0734:            public static final int GL_ALPHA = 0x1906;
0735:            public static final int GL_RGB = 0x1907;
0736:            public static final int GL_RGBA = 0x1908;
0737:            public static final int GL_LUMINANCE = 0x1909;
0738:            public static final int GL_LUMINANCE_ALPHA = 0x190A;
0739:
0740:            /* PixelMap */
0741:            /*      GL_PIXEL_MAP_I_TO_I */
0742:            /*      GL_PIXEL_MAP_S_TO_S */
0743:            /*      GL_PIXEL_MAP_I_TO_R */
0744:            /*      GL_PIXEL_MAP_I_TO_G */
0745:            /*      GL_PIXEL_MAP_I_TO_B */
0746:            /*      GL_PIXEL_MAP_I_TO_A */
0747:            /*      GL_PIXEL_MAP_R_TO_R */
0748:            /*      GL_PIXEL_MAP_G_TO_G */
0749:            /*      GL_PIXEL_MAP_B_TO_B */
0750:            /*      GL_PIXEL_MAP_A_TO_A */
0751:
0752:            /* PixelStore */
0753:            /*      GL_UNPACK_SWAP_BYTES */
0754:            /*      GL_UNPACK_LSB_FIRST */
0755:            /*      GL_UNPACK_ROW_LENGTH */
0756:            /*      GL_UNPACK_SKIP_ROWS */
0757:            /*      GL_UNPACK_SKIP_PIXELS */
0758:            /*      GL_UNPACK_ALIGNMENT */
0759:            /*      GL_PACK_SWAP_BYTES */
0760:            /*      GL_PACK_LSB_FIRST */
0761:            /*      GL_PACK_ROW_LENGTH */
0762:            /*      GL_PACK_SKIP_ROWS */
0763:            /*      GL_PACK_SKIP_PIXELS */
0764:            /*      GL_PACK_ALIGNMENT */
0765:
0766:            /* PixelTransfer */
0767:            /*      GL_MAP_COLOR */
0768:            /*      GL_MAP_STENCIL */
0769:            /*      GL_INDEX_SHIFT */
0770:            /*      GL_INDEX_OFFSET */
0771:            /*      GL_RED_SCALE */
0772:            /*      GL_RED_BIAS */
0773:            /*      GL_GREEN_SCALE */
0774:            /*      GL_GREEN_BIAS */
0775:            /*      GL_BLUE_SCALE */
0776:            /*      GL_BLUE_BIAS */
0777:            /*      GL_ALPHA_SCALE */
0778:            /*      GL_ALPHA_BIAS */
0779:            /*      GL_DEPTH_SCALE */
0780:            /*      GL_DEPTH_BIAS */
0781:
0782:            /* PixelType */
0783:            public static final int GL_BITMAP = 0x1A00;
0784:            /*      GL_BYTE */
0785:            /*      GL_UNSIGNED_BYTE */
0786:            /*      GL_SHORT */
0787:            /*      GL_UNSIGNED_SHORT */
0788:            /*      GL_INT */
0789:            /*      GL_UNSIGNED_INT */
0790:            /*      GL_FLOAT */
0791:
0792:            /* PolygonMode */
0793:            public static final int GL_POINT = 0x1B00;
0794:            public static final int GL_LINE = 0x1B01;
0795:            public static final int GL_FILL = 0x1B02;
0796:
0797:            /* ReadBufferMode */
0798:            /*      GL_FRONT_LEFT */
0799:            /*      GL_FRONT_RIGHT */
0800:            /*      GL_BACK_LEFT */
0801:            /*      GL_BACK_RIGHT */
0802:            /*      GL_FRONT */
0803:            /*      GL_BACK */
0804:            /*      GL_LEFT */
0805:            /*      GL_RIGHT */
0806:            /*      GL_AUX0 */
0807:            /*      GL_AUX1 */
0808:            /*      GL_AUX2 */
0809:            /*      GL_AUX3 */
0810:
0811:            /* RenderingMode */
0812:            public static final int GL_RENDER = 0x1C00;
0813:            public static final int GL_FEEDBACK = 0x1C01;
0814:            public static final int GL_SELECT = 0x1C02;
0815:
0816:            /* ShadingModel */
0817:            public static final int GL_FLAT = 0x1D00;
0818:            public static final int GL_SMOOTH = 0x1D01;
0819:
0820:            /* StencilFunction */
0821:            /*      GL_NEVER */
0822:            /*      GL_LESS */
0823:            /*      GL_EQUAL */
0824:            /*      GL_LEQUAL */
0825:            /*      GL_GREATER */
0826:            /*      GL_NOTEQUAL */
0827:            /*      GL_GEQUAL */
0828:            /*      GL_ALWAYS */
0829:
0830:            /* StencilOp */
0831:            /*      GL_ZERO */
0832:            public static final int GL_KEEP = 0x1E00;
0833:            public static final int GL_REPLACE = 0x1E01;
0834:            public static final int GL_INCR = 0x1E02;
0835:            public static final int GL_DECR = 0x1E03;
0836:            /*      GL_INVERT */
0837:
0838:            /* StringName */
0839:            public static final int GL_VENDOR = 0x1F00;
0840:            public static final int GL_RENDERER = 0x1F01;
0841:            public static final int GL_VERSION = 0x1F02;
0842:            public static final int GL_EXTENSIONS = 0x1F03;
0843:
0844:            /* TextureCoordName */
0845:            public static final int GL_S = 0x2000;
0846:            public static final int GL_T = 0x2001;
0847:            public static final int GL_R = 0x2002;
0848:            public static final int GL_Q = 0x2003;
0849:
0850:            /* TexCoordPointerType */
0851:            /*      GL_SHORT */
0852:            /*      GL_INT */
0853:            /*      GL_FLOAT */
0854:            /*      GL_DOUBLE */
0855:
0856:            /* TextureEnvMode */
0857:            public static final int GL_MODULATE = 0x2100;
0858:            public static final int GL_DECAL = 0x2101;
0859:            /*      GL_BLEND */
0860:            /*      GL_REPLACE */
0861:
0862:            /* TextureEnvParameter */
0863:            public static final int GL_TEXTURE_ENV_MODE = 0x2200;
0864:            public static final int GL_TEXTURE_ENV_COLOR = 0x2201;
0865:
0866:            /* TextureEnvTarget */
0867:            public static final int GL_TEXTURE_ENV = 0x2300;
0868:
0869:            /* TextureGenMode */
0870:            public static final int GL_EYE_LINEAR = 0x2400;
0871:            public static final int GL_OBJECT_LINEAR = 0x2401;
0872:            public static final int GL_SPHERE_MAP = 0x2402;
0873:
0874:            /* TextureGenParameter */
0875:            public static final int GL_TEXTURE_GEN_MODE = 0x2500;
0876:            public static final int GL_OBJECT_PLANE = 0x2501;
0877:            public static final int GL_EYE_PLANE = 0x2502;
0878:
0879:            /* TextureMagFilter */
0880:            public static final int GL_NEAREST = 0x2600;
0881:            public static final int GL_LINEAR = 0x2601;
0882:
0883:            /* TextureMinFilter */
0884:            /*      GL_NEAREST */
0885:            /*      GL_LINEAR */
0886:            public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
0887:            public static final int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
0888:            public static final int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
0889:            public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
0890:
0891:            /* TextureParameterName */
0892:            public static final int GL_TEXTURE_MAG_FILTER = 0x2800;
0893:            public static final int GL_TEXTURE_MIN_FILTER = 0x2801;
0894:            public static final int GL_TEXTURE_WRAP_S = 0x2802;
0895:            public static final int GL_TEXTURE_WRAP_T = 0x2803;
0896:            /*      GL_TEXTURE_BORDER_COLOR */
0897:            /*      GL_TEXTURE_PRIORITY */
0898:
0899:            /* TextureTarget */
0900:            /*      GL_TEXTURE_1D */
0901:            /*      GL_TEXTURE_2D */
0902:            /*      GL_PROXY_TEXTURE_1D */
0903:            /*      GL_PROXY_TEXTURE_2D */
0904:
0905:            /* TextureWrapMode */
0906:            public static final int GL_CLAMP = 0x2900;
0907:            public static final int GL_REPEAT = 0x2901;
0908:
0909:            /* VertexPointerType */
0910:            /*      GL_SHORT */
0911:            /*      GL_INT */
0912:            /*      GL_FLOAT */
0913:            /*      GL_DOUBLE */
0914:
0915:            /* ClientAttribMask */
0916:            public static final int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
0917:            public static final int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
0918:            public static final int GL_CLIENT_ALL_ATTRIB_BITS = 0xffffffff;
0919:
0920:            /* polygon_offset */
0921:            public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038;
0922:            public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00;
0923:            public static final int GL_POLYGON_OFFSET_POINT = 0x2A01;
0924:            public static final int GL_POLYGON_OFFSET_LINE = 0x2A02;
0925:            public static final int GL_POLYGON_OFFSET_FILL = 0x8037;
0926:
0927:            /* texture */
0928:            public static final int GL_ALPHA4 = 0x803B;
0929:            public static final int GL_ALPHA8 = 0x803C;
0930:            public static final int GL_ALPHA12 = 0x803D;
0931:            public static final int GL_ALPHA16 = 0x803E;
0932:            public static final int GL_LUMINANCE4 = 0x803F;
0933:            public static final int GL_LUMINANCE8 = 0x8040;
0934:            public static final int GL_LUMINANCE12 = 0x8041;
0935:            public static final int GL_LUMINANCE16 = 0x8042;
0936:            public static final int GL_LUMINANCE4_ALPHA4 = 0x8043;
0937:            public static final int GL_LUMINANCE6_ALPHA2 = 0x8044;
0938:            public static final int GL_LUMINANCE8_ALPHA8 = 0x8045;
0939:            public static final int GL_LUMINANCE12_ALPHA4 = 0x8046;
0940:            public static final int GL_LUMINANCE12_ALPHA12 = 0x8047;
0941:            public static final int GL_LUMINANCE16_ALPHA16 = 0x8048;
0942:            public static final int GL_INTENSITY = 0x8049;
0943:            public static final int GL_INTENSITY4 = 0x804A;
0944:            public static final int GL_INTENSITY8 = 0x804B;
0945:            public static final int GL_INTENSITY12 = 0x804C;
0946:            public static final int GL_INTENSITY16 = 0x804D;
0947:            public static final int GL_R3_G3_B2 = 0x2A10;
0948:            public static final int GL_RGB4 = 0x804F;
0949:            public static final int GL_RGB5 = 0x8050;
0950:            public static final int GL_RGB8 = 0x8051;
0951:            public static final int GL_RGB10 = 0x8052;
0952:            public static final int GL_RGB12 = 0x8053;
0953:            public static final int GL_RGB16 = 0x8054;
0954:            public static final int GL_RGBA2 = 0x8055;
0955:            public static final int GL_RGBA4 = 0x8056;
0956:            public static final int GL_RGB5_A1 = 0x8057;
0957:            public static final int GL_RGBA8 = 0x8058;
0958:            public static final int GL_RGB10_A2 = 0x8059;
0959:            public static final int GL_RGBA12 = 0x805A;
0960:            public static final int GL_RGBA16 = 0x805B;
0961:            public static final int GL_TEXTURE_RED_SIZE = 0x805C;
0962:            public static final int GL_TEXTURE_GREEN_SIZE = 0x805D;
0963:            public static final int GL_TEXTURE_BLUE_SIZE = 0x805E;
0964:            public static final int GL_TEXTURE_ALPHA_SIZE = 0x805F;
0965:            public static final int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
0966:            public static final int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
0967:            public static final int GL_PROXY_TEXTURE_1D = 0x8063;
0968:            public static final int GL_PROXY_TEXTURE_2D = 0x8064;
0969:
0970:            /* texture_object */
0971:            public static final int GL_TEXTURE_PRIORITY = 0x8066;
0972:            public static final int GL_TEXTURE_RESIDENT = 0x8067;
0973:            public static final int GL_TEXTURE_BINDING_1D = 0x8068;
0974:            public static final int GL_TEXTURE_BINDING_2D = 0x8069;
0975:
0976:            /* vertex_array */
0977:            public static final int GL_VERTEX_ARRAY = 0x8074;
0978:            public static final int GL_NORMAL_ARRAY = 0x8075;
0979:            public static final int GL_COLOR_ARRAY = 0x8076;
0980:            public static final int GL_INDEX_ARRAY = 0x8077;
0981:            public static final int GL_TEXTURE_COORD_ARRAY = 0x8078;
0982:            public static final int GL_EDGE_FLAG_ARRAY = 0x8079;
0983:            public static final int GL_VERTEX_ARRAY_SIZE = 0x807A;
0984:            public static final int GL_VERTEX_ARRAY_TYPE = 0x807B;
0985:            public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C;
0986:            public static final int GL_NORMAL_ARRAY_TYPE = 0x807E;
0987:            public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F;
0988:            public static final int GL_COLOR_ARRAY_SIZE = 0x8081;
0989:            public static final int GL_COLOR_ARRAY_TYPE = 0x8082;
0990:            public static final int GL_COLOR_ARRAY_STRIDE = 0x8083;
0991:            public static final int GL_INDEX_ARRAY_TYPE = 0x8085;
0992:            public static final int GL_INDEX_ARRAY_STRIDE = 0x8086;
0993:            public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
0994:            public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
0995:            public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
0996:            public static final int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
0997:            public static final int GL_VERTEX_ARRAY_POINTER = 0x808E;
0998:            public static final int GL_NORMAL_ARRAY_POINTER = 0x808F;
0999:            public static final int GL_COLOR_ARRAY_POINTER = 0x8090;
1000:            public static final int GL_INDEX_ARRAY_POINTER = 0x8091;
1001:            public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
1002:            public static final int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
1003:            public static final int GL_V2F = 0x2A20;
1004:            public static final int GL_V3F = 0x2A21;
1005:            public static final int GL_C4UB_V2F = 0x2A22;
1006:            public static final int GL_C4UB_V3F = 0x2A23;
1007:            public static final int GL_C3F_V3F = 0x2A24;
1008:            public static final int GL_N3F_V3F = 0x2A25;
1009:            public static final int GL_C4F_N3F_V3F = 0x2A26;
1010:            public static final int GL_T2F_V3F = 0x2A27;
1011:            public static final int GL_T4F_V4F = 0x2A28;
1012:            public static final int GL_T2F_C4UB_V3F = 0x2A29;
1013:            public static final int GL_T2F_C3F_V3F = 0x2A2A;
1014:            public static final int GL_T2F_N3F_V3F = 0x2A2B;
1015:            public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C;
1016:            public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D;
1017:
1018:            /* Extensions */
1019:            public static final int GL_EXT_vertex_array = 1;
1020:            public static final int GL_EXT_bgra = 1;
1021:            public static final int GL_EXT_paletted_texture = 1;
1022:            public static final int GL_WIN_swap_hint = 1;
1023:            public static final int GL_WIN_draw_range_elements = 1;
1024:            // public static final int GL_WIN_phong_shading              = 1;
1025:            // public static final int GL_WIN_specular_fog               = 1;
1026:
1027:            /* EXT_vertex_array */
1028:            public static final int GL_VERTEX_ARRAY_EXT = 0x8074;
1029:            public static final int GL_NORMAL_ARRAY_EXT = 0x8075;
1030:            public static final int GL_COLOR_ARRAY_EXT = 0x8076;
1031:            public static final int GL_INDEX_ARRAY_EXT = 0x8077;
1032:            public static final int GL_TEXTURE_COORD_ARRAY_EXT = 0x8078;
1033:            public static final int GL_EDGE_FLAG_ARRAY_EXT = 0x8079;
1034:            public static final int GL_VERTEX_ARRAY_SIZE_EXT = 0x807A;
1035:            public static final int GL_VERTEX_ARRAY_TYPE_EXT = 0x807B;
1036:            public static final int GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C;
1037:            public static final int GL_VERTEX_ARRAY_COUNT_EXT = 0x807D;
1038:            public static final int GL_NORMAL_ARRAY_TYPE_EXT = 0x807E;
1039:            public static final int GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F;
1040:            public static final int GL_NORMAL_ARRAY_COUNT_EXT = 0x8080;
1041:            public static final int GL_COLOR_ARRAY_SIZE_EXT = 0x8081;
1042:            public static final int GL_COLOR_ARRAY_TYPE_EXT = 0x8082;
1043:            public static final int GL_COLOR_ARRAY_STRIDE_EXT = 0x8083;
1044:            public static final int GL_COLOR_ARRAY_COUNT_EXT = 0x8084;
1045:            public static final int GL_INDEX_ARRAY_TYPE_EXT = 0x8085;
1046:            public static final int GL_INDEX_ARRAY_STRIDE_EXT = 0x8086;
1047:            public static final int GL_INDEX_ARRAY_COUNT_EXT = 0x8087;
1048:            public static final int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
1049:            public static final int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
1050:            public static final int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
1051:            public static final int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
1052:            public static final int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
1053:            public static final int GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
1054:            public static final int GL_VERTEX_ARRAY_POINTER_EXT = 0x808E;
1055:            public static final int GL_NORMAL_ARRAY_POINTER_EXT = 0x808F;
1056:            public static final int GL_COLOR_ARRAY_POINTER_EXT = 0x8090;
1057:            public static final int GL_INDEX_ARRAY_POINTER_EXT = 0x8091;
1058:            public static final int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
1059:            public static final int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
1060:            public static final int GL_DOUBLE_EXT = GL_DOUBLE;
1061:
1062:            /* EXT_bgra */
1063:            public static final int GL_BGR_EXT = 0x80E0;
1064:            public static final int GL_BGRA_EXT = 0x80E1;
1065:
1066:            /* EXT_paletted_texture */
1067:
1068:            /* These must match the GL_COLOR_TABLE_*_SGI enumerants */
1069:            public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
1070:            public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
1071:            public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
1072:            public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
1073:            public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
1074:            public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
1075:            public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
1076:            public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
1077:
1078:            public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
1079:            public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
1080:            public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
1081:            public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
1082:            public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
1083:            public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
1084:
1085:            /* WIN_draw_range_elements */
1086:            public static final int GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8;
1087:            public static final int GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9;
1088:
1089:            /* WIN_phong_shading */
1090:            public static final int GL_PHONG_WIN = 0x80EA;
1091:            public static final int GL_PHONG_HINT_WIN = 0x80EB;
1092:
1093:            /* WIN_specular_fog */
1094:            public static final int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
1095:
1096:            /* For compatibility with OpenGL v1.0 */
1097:            public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
1098:            public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
1099:
1100:            public static final native void glAccum(int op, float value);
1101:
1102:            public static final native void glAlphaFunc(int func, float ref);
1103:
1104:            public static final native boolean glAreTexturesResident(int n,
1105:                    int[] textures, boolean[] residences);
1106:
1107:            public static final native void glArrayElement(int index);
1108:
1109:            public static final native void glBegin(int mode);
1110:
1111:            public static final native void glEnd();
1112:
1113:            public static final native void glBindTexture(int target,
1114:                    int texture);
1115:
1116:            public static final native void glBitmap(int width, int height,
1117:                    float xorig, float yorig, float xmove, float ymove,
1118:                    byte[] bitmap);
1119:
1120:            public static final native void glBlendFunc(int sfactor, int dfactor);
1121:
1122:            public static final native void glCallList(int list);
1123:
1124:            public static final native void glCallLists(int n, int type,
1125:                    byte[] lists);
1126:
1127:            public static final native void glCallLists(int n, int type,
1128:                    char[] lists);
1129:
1130:            public static final native void glCallLists(int n, int type,
1131:                    int[] lists);
1132:
1133:            public static final native void glClear(int mask);
1134:
1135:            public static final native void glClearAccum(float red,
1136:                    float green, float blue, float alpha);
1137:
1138:            public static final native void glClearColor(float red,
1139:                    float green, float blue, float alpha);
1140:
1141:            public static final native void glClearDepth(double depth);
1142:
1143:            public static final native void glClearIndex(float c);
1144:
1145:            public static final native void glClearStencil(int s);
1146:
1147:            public static final native void glClipPlane(int plane,
1148:                    double[] equation);
1149:
1150:            public static final native void glColor3b(byte red, byte green,
1151:                    byte blue);
1152:
1153:            public static final native void glColor3d(double red, double green,
1154:                    double blue);
1155:
1156:            public static final native void glColor3f(float red, float green,
1157:                    float blue);
1158:
1159:            public static final native void glColor3i(int red, int green,
1160:                    int blue);
1161:
1162:            public static final native void glColor3s(short red, short green,
1163:                    short blue);
1164:
1165:            public static final native void glColor3ub(byte red, byte green,
1166:                    byte blue);
1167:
1168:            public static final native void glColor3ui(int red, int green,
1169:                    int blue);
1170:
1171:            public static final native void glColor3us(short red, short green,
1172:                    short blue);
1173:
1174:            public static final native void glColor4b(byte red, byte green,
1175:                    byte blue, byte alpha);
1176:
1177:            public static final native void glColor4d(double red, double green,
1178:                    double blue, double alpha);
1179:
1180:            public static final native void glColor4f(float red, float green,
1181:                    float blue, float alpha);
1182:
1183:            public static final native void glColor4i(int red, int green,
1184:                    int blue, int alpha);
1185:
1186:            public static final native void glColor4s(short red, short green,
1187:                    short blue, short alpha);
1188:
1189:            public static final native void glColor4ub(byte red, byte green,
1190:                    byte blue, byte alpha);
1191:
1192:            public static final native void glColor4ui(int red, int green,
1193:                    int blue, int alpha);
1194:
1195:            public static final native void glColor4us(short red, short green,
1196:                    short blue, short alpha);
1197:
1198:            public static final native void glColor3bv(byte[] v);
1199:
1200:            public static final native void glColor3dv(double[] v);
1201:
1202:            public static final native void glColor3fv(float[] v);
1203:
1204:            public static final native void glColor3iv(int[] v);
1205:
1206:            public static final native void glColor3sv(short[] v);
1207:
1208:            public static final native void glColor3ubv(byte[] v);
1209:
1210:            public static final native void glColor3uiv(int[] v);
1211:
1212:            public static final native void glColor3usv(short[] v);
1213:
1214:            public static final native void glColor4bv(byte[] v);
1215:
1216:            public static final native void glColor4dv(double[] v);
1217:
1218:            public static final native void glColor4fv(float[] v);
1219:
1220:            public static final native void glColor4iv(int[] v);
1221:
1222:            public static final native void glColor4ubv(byte[] v);
1223:
1224:            public static final native void glColor4uiv(int[] v);
1225:
1226:            public static final native void glColor4usv(short[] v);
1227:
1228:            public static final native void glColorMask(boolean red,
1229:                    boolean green, boolean blue, boolean alpha);
1230:
1231:            public static final native void glColorMaterial(int face, int mode);
1232:
1233:            public static final native void glColorPointer(int size, int type,
1234:                    int stride, int[] pointer);
1235:
1236:            //public static final native void glColorTableEXT (int target, int internalFormat, int width, int format, int type, int[] data);
1237:            //public static final native void glColorSubTableEXT (int target, int start, int count, int format, int type, int[] data);
1238:            public static final native void glCopyPixels(int x, int y,
1239:                    int width, int height, int type);
1240:
1241:            public static final native void glCopyTexImage1D(int target,
1242:                    int level, int internalFormat, int x, int y, int width,
1243:                    int border);
1244:
1245:            public static final native void glCopyTexImage2D(int target,
1246:                    int level, int internalFormat, int x, int y, int width,
1247:                    int height, int border);
1248:
1249:            public static final native void glCopyTexSubImage1D(int target,
1250:                    int level, int xoffset, int x, int y, int width);
1251:
1252:            public static final native void glCopyTexSubImage2D(int target,
1253:                    int level, int xoffset, int yoffset, int x, int y,
1254:                    int width, int height);
1255:
1256:            public static final native void glCullFace(int mode);
1257:
1258:            public static final native void glDeleteLists(int list, int range);
1259:
1260:            public static final native void glDeleteTextures(int n,
1261:                    int[] textures);
1262:
1263:            public static final native void glDepthFunc(int func);
1264:
1265:            public static final native void glDepthMask(boolean flag);
1266:
1267:            public static final native void glDepthRange(double znear,
1268:                    double zfar);
1269:
1270:            public static final native void glDrawArrays(int mode, int first,
1271:                    int count);
1272:
1273:            public static final native void glDrawBuffer(int mode);
1274:
1275:            public static final native void glDrawElements(int mode, int count,
1276:                    int type, int[] indices); /* MULTIPLES TYPES */
1277:
1278:            public static final native void glDrawPixels(int width, int height,
1279:                    int format, int type, int[] pixels); /* MULTIPLES TYPES */
1280:
1281:            public static final native void glEdgeFlag(boolean flag);
1282:
1283:            public static final native void glEdgeFlagv(boolean[] flag);
1284:
1285:            public static final native void glEdgeFlagPointer(int stride,
1286:                    boolean[] pointer);
1287:
1288:            public static final native void glEnable(int cap);
1289:
1290:            public static final native void glDisable(int cap);
1291:
1292:            public static final native void glEnableClientState(int array);
1293:
1294:            public static final native void glDisableClientState(int array);
1295:
1296:            public static final native void glEvalCoord1d(double u);
1297:
1298:            public static final native void glEvalCoord1f(float u);
1299:
1300:            public static final native void glEvalCoord2d(double u, double v);
1301:
1302:            public static final native void glEvalCoord2f(float u, float v);
1303:
1304:            public static final native void glEvalCoord1dv(double[] u);
1305:
1306:            public static final native void glEvalCoord1fv(float[] u);
1307:
1308:            public static final native void glEvalCoord2dv(double[] u);
1309:
1310:            public static final native void glEvalCoord2fv(float[] u);
1311:
1312:            public static final native void glEvalMesh1(int mode, int i1, int i2);
1313:
1314:            public static final native void glEvalMesh2(int mode, int i1,
1315:                    int i2, int j1, int j2);
1316:
1317:            public static final native void glEvalPoint1(int i);
1318:
1319:            public static final native void glEvalPoint2(int i, int j);
1320:
1321:            public static final native void glFeedbackBuffer(int size,
1322:                    int type, float[] buffer);
1323:
1324:            public static final native void glFinish();
1325:
1326:            public static final native void glFlush();
1327:
1328:            public static final native void glFogf(int pname, float param);
1329:
1330:            public static final native void glFogi(int pname, int param);
1331:
1332:            public static final native void glFogfv(int pname, float[] params);
1333:
1334:            public static final native void glFogiv(int pname, int[] params);
1335:
1336:            public static final native void glFrontFace(int mode);
1337:
1338:            public static final native void glFrustum(double left,
1339:                    double right, double bottom, double top, double znear,
1340:                    double zfar);
1341:
1342:            public static final native int glGenLists(int range);
1343:
1344:            public static final native void glGenTextures(int n, int[] textures);
1345:
1346:            public static final native void glGetBooleanv(int pname,
1347:                    boolean[] params);
1348:
1349:            public static final native void glGetDoublev(int pname,
1350:                    double[] params);
1351:
1352:            public static final native void glGetFloatv(int pname,
1353:                    float[] params);
1354:
1355:            public static final native void glGetIntegerv(int pname,
1356:                    int[] params);
1357:
1358:            public static final native void glGetClipPlane(int plane,
1359:                    double[] equation);
1360:
1361:            //public static final native void glGetColorTableEXT (int target, int format, int type, int[] data);
1362:            //public static final native void glGetColorTableParameterfvEXT (int target, int pname, float[] params);
1363:            //public static final native void glGetColorTableParameterivEXT (int target, int pname, int[] params);
1364:            public static final native int glGetError();
1365:
1366:            public static final native void glGetLightfv(int light, int pname,
1367:                    float[] params);
1368:
1369:            public static final native void glGetLightiv(int light, int pname,
1370:                    int[] params);
1371:
1372:            public static final native void glGetMapdv(int tagert, int query,
1373:                    double[] v);
1374:
1375:            public static final native void glGetMapfv(int tagert, int query,
1376:                    float[] v);
1377:
1378:            public static final native void glGetMapiv(int tagert, int query,
1379:                    int[] v);
1380:
1381:            public static final native void glGetMaterialfv(int face,
1382:                    int pname, float[] params);
1383:
1384:            public static final native void glGetMaterialiv(int face,
1385:                    int pname, int[] params);
1386:
1387:            public static final native void glGetPixelMapfv(int map,
1388:                    float[] values);
1389:
1390:            public static final native void glGetPixelMapuiv(int map,
1391:                    int[] values);
1392:
1393:            public static final native void glGetPixelMapusv(int map,
1394:                    short[] values);
1395:
1396:            public static final native void glGetPointerv(int pname,
1397:                    int[] params);
1398:
1399:            /* TEST */
1400:            public static final native void glGetPolygonStipple(byte[] mask);
1401:
1402:            public static final native int glGetString(int name);
1403:
1404:            /* SHOULD RETURN A STRING */
1405:            public static final native void glGetTexEnvfv(int target,
1406:                    int pname, float[] params);
1407:
1408:            public static final native void glGetTexEnviv(int target,
1409:                    int pname, int[] params);
1410:
1411:            public static final native void glGetTexGendv(int coord, int pname,
1412:                    double[] params);
1413:
1414:            public static final native void glGetTexGenfv(int coord, int pname,
1415:                    float[] params);
1416:
1417:            public static final native void glGetTexGeniv(int coord, int pname,
1418:                    int[] params);
1419:
1420:            public static final native void glGetTexImage(int target,
1421:                    int level, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
1422:
1423:            public static final native void glGetTexLevelParameterfv(
1424:                    int target, int level, int pname, float[] params);
1425:
1426:            public static final native void glGetTexLevelParameteriv(
1427:                    int target, int level, int pname, int[] params);
1428:
1429:            public static final native void glGetTexParameterfv(int target,
1430:                    int pname, float[] params);
1431:
1432:            public static final native void glGetTexParameteriv(int target,
1433:                    int pname, int[] params);
1434:
1435:            public static final native void glHint(int target, int mode);
1436:
1437:            public static final native void glIndexd(double c);
1438:
1439:            public static final native void glIndexf(float c);
1440:
1441:            public static final native void glIndexi(int c);
1442:
1443:            public static final native void glIndexs(short c);
1444:
1445:            public static final native void glIndexdv(double[] c);
1446:
1447:            public static final native void glIndexfv(float[] c);
1448:
1449:            public static final native void glIndexiv(int[] c);
1450:
1451:            public static final native void glIndexsv(short[] c);
1452:
1453:            public static final native void glIndexMask(int mask);
1454:
1455:            public static final native void glIndexPointer(int type,
1456:                    int stride, int[] pointer);
1457:
1458:            /* MULTIPLES TYPES */
1459:            public static final native void glInitNames();
1460:
1461:            public static final native void glInterleavedArrays(int format,
1462:                    int stride, int[] pointer);
1463:
1464:            /* CHECK */
1465:            public static final native boolean glIsEnabled(int cap);
1466:
1467:            public static final native boolean glIsList(int list);
1468:
1469:            public static final native boolean glIsTexture(int texture);
1470:
1471:            public static final native void glLightf(int light, int pname,
1472:                    float param);
1473:
1474:            public static final native void glLighti(int light, int pname,
1475:                    int param);
1476:
1477:            public static final native void glLightfv(int light, int pname,
1478:                    float[] param);
1479:
1480:            //public static final native void glLightfv (int light, int pname, int param);
1481:            public static final native void glLightiv(int light, int pname,
1482:                    int[] param);
1483:
1484:            public static final native void glLightModelf(int pname, float param);
1485:
1486:            public static final native void glLightModeli(int pname, int param);
1487:
1488:            public static final native void glLightModelfv(int pname,
1489:                    float[] param);
1490:
1491:            public static final native void glLightModeliv(int pname,
1492:                    int[] param);
1493:
1494:            public static final native void glLineStipple(int factor,
1495:                    short pattern);
1496:
1497:            public static final native void glLineWidth(float width);
1498:
1499:            public static final native void glListBase(int base);
1500:
1501:            public static final native void glLoadIdentity();
1502:
1503:            public static final native void glLoadMatrixd(double[] m);
1504:
1505:            public static final native void glLoadMatrixf(float[] m);
1506:
1507:            public static final native void glLoadName(int name);
1508:
1509:            public static final native void glLogicOp(int opcode);
1510:
1511:            public static final native void glMap1d(int target, double u1,
1512:                    double u2, int stride, int order, double[] points);
1513:
1514:            public static final native void glMap1f(int target, float u1,
1515:                    float u2, int stride, int order, float[] points);
1516:
1517:            public static final native void glMap2d(int target, double u1,
1518:                    double u2, int ustride, int uorder, double v1, double v2,
1519:                    int vstride, int vorder, double[] points);
1520:
1521:            public static final native void glMap2f(int target, float u1,
1522:                    float u2, int ustride, int uorder, float v1, float v2,
1523:                    int vstride, int vorder, float[] points);
1524:
1525:            public static final native void glMapGrid1d(int un, double u1,
1526:                    double u2);
1527:
1528:            public static final native void glMapGrid1f(int un, float u1,
1529:                    float u2);
1530:
1531:            public static final native void glMapGrid2d(int un, double u1,
1532:                    double u2, int vm, double v1, double v2);
1533:
1534:            public static final native void glMapGrid2f(int un, float u1,
1535:                    float u2, int vm, float v1, float v2);
1536:
1537:            public static final native void glMaterialf(int face, int pname,
1538:                    float param);
1539:
1540:            public static final native void glMateriali(int face, int pname,
1541:                    int param);
1542:
1543:            public static final native void glMaterialfv(int face, int pname,
1544:                    float[] param);
1545:
1546:            public static final native void glMaterialiv(int face, int pname,
1547:                    int[] param);
1548:
1549:            public static final native void glMatrixMode(int mode);
1550:
1551:            public static final native void glMultMatrixd(double[] m);
1552:
1553:            public static final native void glMultMatrixf(float[] m);
1554:
1555:            public static final native void glNewList(int list, int mode);
1556:
1557:            public static final native void glEndList();
1558:
1559:            public static final native void glNormal3b(byte nx, byte ny, byte nz);
1560:
1561:            public static final native void glNormal3d(double nx, double ny,
1562:                    double nz);
1563:
1564:            public static final native void glNormal3f(float nx, float ny,
1565:                    float nz);
1566:
1567:            public static final native void glNormal3i(int nx, int ny, int nz);
1568:
1569:            public static final native void glNormal3s(short nx, short ny,
1570:                    short nz);
1571:
1572:            public static final native void glNormal3bv(byte[] v);
1573:
1574:            public static final native void glNormal3dv(double[] v);
1575:
1576:            public static final native void glNormal3fv(float[] v);
1577:
1578:            public static final native void glNormal3iv(int[] v);
1579:
1580:            public static final native void glNormal3sv(short[] v);
1581:
1582:            public static final native void glNormalPointer(int type,
1583:                    int stride, int[] pointer); /* MULTIPLES TYPES ARRAY */
1584:
1585:            public static final native void glOrtho(double left, double right,
1586:                    double bottom, double top, double znear, double zfar);
1587:
1588:            public static final native void glPassThrough(float token);
1589:
1590:            public static final native void glPixelMapfv(int map, int mapsize,
1591:                    float[] values);
1592:
1593:            public static final native void glPixelMapuiv(int map, int mapsize,
1594:                    int[] values);
1595:
1596:            public static final native void glPixelMapusv(int map, int mapsize,
1597:                    short[] values);
1598:
1599:            public static final native void glPixelStoref(int pname, float param);
1600:
1601:            public static final native void glPixelStorei(int pname, int param);
1602:
1603:            public static final native void glPixelTransferf(int pname,
1604:                    float param);
1605:
1606:            public static final native void glPixelTransferi(int pname,
1607:                    int param);
1608:
1609:            public static final native void glPixelZoom(float xfactor,
1610:                    float yfactor);
1611:
1612:            public static final native void glPointSize(float size);
1613:
1614:            public static final native void glPolygonMode(int face, int mode);
1615:
1616:            public static final native void glPolygonOffset(float factor,
1617:                    float units);
1618:
1619:            public static final native void glPolygonStipple(byte[] mask);
1620:
1621:            public static final native void glPrioritizeTextures(int n,
1622:                    int[] textures, float[] priorities);
1623:
1624:            public static final native void glPushAttrib(int mask);
1625:
1626:            public static final native void glPopAttrib();
1627:
1628:            public static final native void glPushClientAttrib(int mask);
1629:
1630:            public static final native void glPopClientAttrib();
1631:
1632:            public static final native void glPushMatrix();
1633:
1634:            public static final native void glPopMatrix();
1635:
1636:            public static final native void glPushName(int name);
1637:
1638:            public static final native void glPopName();
1639:
1640:            public static final native void glRasterPos2d(double x, double y);
1641:
1642:            public static final native void glRasterPos2f(float x, float y);
1643:
1644:            public static final native void glRasterPos2i(int x, int y);
1645:
1646:            public static final native void glRasterPos2s(short x, short y);
1647:
1648:            public static final native void glRasterPos3d(double x, double y,
1649:                    double z);
1650:
1651:            public static final native void glRasterPos3f(float x, float y,
1652:                    float z);
1653:
1654:            public static final native void glRasterPos3i(int x, int y, int z);
1655:
1656:            public static final native void glRasterPos3s(short x, short y,
1657:                    short z);
1658:
1659:            public static final native void glRasterPos4d(double x, double y,
1660:                    double z, double w);
1661:
1662:            public static final native void glRasterPos4f(float x, float y,
1663:                    float z, float w);
1664:
1665:            public static final native void glRasterPos4i(int x, int y, int z,
1666:                    int w);
1667:
1668:            public static final native void glRasterPos4s(short x, short y,
1669:                    short z, short w);
1670:
1671:            public static final native void glRasterPos2dv(double[] v);
1672:
1673:            public static final native void glRasterPos2fv(float[] v);
1674:
1675:            public static final native void glRasterPos2iv(int[] v);
1676:
1677:            public static final native void glRasterPos2sv(short[] v);
1678:
1679:            public static final native void glRasterPos3dv(double[] v);
1680:
1681:            public static final native void glRasterPos3fv(float[] v);
1682:
1683:            public static final native void glRasterPos3iv(int[] v);
1684:
1685:            public static final native void glRasterPos3sv(short[] v);
1686:
1687:            public static final native void glRasterPos4dv(double[] v);
1688:
1689:            public static final native void glRasterPos4fv(float[] v);
1690:
1691:            public static final native void glRasterPos4iv(int[] v);
1692:
1693:            public static final native void glRasterPos4sv(short[] v);
1694:
1695:            public static final native void glReadBuffer(int mode);
1696:
1697:            public static final native void glReadPixels(int x, int y,
1698:                    int width, int height, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
1699:
1700:            public static final native void glRectd(double x1, double y1,
1701:                    double x2, double y2);
1702:
1703:            public static final native void glRectf(float x1, float y1,
1704:                    float x2, float y2);
1705:
1706:            public static final native void glRecti(int x1, int y1, int x2,
1707:                    int y2);
1708:
1709:            public static final native void glRects(short x1, short y1,
1710:                    short x2, short y2);
1711:
1712:            public static final native void glRectdv(double[] v1, double[] v2);
1713:
1714:            public static final native void glRectfv(float[] v1, float[] v2);
1715:
1716:            public static final native void glRectiv(int[] v1, int[] v2);
1717:
1718:            public static final native void glRectsv(short[] v, short[] v2);
1719:
1720:            public static final native int glRenderMode(int mode);
1721:
1722:            public static final native void glRotated(double angle, double x,
1723:                    double y, double z);
1724:
1725:            public static final native void glRotatef(float angle, float x,
1726:                    float y, float z);
1727:
1728:            public static final native void glScaled(double x, double y,
1729:                    double z);
1730:
1731:            public static final native void glScalef(float x, float y, float z);
1732:
1733:            public static final native void glScissor(int x, int y, int width,
1734:                    int height);
1735:
1736:            //public static final native void glSelectBuffer (int size, int[] buffer);
1737:            public static final native void glSelectBuffer(int size, int buffer);
1738:
1739:            public static final native void glShadeModel(int mode);
1740:
1741:            public static final native void glStencilFunc(int func, int ref,
1742:                    int mask);
1743:
1744:            public static final native void glStencilMask(int mask);
1745:
1746:            public static final native void glStencilOp(int fail, int zfail,
1747:                    int zpass);
1748:
1749:            public static final native void glTexCoord1d(double s);
1750:
1751:            public static final native void glTexCoord1f(float s);
1752:
1753:            public static final native void glTexCoord1i(int s);
1754:
1755:            public static final native void glTexCoord1s(short s);
1756:
1757:            public static final native void glTexCoord2d(double s, double t);
1758:
1759:            public static final native void glTexCoord2f(float s, float t);
1760:
1761:            public static final native void glTexCoord2i(int s, int t);
1762:
1763:            public static final native void glTexCoord2s(short s, short t);
1764:
1765:            public static final native void glTexCoord3d(double s, double t,
1766:                    double r);
1767:
1768:            public static final native void glTexCoord3f(float s, float t,
1769:                    float r);
1770:
1771:            public static final native void glTexCoord3i(int s, int t, int r);
1772:
1773:            public static final native void glTexCoord3s(short s, short t,
1774:                    short r);
1775:
1776:            public static final native void glTexCoord4d(double s, double t,
1777:                    double r, double q);
1778:
1779:            public static final native void glTexCoord4f(float s, float t,
1780:                    float r, float q);
1781:
1782:            public static final native void glTexCoord4i(int s, int t, int r,
1783:                    int q);
1784:
1785:            public static final native void glTexCoord4s(short s, short t,
1786:                    short r, short q);
1787:
1788:            public static final native void glTexCoord1dv(double[] v);
1789:
1790:            public static final native void glTexCoord1fv(float[] v);
1791:
1792:            public static final native void glTexCoord1iv(int[] v);
1793:
1794:            public static final native void glTexCoord1sv(short[] v);
1795:
1796:            public static final native void glTexCoord2dv(double[] v);
1797:
1798:            public static final native void glTexCoord2fv(float[] v);
1799:
1800:            public static final native void glTexCoord2iv(int[] v);
1801:
1802:            public static final native void glTexCoord2sv(short[] v);
1803:
1804:            public static final native void glTexCoord3dv(double[] v);
1805:
1806:            public static final native void glTexCoord3fv(float[] v);
1807:
1808:            public static final native void glTexCoord3iv(int[] v);
1809:
1810:            public static final native void glTexCoord3sv(short[] v);
1811:
1812:            public static final native void glTexCoord4dv(double[] v);
1813:
1814:            public static final native void glTexCoord4fv(float[] v);
1815:
1816:            public static final native void glTexCoord4iv(int[] v);
1817:
1818:            public static final native void glTexCoord4sv(short[] v);
1819:
1820:            public static final native void glTexCoordPointer(int size,
1821:                    int type, int stride, int[] pointer); /*MULTIPLES ARRAYS - CHECK MSDK, COUNT PARAM MISSING */
1822:
1823:            public static final native void glTexEnvf(int target, int pname,
1824:                    float param);
1825:
1826:            public static final native void glTexEnvi(int target, int pname,
1827:                    int param);
1828:
1829:            public static final native void glTexEnvfv(int target, int pname,
1830:                    float[] params);
1831:
1832:            public static final native void glTexEnviv(int target, int pname,
1833:                    int[] params);
1834:
1835:            public static final native void glTexGend(int coord, int pname,
1836:                    double param);
1837:
1838:            public static final native void glTexGenf(int coord, int pname,
1839:                    float param);
1840:
1841:            public static final native void glTexGeni(int coord, int pname,
1842:                    int param);
1843:
1844:            public static final native void glTexGendv(int coord, int pname,
1845:                    double[] params);
1846:
1847:            public static final native void glTexGenfv(int coord, int pname,
1848:                    float[] params);
1849:
1850:            public static final native void glTexGeniv(int coord, int pname,
1851:                    int[] params);
1852:
1853:            public static final native void glTexImage1D(int target, int level,
1854:                    int internalFormat, int width, int border, int format,
1855:                    int type, int[] pixels); /* MULTIPLES ARRAYS */
1856:
1857:            public static final native void glTexImage2D(int target, int level,
1858:                    int internalFormat, int width, int height, int border,
1859:                    int format, int type, byte[] pixels); /* MULTIPLES ARRAYS */
1860:
1861:            public static final native void glTexParameterf(int target,
1862:                    int pname, float param);
1863:
1864:            public static final native void glTexParameteri(int target,
1865:                    int pname, int param);
1866:
1867:            public static final native void glTexParameterfv(int target,
1868:                    int pname, float[] params);
1869:
1870:            public static final native void glTexParameteriv(int target,
1871:                    int pname, int[] params);
1872:
1873:            public static final native void glTexSubImage1D(int target,
1874:                    int level, int xoffset, int width, int format, int type,
1875:                    int[] pixels); /* MULTIPLES ARRAYS */
1876:
1877:            public static final native void glTexSubImage2D(int target,
1878:                    int level, int xoffset, int yoffset, int width, int height,
1879:                    int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
1880:
1881:            public static final native void glTranslated(double x, double y,
1882:                    double z);
1883:
1884:            public static final native void glTranslatef(float x, float y,
1885:                    float z);
1886:
1887:            public static final native void glVertex2d(double x, double y);
1888:
1889:            public static final native void glVertex2f(float x, float y);
1890:
1891:            public static final native void glVertex2i(int x, int y);
1892:
1893:            public static final native void glVertex2s(short x, short y);
1894:
1895:            public static final native void glVertex3d(double x, double y,
1896:                    double z);
1897:
1898:            public static final native void glVertex3f(float x, float y, float z);
1899:
1900:            public static final native void glVertex3i(int x, int y, int z);
1901:
1902:            public static final native void glVertex3s(short x, short y, short z);
1903:
1904:            public static final native void glVertex4d(double x, double y,
1905:                    double z, double w);
1906:
1907:            public static final native void glVertex4f(float x, float y,
1908:                    float z, float w);
1909:
1910:            public static final native void glVertex4i(int x, int y, int z,
1911:                    int w);
1912:
1913:            public static final native void glVertex4s(short x, short y,
1914:                    short z, short w);
1915:
1916:            public static final native void glVertex2dv(double[] v);
1917:
1918:            public static final native void glVertex2fv(float[] v);
1919:
1920:            public static final native void glVertex2iv(int[] v);
1921:
1922:            public static final native void glVertex2sv(short[] v);
1923:
1924:            public static final native void glVertex3dv(double[] v);
1925:
1926:            public static final native void glVertex3fv(float[] v);
1927:
1928:            public static final native void glVertex3iv(int[] v);
1929:
1930:            public static final native void glVertex3sv(short[] v);
1931:
1932:            public static final native void glVertex4dv(double[] v);
1933:
1934:            public static final native void glVertex4fv(float[] v);
1935:
1936:            public static final native void glVertex4iv(int[] v);
1937:
1938:            public static final native void glVertex4sv(short[] v);
1939:
1940:            public static final native void glVertexPointer(int size, int type,
1941:                    int stride, int[] pointer); /* MULTIPLES ARRAYS */
1942:
1943:            public static final native void glViewport(int x, int y, int width,
1944:                    int height);
1945:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.