|
From: Elias N. <eli...@us...> - 2003-06-24 12:24:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1:/tmp/cvs-serv25896/src/java/org/lwjgl/opengl Modified Files: CoreGL.java CoreGLConstants.java GL.java GLU.java GLUConstants.java Log Message: Ported OpenGL to Buffers Index: CoreGL.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- CoreGL.java 16 Jun 2003 17:07:35 -0000 1.15 +++ CoreGL.java 24 Jun 2003 12:24:54 -0000 1.16 @@ -32,6 +32,13 @@ package org.lwjgl.opengl; +import java.nio.ByteBuffer; +import java.nio.CharBuffer; +import java.nio.IntBuffer; +import java.nio.FloatBuffer; +import java.nio.DoubleBuffer; +import java.nio.Buffer; + /** * $Id$ * @@ -41,8 +48,6 @@ * @version $Revision$ */ public class CoreGL extends BaseGL implements CoreGLConstants { - - /** * @param title * @param x @@ -69,464 +74,471 @@ super(title, bpp, alpha, depth, stencil); } - public native void accum(int op, float value); - public native void alphaFunc(int func, float ref); - public native void colorTable( + public static native void glAccum(int op, float value); + public static native void glAlphaFunc(int func, float ref); + public static native void glColorTable( int target, int internalFormat, int width, int format, int type, - int data); + Buffer data); - public native void colorSubTable( + public static native void glColorSubTable( int target, int start, int count, int format, int type, - int data); + Buffer data); - public native void getColorTable( + public static native void glGetColorTable( int target, int format, int type, - int data); + Buffer data); - public native void getColorTableParameteriv( + public static native void glGetColorTableParameteriv( int target, int pname, - int params); + IntBuffer params); - public native void getColorTableParameterfv( + public static native void glGetColorTableParameterfv( int target, int pname, - int params); + FloatBuffer params); - public native void clearColor(float red, float green, float blue, float alpha); - public native void clearAccum(float red, float green, float blue, float alpha); - public native void clear(int mask); - public native void callLists(int n, int type, int lists); - public native void callList(int list); - public native void blendFunc(int sfactor, int dfactor); - public native void blendColor(float red, float green, float blue, float alpha); - public native void bitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, int bitmap); - public native void bindTexture(int target, int texture); - public native void begin(int mode); - public native void end(); - public native void arrayElement(int i); - public native boolean areTexturesResident(int n, int textureNames, int residences); - public native void clearDepth(double depth); - public native void deleteLists(int list, int range); - public native void deleteTextures(int n, int textures); - public native void cullFace(int mode); - public native void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); - public native void copyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width); - public native void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border); - public native void copyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border); + public static native void glClearColor(float red, float green, float blue, float alpha); + public static native void glClearAccum(float red, float green, float blue, float alpha); + public static native void glClear(int mask); + public static native void glCallLists(int n, int type, Buffer lists); + public static native void glCallList(int list); + public static native void glBlendFunc(int sfactor, int dfactor); + public static native void glBlendColor(float red, float green, float blue, float alpha); + public static native void glBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, ByteBuffer bitmap); + public static native void glBindTexture(int target, int texture); + public static native void glBegin(int mode); + public static native void glEnd(); + public static native void glArrayElement(int i); + public static native boolean glAreTexturesResident(int n, IntBuffer textureNames, ByteBuffer residences); + public static native void glClearDepth(double depth); + public static native void glDeleteLists(int list, int range); + public static native void glDeleteTextures(int n, IntBuffer textures); + public static native void glCullFace(int mode); + public static native void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height); + public static native void glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width); + public static native void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border); + public static native void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border); /* OpenGL 1.2 functions */ - public native void colorTableParameteriv(int target, int pname, int params); - public native void colorTableParameterfv(int target, int pname, int params); - public native void copyColorSubTable(int target, int start, int x, int y, int width); - public native void copyColorTable(int target, int internalformat, int x, int y, int width); - public native void blendEquation(int mode); - public native void histogram(int target, int width, int internalformat, boolean sink); - public native void resetHistogram(int target); - public native void getHistogram(int target, boolean reset, int format, int type, int values); - public native void getHistogramParameterfv(int target, int pname, int params); - public native void getHistogramParameteriv(int target, int pname, int params); - public native void minmax(int target, int internalformat, boolean sink); - public native void resetMinmax(int target); - public native void getMinmax(int target, boolean reset, int format, int types, int values); - public native void getMinmaxParameterfv(int target, int pname, int params); - public native void getMinmaxParameteriv(int target, int pname, int params); - public native void convolutionFilter1D(int target, int internalformat, int width, int format, int type, int image); - public native void convolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, int image); - public native void convolutionParameterf(int target, int pname, float params); - public native void convolutionParameterfv(int target, int pname, int params); - public native void convolutionParameteri(int target, int pname, int params); - public native void convolutionParameteriv(int target, int pname, int params); - public native void copyConvolutionFilter1D(int target, int internalformat, int x, int y, int width); - public native void copyConvolutionFilter2D(int target, int internalformat, int x, int y, int width, int height); - public native void getConvolutionFilter(int target, int format, int type, int image); - public native void getConvolutionParameterfv(int target, int pname, int params); - public native void getConvolutionParameteriv(int target, int pname, int params); - public native void separableFilter2D(int target, int internalformat, int width, int height, int format, int type, int row, int column); - public native void getSeparableFilter(int target, int format, int type, int row, int column, int span); - public native void drawRangeElements(int mode, int start, int end, int count, int type, int indices); - public native void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int pixels); - public native void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int pixels); - public native void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); + public static native void glColorTableParameteriv(int target, int pname, int params); + public static native void glColorTableParameterfv(int target, int pname, int params); + public static native void glCopyColorSubTable(int target, int start, int x, int y, int width); + public static native void glCopyColorTable(int target, int internalformat, int x, int y, int width); + public static native void glBlendEquation(int mode); + public static native void glHistogram(int target, int width, int internalformat, boolean sink); + public static native void glResetHistogram(int target); + public static native void glGetHistogram(int target, boolean reset, int format, int type, Buffer values); + public static native void glGetHistogramParameterfv(int target, int pname, FloatBuffer params); + public static native void glGetHistogramParameteriv(int target, int pname, IntBuffer params); + public static native void glMinmax(int target, int internalformat, boolean sink); + public static native void glResetMinmax(int target); + public static native void glGetMinmax(int target, boolean reset, int format, int types, Buffer values); + public static native void glGetMinmaxParameterfv(int target, int pname, FloatBuffer params); + public static native void glGetMinmaxParameteriv(int target, int pname, IntBuffer params); + public static native void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, Buffer image); + public static native void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, Buffer image); + public static native void glConvolutionParameterf(int target, int pname, float params); + public static native void glConvolutionParameterfv(int target, int pname, FloatBuffer params); + public static native void glConvolutionParameteri(int target, int pname, int params); + public static native void glConvolutionParameteriv(int target, int pname, IntBuffer params); + public static native void glCopyConvolutionFilter1D(int target, int internalformat, int x, int y, int width); + public static native void glCopyConvolutionFilter2D(int target, int internalformat, int x, int y, int width, int height); + public static native void glGetConvolutionFilter(int target, int format, int type, Buffer image); + public static native void glGetConvolutionParameterfv(int target, int pname, FloatBuffer params); + public static native void glGetConvolutionParameteriv(int target, int pname, IntBuffer params); + public static native void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, Buffer row, Buffer column); + public static native void glGetSeparableFilter(int target, int format, int type, Buffer row, Buffer column, Buffer span); + public static native void glDrawRangeElements(int mode, int start, int end, int count, int type, Buffer indices); + public static native void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, Buffer pixels); + public static native void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, Buffer pixels); + public static native void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); /* OpenGL 1.3 funstions */ - public native void activeTexture(int texture); - public native void clientActiveTexture(int texture); - public native void compressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, int data); - public native void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, int data); - public native void compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int data); - public native void compressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, int data); - public native void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, int data); - public native void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, int data); - public native void getCompressedTexImage(int target, int lod, int img); - public native void multiTexCoord1d(int target, double s); - public native void multiTexCoord1dv(int target, int v); - public native void multiTexCoord1f(int target, float s); - public native void multiTexCoord1fv(int target, int v); - public native void multiTexCoord1i(int target, int s); - public native void multiTexCoord1iv(int target, int v); - public native void multiTexCoord1s(int target, short s); - public native void multiTexCoord1sv(int target, int v); - public native void multiTexCoord2d(int target, double s, double t); - public native void multiTexCoord2dv(int target, int v); - public native void multiTexCoord2f(int target, float s, float t); - public native void multiTexCoord2fv(int target, int v); - public native void multiTexCoord2i(int target, int s, int t); - public native void multiTexCoord2iv(int target, int v); - public native void multiTexCoord2s(int target, short s, short t); - public native void multiTexCoord2sv(int target, int v); - public native void multiTexCoord3d(int target, double s, double t, double r); - public native void multiTexCoord3dv(int target, int v); - public native void multiTexCoord3f(int target, float s, float t, float r); - public native void multiTexCoord3fv(int target, int v); - public native void multiTexCoord3i(int target, int s, int t, int r); - public native void multiTexCoord3iv(int target, int v); - public native void multiTexCoord3s(int target, short s, short t, short r); - public native void multiTexCoord3sv(int target, int v); - public native void multiTexCoord4d(int target, double s, double t, double r, double q); - public native void multiTexCoord4dv(int target, int v); - public native void multiTexCoord4f(int target, float s, float t, float r, float q); - public native void multiTexCoord4fv(int target, int v); - public native void multiTexCoord4i(int target, int s, int t, int r, int q); - public native void multiTexCoord4iv(int target, int v); - public native void multiTexCoord4s(int target, short s, short t, short r, short q); - public native void multiTexCoord4sv(int target, int v); - public native void loadTransposeMatrixd(int m); - public native void loadTransposeMatrixf(int m); - public native void multTransposeMatrixd(int m); - public native void multTransposeMatrixf(int m); - public native void sampleCoverage(float value, boolean invert); - public native void copyPixels(int x, int y, int width, int height, int type); - public native void colorPointer(int size, int type, int stride, int pointer); - public native void colorMaterial(int face, int mode); - public native void colorMask(boolean red, boolean green, boolean blue, boolean alpha); - public native void color3b(byte red, byte green, byte blue); - public native void color3d(double red, double green, double blue); - public native void color3f(float red, float green, float blue); - public native void color3i(int red, int green, int blue); - public native void color3s(short red, short green, short blue); - public native void color3ub(byte red, byte green, byte blue); - public native void color3ui(int red, int green, int blue); - public native void color3us(short red, short green, short blue); - public native void color4b(byte red, byte green, byte blue, byte alpha); - public native void color4d(double red, double green, double blue, double alpha); - public native void color4f(float red, float green, float blue, float alpha); - public native void color4i(int red, int green, int blue, int alpha); - public native void color4s(short red, short green, short blue, short alpha); - public native void color4ub(byte red, byte green, byte blue, byte alpha); - public native void color4ui(int red, int green, int blue, int alpha); - public native void color4us(short red, short green, short blue, short alpha); - public native void color3bv(int v); - public native void color3dv(int v); - public native void color3fv(int v); - public native void color3iv(int v); - public native void color3sv(int v); - public native void color3ubv(int v); - public native void color3uiv(int v); - public native void color3usv(int v); - public native void color4bv(int v); - public native void color4dv(int v); - public native void color4fv(int v); - public native void color4iv(int v); - public native void color4sv(int v); - public native void color4ubv(int v); - public native void color4uiv(int v); - public native void clipPlane(int plane, int equation); - public native void clearStencil(int s); - public native void clearIndex(float c); - public native void evalPoint1(int i); - public native void evalPoint2(int i, int j); - public native void evalMesh1(int mode, int i1, int i2); - public native void evalMesh2(int mode, int i1, int i2, int j1, int j2); - public native void evalCoord1d(double u); - public native void evalCoord1f(float u); - public native void evalCoord2d(double u, double v); - public native void evalCoord2f(float u, float v); - public native void evalCoord1dv(int u); - public native void evalCoord1fv(int u); - public native void evalCoord2dv(int u); - public native void evalCoord2fv(int u); - public native void enableClientState(int cap); - public native void disableClientState(int cap); - public native void enable(int cap); - public native void disable(int cap); - public native void edgeFlagPointer(int stride, int pointer); - public native void edgeFlag(boolean flag); - public native void edgeFlagv(int flag); - public native void drawPixels(int width, int height, int format, int type, int pixels); - public native void drawElements(int mode, int count, int type, int indices); - public native void drawBuffer(int mode); - public native void drawArrays(int mode, int first, int count); - public native void depthRange(double zNear, double zFar); - public native void depthMask(boolean flag); - public native void depthFunc(int func); - public native void feedbackBuffer(int size, int type, int buffer); - public native void getPixelMapfv(int map, int values); - public native void getPixelMapuiv(int map, int values); - public native void getPixelMapusv(int map, int values); - public native void getMaterialfv(int face, int pname, int params); - public native void getMaterialiv(int face, int pname, int params); - public native void getMapdv(int target, int query, int v); - public native void getMapfv(int target, int query, int v); - public native void getMapiv(int target, int query, int v); - public native void getLightfv(int light, int pname, int params); - public native void getLightiv(int light, int pname, int params); - public native int getError(); - public native void getClipPlane(int plane, int equation); - public native void getBooleanv(int pname, int params); - public native void getDoublev(int pname, int params); - public native void getFloatv(int pname, int params); - public native void getIntegerv(int pname, int params); - public native void genTextures(int n, int textures); - public native int genLists(int range); - public native void frustum(double left, double right, double bottom, double top, double zNear, double zFar); - public native void frontFace(int mode); - public native void fogf(int pname, float param); - public native void fogi(int pname, int param); - public native void fogfv(int pname, int params); - public native void fogiv(int pname, int params); - public native void flush(); - public native void finish(); - public native void getPointerv(int pname, int params); - public native boolean isEnabled(int cap); - public native void interleavedArrays(int format, int stride, int pointer); - public native void initNames(); - public native void indexPointer(int type, int stride, int pointer); - public native void indexMask(int mask); - public native void indexd(double c); - public native void indexf(float c); - public native void indexi(int c); - public native void indexs(short c); - public native void indexub(byte c); - public native void indexdv(int c); - public native void indexfv(int c); - public native void indexiv(int c); - public native void indexsv(int c); - public native void indexubv(int c); - public native void hint(int target, int mode); - public native void getTexParameterfv(int target, int pname, int params); - public native void getTexParameteriv(int target, int pname, int params); - public native void getTexLevelParameterfv(int target, int level, int pname, int params); - public native void getTexLevelParameteriv(int target, int level, int pname, int params); - public native void getTexImage(int target, int level, int format, int type, int pixels); - public native void getTexGendv(int coord, int pname, int params); - public native void getTexGenfv(int coord, int pname, int params); - public native void getTexGeniv(int coord, int pname, int params); - public native void getTexEnvfv(int target, int pname, int params); - public native void getTexEnviv(int target, int pname, int params); - public native String getString(int name); - public native void getPolygonStipple(int mask); - public native boolean isList(int list); - public native void materialf(int face, int pname, float param); - public native void materiali(int face, int pname, int param); - public native void materialfv(int face, int pname, int params); - public native void materialiv(int face, int pname, int params); - public native void mapGrid1d(int un, double u1, double u2); - public native void mapGrid1f(int un, float u1, float u2); - public native void mapGrid2d(int un, double u1, double u2, int vn, double v1, double v2); - public native void mapGrid2f(int un, float u1, float u2, int vn, float v1, float v2); - public native void map2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, int points); - public native void map2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, int points); - public native void map1d(int target, double u1, double u2, int stride, int order, int points); - public native void map1f(int target, float u1, float u2, int stride, int order, int points); - public native void logicOp(int opcode); - public native void loadName(int name); - public native void loadMatrixd(int m); - public native void loadMatrixf(int m); - public native void loadIdentity(); - public native void listBase(int base); - public native void lineWidth(float width); - public native void lineStipple(int factor, short pattern); - public native void lightModelf(int pname, float param); - public native void lightModeli(int pname, int param); - public native void lightModelfv(int pname, int params); - public native void lightModeliv(int pname, int params); - public native void lightf(int light, int pname, float param); - public native void lighti(int light, int pname, int param); - public native void lightfv(int light, int pname, int params); - public native void lightiv(int light, int pname, int params); - public native boolean isTexture(int texture); - public native void matrixMode(int mode); - public native void polygonStipple(int mask); - public native void polygonOffset(float factor, float units); - public native void polygonMode(int face, int mode); - public native void pointSize(float size); - public native void pixelZoom(float xfactor, float yfactor); - public native void pixelTransferf(int pname, float param); - public native void pixelTransferi(int pname, int param); - public native void pixelStoref(int pname, float param); - public native void pixelStorei(int pname, int param); - public native void pixelMapfv(int map, int mapsize, int values); - public native void pixelMapuiv(int map, int mapsize, int values); - public native void pixelMapusv(int map, int mapsize, int values); - public native void passThrough(float token); - public native void ortho(double left, double right, double bottom, double top, double zNear, double zFar); - public native void normalPointer(int type, int stride, int pointer); - public native void normal3b(byte nx, byte ny, byte nz); - public native void normal3d(double nx, double ny, double nz); - public native void normal3f(float nx, float ny, float nz); - public native void normal3i(int nx, int ny, int nz); - public native void normal3s(short nx, short ny, short nz); - public native void normal3bv(int v); - public native void normal3dv(int v); - public native void normal3fv(int v); - public native void normal3iv(int v); - public native void normal3sv(int v); - public native void newList(int list, int mode); - public native void endList(); - public native void multMatrixd(int m); - public native void multMatrixf(int m); - public native void prioritizeTextures(int n, int textureNames, int priorities); - public native void shadeModel(int mode); - public native void selectBuffer(int size, int buffer); - public native void scissor(int x, int y, int width, int height); - public native void scaled(double x, double y, double z); - public native void scalef(float x, float y, float z); - public native void rotated(double angle, double x, double y, double z); - public native void rotatef(float angle, float x, float y, float z); - public native int renderMode(int mode); - public native void rectd(double x1, double y1, double x2, double y2); - public native void rectf(float x1, float y1, float x2, float y2); - public native void recti(int x1, int y1, int x2, int y2); - public native void rects(short x1, short y1, short x2, short y2); - public native void rectdv(int v1, int v2); - public native void rectfv(int v1, int v2); - public native void rectiv(int v1, int v2); - public native void rectsv(int v1, int v2); - public native void readPixels(int x, int y, int width, int height, int format, int type, int pixels); - public native void readBuffer(int mode); - public native void rasterPos2d(double x, double y); - public native void rasterPos2f(float x, float y); - public native void rasterPos2i(int x, int y); - public native void rasterPos2s(short x, short y); - public native void rasterPos3d(double x, double y, double z); - public native void rasterPos3f(float x, float y, float z); - public native void rasterPos3i(int x, int y, int z); - public native void rasterPos3s(short x, short y, short z); - public native void rasterPos4d(double x, double y, double z, double w); - public native void rasterPos4f(float x, float y, float z, float w); - public native void rasterPos4i(int x, int y, int z, int w); - public native void rasterPos4s(short x, short y, short z, short w); - public native void rasterPos2dv(int v); - public native void rasterPos2fv(int v); - public native void rasterPos2iv(int v); - public native void rasterPos2sv(int v); - public native void rasterPos3dv(int v); - public native void rasterPos3fv(int v); - public native void rasterPos3iv(int v); - public native void rasterPos3sv(int v); - public native void rasterPos4dv(int v); - public native void rasterPos4fv(int v); - public native void rasterPos4iv(int v); - public native void rasterPos4sv(int v); - public native void pushName(int name); - public native void popName(); - public native void pushMatrix(); - public native void popMatrix(); - public native void pushClientAttrib(int mask); - public native void popClientAttrib(); - public native void pushAttrib(int mask); - public native void popAttrib(); - public native void stencilFunc(int func, int ref, int mask); - public native void vertexPointer(int size, int type, int stride, int pointer); - public native void vertex2d(double x, double y); - public native void vertex2f(float x, float y); - public native void vertex2i(int x, int y); - public native void vertex2s(short x, short y); - public native void vertex3d(double x, double y, double z); - public native void vertex3f(float x, float y, float z); - public native void vertex3i(int x, int y, int z); - public native void vertex3s(short x, short y, short z); - public native void vertex4d(double x, double y, double z, double w); - public native void vertex4f(float x, float y, float z, float w); - public native void vertex4i(int x, int y, int z, int w); - public native void vertex4s(short x, short y, short z, short w); - public native void vertex2dv(int v); - public native void vertex2fv(int v); - public native void vertex2iv(int v); - public native void vertex2sv(int v); - public native void vertex3dv(int v); - public native void vertex3fv(int v); - public native void vertex3iv(int v); - public native void vertex3sv(int v); - public native void vertex4dv(int v); - public native void vertex4fv(int v); - public native void vertex4iv(int v); - public native void vertex4sv(int v); - public native void translated(double x, double y, double z); - public native void translatef(float x, float y, float z); - public native void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int pixels); - public native void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, int pixels); - public native void texParameterf(int target, int pname, float param); - public native void texParameteri(int target, int pname, int param); - public native void texImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, int pixels); - public native void texImage1D(int target, int level, int internalformat, int width, int border, int format, int type, int pixels); - public native void texGend(int coord, int pname, double param); - public native void texGenf(int coord, int pname, float param); - public native void texGeni(int coord, int pname, int param); - public native void texGendv(int coord, int pname, int params); - public native void texGenfv(int coord, int pname, int params); - public native void texGeniv(int coord, int pname, int params); - public native void texEnvf(int target, int pname, float param); - public native void texEnvi(int target, int pname, int param); - public native void texEnvfv(int target, int pname, int params); - public native void texEnviv(int target, int pname, int params); - public native void texCoordPointer(int size, int type, int stride, int pointer); - public native void texCoord1d(double s); - public native void texCoord1f(float s); - public native void texCoord1i(int s); - public native void texCoord1s(short s); - public native void texCoord2d(double s, double t); - public native void texCoord2f(float s, float t); - public native void texCoord2i(int s, int t); - public native void texCoord2s(short s, short t); - public native void texCoord3d(double s, double t, double r); - public native void texCoord3f(float s, float t, float r); - public native void texCoord3i(int s, int t, int r); - public native void texCoord3s(short s, short t, short r); - public native void texCoord4d(double s, double t, double r, double q); - public native void texCoord4f(float s, float t, float r, float q); - public native void texCoord4i(int s, int t, int r, int q); - public native void texCoord4s(short s, short t, short r, short q); - public native void texCoord1dv(int v); - public native void texCoord1fv(int v); - public native void texCoord1iv(int v); - public native void texCoord1sv(int v); - public native void texCoord2dv(int v); - public native void texCoord2fv(int v); - public native void texCoord2iv(int v); - public native void texCoord2sv(int v); - public native void texCoord3dv(int v); - public native void texCoord3fv(int v); - public native void texCoord3iv(int v); - public native void texCoord3sv(int v); - public native void texCoord4dv(int v); - public native void texCoord4fv(int v); - public native void texCoord4iv(int v); - public native void texCoord4sv(int v); - public native void stencilOp(int fail, int zfail, int zpass); - public native void stencilMask(int mask); - public native void viewport(int x, int y, int width, int height); - public native void multiDrawArrays( + public static native void glActiveTexture(int texture); + public static native void glClientActiveTexture(int texture); + public static native void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, Buffer data); + public static native void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data); + public static native void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, Buffer data); + public static native void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, Buffer data); + public static native void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data); + public static native void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, Buffer data); + public static native void glGetCompressedTexImage(int target, int lod, Buffer img); + public static native void glMultiTexCoord1d(int target, double s); + public static native void glMultiTexCoord1dv(int target, int v); + public static native void glMultiTexCoord1f(int target, float s); + public static native void glMultiTexCoord1fv(int target, int v); + public static native void glMultiTexCoord1i(int target, int s); + public static native void glMultiTexCoord1iv(int target, int v); + public static native void glMultiTexCoord1s(int target, short s); + public static native void glMultiTexCoord1sv(int target, int v); + public static native void glMultiTexCoord2d(int target, double s, double t); + public static native void glMultiTexCoord2dv(int target, int v); + public static native void glMultiTexCoord2f(int target, float s, float t); + public static native void glMultiTexCoord2fv(int target, int v); + public static native void glMultiTexCoord2i(int target, int s, int t); + public static native void glMultiTexCoord2iv(int target, int v); + public static native void glMultiTexCoord2s(int target, short s, short t); + public static native void glMultiTexCoord2sv(int target, int v); + public static native void glMultiTexCoord3d(int target, double s, double t, double r); + public static native void glMultiTexCoord3dv(int target, int v); + public static native void glMultiTexCoord3f(int target, float s, float t, float r); + public static native void glMultiTexCoord3fv(int target, int v); + public static native void glMultiTexCoord3i(int target, int s, int t, int r); + public static native void glMultiTexCoord3iv(int target, int v); + public static native void glMultiTexCoord3s(int target, short s, short t, short r); + public static native void glMultiTexCoord3sv(int target, int v); + public static native void glMultiTexCoord4d(int target, double s, double t, double r, double q); + public static native void glMultiTexCoord4dv(int target, int v); + public static native void glMultiTexCoord4f(int target, float s, float t, float r, float q); + public static native void glMultiTexCoord4fv(int target, int v); + public static native void glMultiTexCoord4i(int target, int s, int t, int r, int q); + public static native void glMultiTexCoord4iv(int target, int v); + public static native void glMultiTexCoord4s(int target, short s, short t, short r, short q); + public static native void glMultiTexCoord4sv(int target, int v); + public static native void glLoadTransposeMatrixd(int m); + public static native void glLoadTransposeMatrixf(int m); + public static native void glMultTransposeMatrixd(int m); + public static native void glMultTransposeMatrixf(int m); + public static native void glSampleCoverage(float value, boolean invert); + public static native void glCopyPixels(int x, int y, int width, int height, int type); + public static native void glColorPointer(int size, int type, int stride, Buffer pointer); + public static native void glColorMaterial(int face, int mode); + public static native void glColorMask(boolean red, boolean green, boolean blue, boolean alpha); + public static native void glColor3b(byte red, byte green, byte blue); + public static native void glColor3d(double red, double green, double blue); + public static native void glColor3f(float red, float green, float blue); + public static native void glColor3i(int red, int green, int blue); + public static native void glColor3s(short red, short green, short blue); + public static native void glColor3ub(byte red, byte green, byte blue); + public static native void glColor3ui(int red, int green, int blue); + public static native void glColor3us(short red, short green, short blue); + public static native void glColor4b(byte red, byte green, byte blue, byte alpha); + public static native void glColor4d(double red, double green, double blue, double alpha); + public static native void glColor4f(float red, float green, float blue, float alpha); + public static native void glColor4i(int red, int green, int blue, int alpha); + public static native void glColor4s(short red, short green, short blue, short alpha); + public static native void glColor4ub(byte red, byte green, byte blue, byte alpha); + public static native void glColor4ui(int red, int green, int blue, int alpha); + public static native void glColor4us(short red, short green, short blue, short alpha); + public static native void glColor3bv(ByteBuffer v); + public static native void glColor3dv(DoubleBuffer v); + public static native void glColor3fv(FloatBuffer v); + public static native void glColor3iv(IntBuffer v); + public static native void glColor3sv(CharBuffer v); + public static native void glColor3ubv(ByteBuffer v); + public static native void glColor3uiv(IntBuffer v); + public static native void glColor3usv(CharBuffer v); + public static native void glColor4bv(ByteBuffer v); + public static native void glColor4dv(DoubleBuffer v); + public static native void glColor4fv(FloatBuffer v); + public static native void glColor4iv(IntBuffer v); + public static native void glColor4sv(CharBuffer v); + public static native void glColor4ubv(ByteBuffer v); + public static native void glColor4uiv(IntBuffer v); + public static native void glClipPlane(int plane, DoubleBuffer equation); + public static native void glClearStencil(int s); + public static native void glClearIndex(float c); + public static native void glEvalPoint1(int i); + public static native void glEvalPoint2(int i, int j); + public static native void glEvalMesh1(int mode, int i1, int i2); + public static native void glEvalMesh2(int mode, int i1, int i2, int j1, int j2); + public static native void glEvalCoord1d(double u); + public static native void glEvalCoord1f(float u); + public static native void glEvalCoord2d(double u, double v); + public static native void glEvalCoord2f(float u, float v); + public static native void glEvalCoord1dv(DoubleBuffer u); + public static native void glEvalCoord1fv(FloatBuffer u); + public static native void glEvalCoord2dv(DoubleBuffer u); + public static native void glEvalCoord2fv(FloatBuffer u); + public static native void glEnableClientState(int cap); + public static native void glDisableClientState(int cap); + public static native void glEnable(int cap); + public static native void glDisable(int cap); + public static native void glEdgeFlagPointer(int stride, Buffer pointer); + public static native void glEdgeFlag(boolean flag); + public static native void glEdgeFlagv(ByteBuffer flag); + public static native void glDrawPixels(int width, int height, int format, int type, Buffer pixels); + public static native void glDrawElements(int mode, int count, int type, Buffer indices); + public static native void glDrawBuffer(int mode); + public static native void glDrawArrays(int mode, int first, int count); + public static native void glDepthRange(double zNear, double zFar); + public static native void glDepthMask(boolean flag); + public static native void glDepthFunc(int func); + public static native void glFeedbackBuffer(int size, int type, FloatBuffer buffer); + public static native void glGetPixelMapfv(int map, FloatBuffer values); + public static native void glGetPixelMapuiv(int map, IntBuffer values); + public static native void glGetPixelMapusv(int map, CharBuffer values); + public static native void glGetMaterialfv(int face, int pname, FloatBuffer params); + public static native void glGetMaterialiv(int face, int pname, IntBuffer params); + public static native void glGetMapdv(int target, int query, DoubleBuffer v); + public static native void glGetMapfv(int target, int query, FloatBuffer v); + public static native void glGetMapiv(int target, int query, IntBuffer v); + public static native void glGetLightfv(int light, int pname, FloatBuffer params); + public static native void glGetLightiv(int light, int pname, IntBuffer params); + public static native int glGetError(); + public static native void glGetClipPlane(int plane, int equation); + public static native void glGetBooleanv(int pname, ByteBuffer params); + public static native void glGetDoublev(int pname, DoubleBuffer params); + public static native void glGetFloatv(int pname, FloatBuffer params); + public static native void glGetIntegerv(int pname, IntBuffer params); + public static native void glGenTextures(int n, IntBuffer textures); + public static native int glGenLists(int range); + public static native void glFrustum(double left, double right, double bottom, double top, double zNear, double zFar); + public static native void glFrontFace(int mode); + public static native void glFogf(int pname, float param); + public static native void glFogi(int pname, int param); + public static native void glFogfv(int pname, FloatBuffer params); + public static native void glFogiv(int pname, IntBuffer params); + public static native void glFlush(); + public static native void glFinish(); + /** + * Fetch a pointer from OpenGL. Will return a ByteBuffer representing the pointer, where + * the size argument specifies the buffer size in bytes. + * + * @param size The size of the memory area pointed to. This is the size of the returned ByteBuffer. + * @return The ByteBuffer of the specified size pointing to the returned address. + */ + public static native ByteBuffer glGetPointerv(int pname, int size); + public static native boolean glIsEnabled(int cap); + public static native void glInterleavedArrays(int format, int stride, Buffer pointer); + public static native void glInitNames(); + public static native void glIndexPointer(int type, int stride, Buffer pointer); + public static native void glIndexMask(int mask); + public static native void glIndexd(double c); + public static native void glIndexf(float c); + public static native void glIndexi(int c); + public static native void glIndexs(short c); + public static native void glIndexub(byte c); + public static native void glIndexdv(DoubleBuffer c); + public static native void glIndexfv(FloatBuffer c); + public static native void glIndexiv(IntBuffer c); + public static native void glIndexsv(CharBuffer c); + public static native void glIndexubv(ByteBuffer c); + public static native void glHint(int target, int mode); + public static native void glGetTexParameterfv(int target, int pname, FloatBuffer params); + public static native void glGetTexParameteriv(int target, int pname, IntBuffer params); + public static native void glGetTexLevelParameterfv(int target, int level, int pname, FloatBuffer params); + public static native void glGetTexLevelParameteriv(int target, int level, int pname, IntBuffer params); + public static native void glGetTexImage(int target, int level, int format, int type, Buffer pixels); + public static native void glGetTexGendv(int coord, int pname, DoubleBuffer params); + public static native void glGetTexGenfv(int coord, int pname, FloatBuffer params); + public static native void glGetTexGeniv(int coord, int pname, IntBuffer params); + public static native void glGetTexEnvfv(int target, int pname, FloatBuffer params); + public static native void glGetTexEnviv(int target, int pname, IntBuffer params); + public static native String glGetString(int name); + public static native void glGetPolygonStipple(ByteBuffer mask); + public static native boolean glIsList(int list); + public static native void glMaterialf(int face, int pname, float param); + public static native void glMateriali(int face, int pname, int param); + public static native void glMaterialfv(int face, int pname, FloatBuffer params); + public static native void glMaterialiv(int face, int pname, IntBuffer params); + public static native void glMapGrid1d(int un, double u1, double u2); + public static native void glMapGrid1f(int un, float u1, float u2); + public static native void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2); + public static native void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2); + public static native void glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, DoubleBuffer points); + public static native void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, FloatBuffer points); + public static native void glMap1d(int target, double u1, double u2, int stride, int order, DoubleBuffer points); + public static native void glMap1f(int target, float u1, float u2, int stride, int order, FloatBuffer points); + public static native void glLogicOp(int opcode); + public static native void glLoadName(int name); + public static native void glLoadMatrixd(DoubleBuffer m); + public static native void glLoadMatrixf(FloatBuffer m); + public static native void glLoadIdentity(); + public static native void glListBase(int base); + public static native void glLineWidth(float width); + public static native void glLineStipple(int factor, short pattern); + public static native void glLightModelf(int pname, float param); + public static native void glLightModeli(int pname, int param); + public static native void glLightModelfv(int pname, FloatBuffer params); + public static native void glLightModeliv(int pname, IntBuffer params); + public static native void glLightf(int light, int pname, float param); + public static native void glLighti(int light, int pname, int param); + public static native void glLightfv(int light, int pname, FloatBuffer params); + public static native void glLightiv(int light, int pname, IntBuffer params); + public static native boolean glIsTexture(int texture); + public static native void glMatrixMode(int mode); + public static native void glPolygonStipple(ByteBuffer mask); + public static native void glPolygonOffset(float factor, float units); + public static native void glPolygonMode(int face, int mode); + public static native void glPointSize(float size); + public static native void glPixelZoom(float xfactor, float yfactor); + public static native void glPixelTransferf(int pname, float param); + public static native void glPixelTransferi(int pname, int param); + public static native void glPixelStoref(int pname, float param); + public static native void glPixelStorei(int pname, int param); + public static native void glPixelMapfv(int map, int mapsize, FloatBuffer values); + public static native void glPixelMapuiv(int map, int mapsize, IntBuffer values); + public static native void glPixelMapusv(int map, int mapsize, CharBuffer values); + public static native void glPassThrough(float token); + public static native void glOrtho(double left, double right, double bottom, double top, double zNear, double zFar); + public static native void glNormalPointer(int type, int stride, Buffer pointer); + public static native void glNormal3b(byte nx, byte ny, byte nz); + public static native void glNormal3d(double nx, double ny, double nz); + public static native void glNormal3f(float nx, float ny, float nz); + public static native void glNormal3i(int nx, int ny, int nz); + public static native void glNormal3s(short nx, short ny, short nz); + public static native void glNormal3bv(ByteBuffer v); + public static native void glNormal3dv(DoubleBuffer v); + public static native void glNormal3fv(FloatBuffer v); + public static native void glNormal3iv(IntBuffer v); + public static native void glNormal3sv(CharBuffer v); + public static native void glNewList(int list, int mode); + public static native void glEndList(); + public static native void glMultMatrixd(DoubleBuffer m); + public static native void glMultMatrixf(FloatBuffer m); + public static native void glPrioritizeTextures(int n, IntBuffer textureNames, FloatBuffer priorities); + public static native void glShadeModel(int mode); + public static native void glSelectBuffer(int size, IntBuffer buffer); + public static native void glScissor(int x, int y, int width, int height); + public static native void glScaled(double x, double y, double z); + public static native void glScalef(float x, float y, float z); + public static native void glRotated(double angle, double x, double y, double z); + public static native void glRotatef(float angle, float x, float y, float z); + public static native int glRenderMode(int mode); + public static native void glRectd(double x1, double y1, double x2, double y2); + public static native void glRectf(float x1, float y1, float x2, float y2); + public static native void glRecti(int x1, int y1, int x2, int y2); + public static native void glRects(short x1, short y1, short x2, short y2); + public static native void glRectdv(DoubleBuffer v1, DoubleBuffer v2); + public static native void glRectfv(FloatBuffer v1, FloatBuffer v2); + public static native void glRectiv(IntBuffer v1, IntBuffer v2); + public static native void glRectsv(CharBuffer v1, CharBuffer v2); + public static native void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels); + public static native void glReadBuffer(int mode); + public static native void glRasterPos2d(double x, double y); + public static native void glRasterPos2f(float x, float y); + public static native void glRasterPos2i(int x, int y); + public static native void glRasterPos2s(short x, short y); + public static native void glRasterPos3d(double x, double y, double z); + public static native void glRasterPos3f(float x, float y, float z); + public static native void glRasterPos3i(int x, int y, int z); + public static native void glRasterPos3s(short x, short y, short z); + public static native void glRasterPos4d(double x, double y, double z, double w); + public static native void glRasterPos4f(float x, float y, float z, float w); + public static native void glRasterPos4i(int x, int y, int z, int w); + public static native void glRasterPos4s(short x, short y, short z, short w); + public static native void glRasterPos2dv(DoubleBuffer v); + public static native void glRasterPos2fv(FloatBuffer v); + public static native void glRasterPos2iv(IntBuffer v); + public static native void glRasterPos2sv(CharBuffer v); + public static native void glRasterPos3dv(DoubleBuffer v); + public static native void glRasterPos3fv(FloatBuffer v); + public static native void glRasterPos3iv(IntBuffer v); + public static native void glRasterPos3sv(CharBuffer v); + public static native void glRasterPos4dv(DoubleBuffer v); + public static native void glRasterPos4fv(FloatBuffer v); + public static native void glRasterPos4iv(IntBuffer v); + public static native void glRasterPos4sv(CharBuffer v); + public static native void glPushName(int name); + public static native void glPopName(); + public static native void glPushMatrix(); + public static native void glPopMatrix(); + public static native void glPushClientAttrib(int mask); + public static native void glPopClientAttrib(); + public static native void glPushAttrib(int mask); + public static native void glPopAttrib(); + public static native void glStencilFunc(int func, int ref, int mask); + public static native void glVertexPointer(int size, int type, int stride, Buffer pointer); + public static native void glVertex2d(double x, double y); + public static native void glVertex2f(float x, float y); + public static native void glVertex2i(int x, int y); + public static native void glVertex2s(short x, short y); + public static native void glVertex3d(double x, double y, double z); + public static native void glVertex3f(float x, float y, float z); + public static native void glVertex3i(int x, int y, int z); + public static native void glVertex3s(short x, short y, short z); + public static native void glVertex4d(double x, double y, double z, double w); + public static native void glVertex4f(float x, float y, float z, float w); + public static native void glVertex4i(int x, int y, int z, int w); + public static native void glVertex4s(short x, short y, short z, short w); + public static native void glVertex2dv(DoubleBuffer v); + public static native void glVertex2fv(FloatBuffer v); + public static native void glVertex2iv(IntBuffer v); + public static native void glVertex2sv(CharBuffer v); + public static native void glVertex3dv(DoubleBuffer v); + public static native void glVertex3fv(FloatBuffer v); + public static native void glVertex3iv(IntBuffer v); + public static native void glVertex3sv(CharBuffer v); + public static native void glVertex4dv(DoubleBuffer v); + public static native void glVertex4fv(FloatBuffer v); + public static native void glVertex4iv(IntBuffer v); + public static native void glVertex4sv(CharBuffer v); + public static native void glTranslated(double x, double y, double z); + public static native void glTranslatef(float x, float y, float z); + public static native void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels); + public static native void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, Buffer pixels); + public static native void glTexParameterf(int target, int pname, float param); + public static native void glTexParameteri(int target, int pname, int param); + public static native void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels); + public static native void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, Buffer pixels); + public static native void glTexGend(int coord, int pname, double param); + public static native void glTexGenf(int coord, int pname, float param); + public static native void glTexGeni(int coord, int pname, int param); + public static native void glTexGendv(int coord, int pname, DoubleBuffer params); + public static native void glTexGenfv(int coord, int pname, FloatBuffer params); + public static native void glTexGeniv(int coord, int pname, IntBuffer params); + public static native void glTexEnvf(int target, int pname, float param); + public static native void glTexEnvi(int target, int pname, int param); + public static native void glTexEnvfv(int target, int pname, FloatBuffer params); + public static native void glTexEnviv(int target, int pname, IntBuffer params); + public static native void glTexCoordPointer(int size, int type, int stride, Buffer pointer); + public static native void glTexCoord1d(double s); + public static native void glTexCoord1f(float s); + public static native void glTexCoord1i(int s); + public static native void glTexCoord1s(short s); + public static native void glTexCoord2d(double s, double t); + public static native void glTexCoord2f(float s, float t); + public static native void glTexCoord2i(int s, int t); + public static native void glTexCoord2s(short s, short t); + public static native void glTexCoord3d(double s, double t, double r); + public static native void glTexCoord3f(float s, float t, float r); + public static native void glTexCoord3i(int s, int t, int r); + public static native void glTexCoord3s(short s, short t, short r); + public static native void glTexCoord4d(double s, double t, double r, double q); + public static native void glTexCoord4f(float s, float t, float r, float q); + public static native void glTexCoord4i(int s, int t, int r, int q); + public static native void glTexCoord4s(short s, short t, short r, short q); + public static native void glTexCoord1dv(DoubleBuffer v); + public static native void glTexCoord1fv(FloatBuffer v); + public static native void glTexCoord1iv(IntBuffer v); + public static native void glTexCoord1sv(CharBuffer v); + public static native void glTexCoord2dv(DoubleBuffer v); + public static native void glTexCoord2fv(FloatBuffer v); + public static native void glTexCoord2iv(IntBuffer v); + public static native void glTexCoord2sv(CharBuffer v); + public static native void glTexCoord3dv(DoubleBuffer v); + public static native void glTexCoord3fv(FloatBuffer v); + public static native void glTexCoord3iv(IntBuffer v); + public static native void glTexCoord3sv(CharBuffer v); + public static native void glTexCoord4dv(DoubleBuffer v); + public static native void glTexCoord4fv(FloatBuffer v); + public static native void glTexCoord4iv(IntBuffer v); + public static native void glTexCoord4sv(CharBuffer v); + public static native void glStencilOp(int fail, int zfail, int zpass); + public static native void glStencilMask(int mask); + public static native void glViewport(int x, int y, int width, int height); + public static native void glMultiDrawArrays( int mode, - int piFirst, - int piCount, + ByteBuffer piFirst, + ByteBuffer piCount, int primcount); - public native void multiDrawElements( +/* public static native void glMultiDrawElements( int mode, int piCount, int type, int pIndices, - int primcount); + int primcount);*/ } Index: CoreGLConstants.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGLConstants.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGLConstants.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- CoreGLConstants.java 28 Apr 2003 16:41:39 -0000 1.6 +++ CoreGLConstants.java 24 Jun 2003 12:24:54 -0000 1.7 @@ -42,81 +42,81 @@ */ public interface CoreGLConstants { /* AccumOp */ - public static final int ACCUM = 0x0100; - public static final int LOAD = 0x0101; - public static final int RETURN = 0x0102; - public static final int MULT = 0x0103; - public static final int ADD = 0x0104; + public static final int GL_ACCUM = 0x0100; + public static final int GL_LOAD = 0x0101; + public static final int GL_RETURN = 0x0102; [...1799 lines suppressed...] - public static final int MAX_ELEMENTS_INDICES_WIN = 0x80E9; + public static final int GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8; + public static final int GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9; /* WIN_phong_shading */ - public static final int PHONG_WIN = 0x80EA ; - public static final int PHONG_HINT_WIN = 0x80EB ; + public static final int GL_PHONG_WIN = 0x80EA ; + public static final int GL_PHONG_HINT_... [truncated message content] |