Separated CoreGL into CoreGL11, CoreGL12. CoreGL13, CoreGL14 (including CoreGLConstants)
This commit is contained in:
parent
2579413a64
commit
8c7e2e4da2
|
@ -40,55 +40,22 @@ import java.nio.DoubleBuffer;
|
||||||
import java.nio.Buffer;
|
import java.nio.Buffer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* $Id$
|
* $Id: CoreGL.java,v 1.23 2003/07/23 14:51:19 elias_naur Exp $
|
||||||
*
|
*
|
||||||
* The core OpenGL1.4 API, with no extensions.
|
* The core OpenGL1.1 API.
|
||||||
*
|
*
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision: 1.23 $
|
||||||
*/
|
*/
|
||||||
public class CoreGL implements CoreGLConstants {
|
public class CoreGL11 implements CoreGL11Constants {
|
||||||
public static native void glAccum(int op, float value);
|
public static native void glAccum(int op, float value);
|
||||||
public static native void glAlphaFunc(int func, float ref);
|
public static native void glAlphaFunc(int func, float ref);
|
||||||
public static native void glColorTable(
|
|
||||||
int target,
|
|
||||||
int internalFormat,
|
|
||||||
int width,
|
|
||||||
int format,
|
|
||||||
int type,
|
|
||||||
Buffer data);
|
|
||||||
|
|
||||||
public static native void glColorSubTable(
|
|
||||||
int target,
|
|
||||||
int start,
|
|
||||||
int count,
|
|
||||||
int format,
|
|
||||||
int type,
|
|
||||||
Buffer data);
|
|
||||||
|
|
||||||
public static native void glGetColorTable(
|
|
||||||
int target,
|
|
||||||
int format,
|
|
||||||
int type,
|
|
||||||
Buffer data);
|
|
||||||
|
|
||||||
public static native void glGetColorTableParameteriv(
|
|
||||||
int target,
|
|
||||||
int pname,
|
|
||||||
IntBuffer params);
|
|
||||||
|
|
||||||
public static native void glGetColorTableParameterfv(
|
|
||||||
int target,
|
|
||||||
int pname,
|
|
||||||
FloatBuffer params);
|
|
||||||
|
|
||||||
public static native void glClearColor(float red, float green, float blue, float alpha);
|
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 glClearAccum(float red, float green, float blue, float alpha);
|
||||||
public static native void glClear(int mask);
|
public static native void glClear(int mask);
|
||||||
public static native void glCallLists(int n, int type, Buffer lists);
|
public static native void glCallLists(int n, int type, Buffer lists);
|
||||||
public static native void glCallList(int list);
|
public static native void glCallList(int list);
|
||||||
public static native void glBlendFunc(int sfactor, int dfactor);
|
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 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 glBindTexture(int target, int texture);
|
||||||
public static native void glBegin(int mode);
|
public static native void glBegin(int mode);
|
||||||
|
@ -103,70 +70,6 @@ public class CoreGL implements CoreGLConstants {
|
||||||
public static native void glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width);
|
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 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);
|
public static native void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border);
|
||||||
/* OpenGL 1.2 functions */
|
|
||||||
public static native void glColorTableParameteriv(int target, int pname, IntBuffer params);
|
|
||||||
public static native void glColorTableParameterfv(int target, int pname, FloatBuffer 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 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 glMultiTexCoord1f(int target, float s);
|
|
||||||
public static native void glMultiTexCoord1i(int target, int s);
|
|
||||||
public static native void glMultiTexCoord1s(int target, short s);
|
|
||||||
public static native void glMultiTexCoord2d(int target, double s, double t);
|
|
||||||
public static native void glMultiTexCoord2f(int target, float s, float t);
|
|
||||||
public static native void glMultiTexCoord2i(int target, int s, int t);
|
|
||||||
public static native void glMultiTexCoord2s(int target, short s, short t);
|
|
||||||
public static native void glMultiTexCoord3d(int target, double s, double t, double r);
|
|
||||||
public static native void glMultiTexCoord3f(int target, float s, float t, float r);
|
|
||||||
public static native void glMultiTexCoord3i(int target, int s, int t, int r);
|
|
||||||
public static native void glMultiTexCoord3s(int target, short s, short t, short r);
|
|
||||||
public static native void glMultiTexCoord4d(int target, double s, double t, double r, double q);
|
|
||||||
public static native void glMultiTexCoord4f(int target, float s, float t, float r, float q);
|
|
||||||
public static native void glMultiTexCoord4i(int target, int s, int t, int r, int q);
|
|
||||||
public static native void glMultiTexCoord4s(int target, short s, short t, short r, short q);
|
|
||||||
public static native void glLoadTransposeMatrixd(DoubleBuffer m);
|
|
||||||
public static native void glLoadTransposeMatrixf(FloatBuffer m);
|
|
||||||
public static native void glMultTransposeMatrixd(DoubleBuffer m);
|
|
||||||
public static native void glMultTransposeMatrixf(FloatBuffer 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 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 glColorPointer(int size, int type, int stride, Buffer pointer);
|
||||||
public static native void glColorMaterial(int face, int mode);
|
public static native void glColorMaterial(int face, int mode);
|
||||||
|
@ -411,18 +314,6 @@ public class CoreGL implements CoreGLConstants {
|
||||||
public static native void glStencilOp(int fail, int zfail, int zpass);
|
public static native void glStencilOp(int fail, int zfail, int zpass);
|
||||||
public static native void glStencilMask(int mask);
|
public static native void glStencilMask(int mask);
|
||||||
public static native void glViewport(int x, int y, int width, int height);
|
public static native void glViewport(int x, int y, int width, int height);
|
||||||
public static native void glMultiDrawArrays(
|
|
||||||
int mode,
|
|
||||||
IntBuffer piFirst,
|
|
||||||
IntBuffer piCount,
|
|
||||||
int primcount);
|
|
||||||
|
|
||||||
/* public static native void glMultiDrawElements(
|
|
||||||
int mode,
|
|
||||||
int piCount,
|
|
||||||
int type,
|
|
||||||
int pIndices,
|
|
||||||
int primcount);*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public interface CoreGLConstants {
|
public interface CoreGL11Constants {
|
||||||
/* AccumOp */
|
/* AccumOp */
|
||||||
public static final int GL_ACCUM = 0x0100;
|
public static final int GL_ACCUM = 0x0100;
|
||||||
public static final int GL_LOAD = 0x0101;
|
public static final int GL_LOAD = 0x0101;
|
||||||
|
@ -109,6 +109,11 @@ public interface CoreGLConstants {
|
||||||
public static final int GL_DST_COLOR = 0x0306;
|
public static final int GL_DST_COLOR = 0x0306;
|
||||||
public static final int GL_ONE_MINUS_DST_COLOR = 0x0307;
|
public static final int GL_ONE_MINUS_DST_COLOR = 0x0307;
|
||||||
public static final int GL_SRC_ALPHA_SATURATE = 0x0308;
|
public static final int GL_SRC_ALPHA_SATURATE = 0x0308;
|
||||||
|
public static final int GL_CONSTANT_COLOR = 0x8001;
|
||||||
|
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
|
||||||
|
public static final int GL_CONSTANT_ALPHA = 0x8003;
|
||||||
|
public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
|
||||||
|
|
||||||
/* GL_SRC_ALPHA */
|
/* GL_SRC_ALPHA */
|
||||||
/* GL_ONE_MINUS_SRC_ALPHA */
|
/* GL_ONE_MINUS_SRC_ALPHA */
|
||||||
/* GL_DST_ALPHA */
|
/* GL_DST_ALPHA */
|
||||||
|
@ -175,9 +180,9 @@ public interface CoreGLConstants {
|
||||||
public static final int GL_INT = 0x1404;
|
public static final int GL_INT = 0x1404;
|
||||||
public static final int GL_UNSIGNED_INT = 0x1405;
|
public static final int GL_UNSIGNED_INT = 0x1405;
|
||||||
public static final int GL_FLOAT = 0x1406;
|
public static final int GL_FLOAT = 0x1406;
|
||||||
public static final int GL__2_BYTES = 0x1407;
|
public static final int GL_2_BYTES = 0x1407;
|
||||||
public static final int GL__3_BYTES = 0x1408;
|
public static final int GL_3_BYTES = 0x1408;
|
||||||
public static final int GL__4_BYTES = 0x1409;
|
public static final int GL_4_BYTES = 0x1409;
|
||||||
public static final int GL_DOUBLE = 0x140A;
|
public static final int GL_DOUBLE = 0x140A;
|
||||||
|
|
||||||
/* DepthFunction */
|
/* DepthFunction */
|
||||||
|
@ -284,11 +289,11 @@ public interface CoreGLConstants {
|
||||||
public static final int GL_OUT_OF_MEMORY = 0x0505;
|
public static final int GL_OUT_OF_MEMORY = 0x0505;
|
||||||
|
|
||||||
/* FeedBackMode */
|
/* FeedBackMode */
|
||||||
public static final int GL__2D = 0x0600;
|
public static final int GL_2D = 0x0600;
|
||||||
public static final int GL__3D = 0x0601;
|
public static final int GL_3D = 0x0601;
|
||||||
public static final int GL__3D_COLOR = 0x0602;
|
public static final int GL_3D_COLOR = 0x0602;
|
||||||
public static final int GL__3D_COLOR_TEXTURE = 0x0603;
|
public static final int GL_3D_COLOR_TEXTURE = 0x0603;
|
||||||
public static final int GL__4D_COLOR_TEXTURE = 0x0604;
|
public static final int GL_4D_COLOR_TEXTURE = 0x0604;
|
||||||
|
|
||||||
/* FeedBackToken */
|
/* FeedBackToken */
|
||||||
public static final int GL_PASS_THROUGH_TOKEN = 0x0700;
|
public static final int GL_PASS_THROUGH_TOKEN = 0x0700;
|
||||||
|
@ -926,227 +931,6 @@ public interface CoreGLConstants {
|
||||||
/* GL_TEXTURE_BORDER_COLOR */
|
/* GL_TEXTURE_BORDER_COLOR */
|
||||||
/* GL_TEXTURE_PRIORITY */
|
/* GL_TEXTURE_PRIORITY */
|
||||||
|
|
||||||
/* OpenGL 1.2 constants */
|
|
||||||
public static final int GL_RESCALE_NORMAL = 0x803A;
|
|
||||||
public static final int GL_CLAMP_TO_EDGE = 0x812F;
|
|
||||||
public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
|
|
||||||
public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9;
|
|
||||||
public static final int GL_BGR = 0x80E0;
|
|
||||||
public static final int GL_BGRA = 0x80E1;
|
|
||||||
public static final int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
|
|
||||||
public static final int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
|
|
||||||
public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
|
|
||||||
public static final int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
|
|
||||||
public static final int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
|
|
||||||
public static final int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
|
|
||||||
public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
|
|
||||||
public static final int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
|
|
||||||
public static final int GL_SINGLE_COLOR = 0x81F9;
|
|
||||||
public static final int GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
|
|
||||||
public static final int GL_TEXTURE_MIN_LOD = 0x813A;
|
|
||||||
public static final int GL_TEXTURE_MAX_LOD = 0x813B;
|
|
||||||
public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
|
|
||||||
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
|
|
||||||
public static final int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
|
|
||||||
public static final int GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13;
|
|
||||||
public static final int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
|
|
||||||
public static final int GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23;
|
|
||||||
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
|
|
||||||
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
|
|
||||||
public static final int GL_PACK_SKIP_IMAGES = 0x806B;
|
|
||||||
public static final int GL_PACK_IMAGE_HEIGHT = 0x806C;
|
|
||||||
public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
|
|
||||||
public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E;
|
|
||||||
public static final int GL_TEXTURE_3D = 0x806F;
|
|
||||||
public static final int GL_PROXY_TEXTURE_3D = 0x8070;
|
|
||||||
public static final int GL_TEXTURE_DEPTH = 0x8071;
|
|
||||||
public static final int GL_TEXTURE_WRAP_R = 0x8072;
|
|
||||||
public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073;
|
|
||||||
public static final int GL_TEXTURE_BINDING_3D = 0x806A;
|
|
||||||
public static final int GL_COLOR_TABLE = 0x80D0;
|
|
||||||
public static final int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2;
|
|
||||||
public static final int GL_PROXY_COLOR_TABLE = 0x80D3;
|
|
||||||
public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4;
|
|
||||||
public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5;
|
|
||||||
public static final int GL_COLOR_TABLE_SCALE = 0x80D6;
|
|
||||||
public static final int GL_COLOR_TABLE_BIAS = 0x80D7;
|
|
||||||
public static final int GL_COLOR_TABLE_FORMAT = 0x80D8;
|
|
||||||
public static final int GL_COLOR_TABLE_WIDTH = 0x80D9;
|
|
||||||
public static final int GL_COLOR_TABLE_RED_SIZE = 0x80DA;
|
|
||||||
public static final int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB;
|
|
||||||
public static final int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC;
|
|
||||||
public static final int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD;
|
|
||||||
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE;
|
|
||||||
public static final int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF;
|
|
||||||
public static final int GL_CONVOLUTION_1D = 0x8010;
|
|
||||||
public static final int GL_CONVOLUTION_2D = 0x8011;
|
|
||||||
public static final int GL_SEPARABLE_2D = 0x8012;
|
|
||||||
public static final int GL_CONVOLUTION_BORDER_MODE = 0x8013;
|
|
||||||
public static final int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
|
|
||||||
public static final int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
|
|
||||||
public static final int GL_REDUCE = 0x8016;
|
|
||||||
public static final int GL_CONVOLUTION_FORMAT = 0x8017;
|
|
||||||
public static final int GL_CONVOLUTION_WIDTH = 0x8018;
|
|
||||||
public static final int GL_CONVOLUTION_HEIGHT = 0x8019;
|
|
||||||
public static final int GL_MAX_CONVOLUTION_WIDTH = 0x801A;
|
|
||||||
public static final int GL_MAX_CONVOLUTION_HEIGHT = 0x801B;
|
|
||||||
public static final int GL_POST_CONVOLUTION_RED_SCALE = 0x801C;
|
|
||||||
public static final int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D;
|
|
||||||
public static final int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E;
|
|
||||||
public static final int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F;
|
|
||||||
public static final int GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
|
|
||||||
public static final int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
|
|
||||||
public static final int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
|
|
||||||
public static final int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
|
|
||||||
public static final int GL_CONSTANT_BORDER = 0x8151;
|
|
||||||
public static final int GL_REPLICATE_BORDER = 0x8153;
|
|
||||||
public static final int GL_CONVOLUTION_BORDER_COLOR = 0x8154;
|
|
||||||
public static final int GL_COLOR_MATRIX = 0x80B1;
|
|
||||||
public static final int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2;
|
|
||||||
public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA;
|
|
||||||
public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB;
|
|
||||||
public static final int GL_HISTOGRAM = 0x8024;
|
|
||||||
public static final int GL_PROXY_HISTOGRAM = 0x8025;
|
|
||||||
public static final int GL_HISTOGRAM_WIDTH = 0x8026;
|
|
||||||
public static final int GL_HISTOGRAM_FORMAT = 0x8027;
|
|
||||||
public static final int GL_HISTOGRAM_RED_SIZE = 0x8028;
|
|
||||||
public static final int GL_HISTOGRAM_GREEN_SIZE = 0x8029;
|
|
||||||
public static final int GL_HISTOGRAM_BLUE_SIZE = 0x802A;
|
|
||||||
public static final int GL_HISTOGRAM_ALPHA_SIZE = 0x802B;
|
|
||||||
public static final int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C;
|
|
||||||
public static final int GL_HISTOGRAM_SINK = 0x802D;
|
|
||||||
public static final int GL_MINMAX = 0x802E;
|
|
||||||
public static final int GL_MINMAX_FORMAT = 0x802F;
|
|
||||||
public static final int GL_MINMAX_SINK = 0x8030;
|
|
||||||
public static final int GL_TABLE_TOO_LARGE = 0x8031;
|
|
||||||
public static final int GL_BLEND_EQUATION = 0x8009;
|
|
||||||
public static final int GL_MIN = 0x8007;
|
|
||||||
public static final int GL_MAX = 0x8008;
|
|
||||||
public static final int GL_FUNC_ADD = 0x8006;
|
|
||||||
public static final int GL_FUNC_SUBTRACT = 0x800A;
|
|
||||||
public static final int GL_FUNC_REVERSE_SUBTRACT = 0x800B;
|
|
||||||
public static final int GL_BLEND_COLOR = 0x8005;
|
|
||||||
public static final int GL_CONSTANT_COLOR = 0x8001;
|
|
||||||
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
|
|
||||||
public static final int GL_CONSTANT_ALPHA = 0x8003;
|
|
||||||
public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
|
|
||||||
|
|
||||||
/* OpenGL 1.3 constants */
|
|
||||||
public static final int GL_TEXTURE0 = 0x84C0;
|
|
||||||
public static final int GL_TEXTURE1 = 0x84C1;
|
|
||||||
public static final int GL_TEXTURE2 = 0x84C2;
|
|
||||||
public static final int GL_TEXTURE3 = 0x84C3;
|
|
||||||
public static final int GL_TEXTURE4 = 0x84C4;
|
|
||||||
public static final int GL_TEXTURE5 = 0x84C5;
|
|
||||||
public static final int GL_TEXTURE6 = 0x84C6;
|
|
||||||
public static final int GL_TEXTURE7 = 0x84C7;
|
|
||||||
public static final int GL_TEXTURE8 = 0x84C8;
|
|
||||||
public static final int GL_TEXTURE9 = 0x84C9;
|
|
||||||
public static final int GL_TEXTURE10 = 0x84CA;
|
|
||||||
public static final int GL_TEXTURE11 = 0x84CB;
|
|
||||||
public static final int GL_TEXTURE12 = 0x84CC;
|
|
||||||
public static final int GL_TEXTURE13 = 0x84CD;
|
|
||||||
public static final int GL_TEXTURE14 = 0x84CE;
|
|
||||||
public static final int GL_TEXTURE15 = 0x84CF;
|
|
||||||
public static final int GL_TEXTURE16 = 0x84D0;
|
|
||||||
public static final int GL_TEXTURE17 = 0x84D1;
|
|
||||||
public static final int GL_TEXTURE18 = 0x84D2;
|
|
||||||
public static final int GL_TEXTURE19 = 0x84D3;
|
|
||||||
public static final int GL_TEXTURE20 = 0x84D4;
|
|
||||||
public static final int GL_TEXTURE21 = 0x84D5;
|
|
||||||
public static final int GL_TEXTURE22 = 0x84D6;
|
|
||||||
public static final int GL_TEXTURE23 = 0x84D7;
|
|
||||||
public static final int GL_TEXTURE24 = 0x84D8;
|
|
||||||
public static final int GL_TEXTURE25 = 0x84D9;
|
|
||||||
public static final int GL_TEXTURE26 = 0x84DA;
|
|
||||||
public static final int GL_TEXTURE27 = 0x84DB;
|
|
||||||
public static final int GL_TEXTURE28 = 0x84DC;
|
|
||||||
public static final int GL_TEXTURE29 = 0x84DD;
|
|
||||||
public static final int GL_TEXTURE30 = 0x84DE;
|
|
||||||
public static final int GL_TEXTURE31 = 0x84DF;
|
|
||||||
public static final int GL_ACTIVE_TEXTURE = 0x84E0;
|
|
||||||
public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
|
|
||||||
public static final int GL_MAX_TEXTURE_UNITS = 0x84E2;
|
|
||||||
|
|
||||||
public static final int GL_NORMAL_MAP = 0x8511;
|
|
||||||
public static final int GL_REFLECTION_MAP = 0x8512;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP = 0x8513;
|
|
||||||
public static final int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
|
|
||||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
|
|
||||||
public static final int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
|
|
||||||
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
|
|
||||||
|
|
||||||
public static final int GL_COMPRESSED_ALPHA = 0x84E9;
|
|
||||||
public static final int GL_COMPRESSED_LUMINANCE = 0x84EA;
|
|
||||||
public static final int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
|
|
||||||
public static final int GL_COMPRESSED_INTENSITY = 0x84EC;
|
|
||||||
public static final int GL_COMPRESSED_RGB = 0x84ED;
|
|
||||||
public static final int GL_COMPRESSED_RGBA = 0x84EE;
|
|
||||||
public static final int GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
|
|
||||||
public static final int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
|
|
||||||
public static final int GL_TEXTURE_COMPRESSED = 0x86A1;
|
|
||||||
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
|
|
||||||
public static final int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
|
|
||||||
|
|
||||||
public static final int GL_MULTISAMPLE = 0x809D;
|
|
||||||
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
|
|
||||||
public static final int GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
|
|
||||||
public static final int GL_SAMPLE_COVERAGE = 0x80A0;
|
|
||||||
public static final int GL_SAMPLE_BUFFERS = 0x80A8;
|
|
||||||
public static final int GL_SAMPLES = 0x80A9;
|
|
||||||
public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
|
|
||||||
public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
|
|
||||||
public static final int GL_MULTISAMPLE_BIT = 0x20000000;
|
|
||||||
|
|
||||||
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
|
|
||||||
public static final int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
|
|
||||||
public static final int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
|
|
||||||
public static final int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
|
|
||||||
|
|
||||||
public static final int GL_COMBINE = 0x8570;
|
|
||||||
public static final int GL_COMBINE_RGB = 0x8571;
|
|
||||||
public static final int GL_COMBINE_ALPHA = 0x8572;
|
|
||||||
public static final int GL_SOURCE0_RGB = 0x8580;
|
|
||||||
public static final int GL_SOURCE1_RGB = 0x8581;
|
|
||||||
public static final int GL_SOURCE2_RGB = 0x8582;
|
|
||||||
public static final int GL_SOURCE0_ALPHA = 0x8588;
|
|
||||||
public static final int GL_SOURCE1_ALPHA = 0x8589;
|
|
||||||
public static final int GL_SOURCE2_ALPHA = 0x858A;
|
|
||||||
public static final int GL_OPERAND0_RGB = 0x8590;
|
|
||||||
public static final int GL_OPERAND1_RGB = 0x8591;
|
|
||||||
public static final int GL_OPERAND2_RGB = 0x8592;
|
|
||||||
public static final int GL_OPERAND0_ALPHA = 0x8598;
|
|
||||||
public static final int GL_OPERAND1_ALPHA = 0x8599;
|
|
||||||
public static final int GL_OPERAND2_ALPHA = 0x859A;
|
|
||||||
public static final int GL_RGB_SCALE = 0x8573;
|
|
||||||
public static final int GL_ADD_SIGNED = 0x8574;
|
|
||||||
public static final int GL_INTERPOLATE = 0x8575;
|
|
||||||
public static final int GL_SUBTRACT = 0x84E7;
|
|
||||||
public static final int GL_CONSTANT = 0x8576;
|
|
||||||
public static final int GL_PRIMARY_COLOR = 0x8577;
|
|
||||||
public static final int GL_PREVIOUS = 0x8578;
|
|
||||||
public static final int GL_DOT3_RGB = 0x86AE;
|
|
||||||
public static final int GL_DOT3_RGBA = 0x86AF;
|
|
||||||
public static final int GL_CLAMP_TO_BORDER = 0x812D;
|
|
||||||
|
|
||||||
/* TextureTarget */
|
/* TextureTarget */
|
||||||
/* GL_TEXTURE_1D */
|
/* GL_TEXTURE_1D */
|
||||||
/* GL_TEXTURE_2D */
|
/* GL_TEXTURE_2D */
|
||||||
|
@ -1266,76 +1050,6 @@ public interface CoreGLConstants {
|
||||||
public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C;
|
public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C;
|
||||||
public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D;
|
public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D;
|
||||||
|
|
||||||
|
|
||||||
/* EXT_vertex_array */
|
|
||||||
public static final int GL_VERTEX_ARRAY_EXT = 0x8074;
|
|
||||||
public static final int GL_NORMAL_ARRAY_EXT = 0x8075;
|
|
||||||
public static final int GL_COLOR_ARRAY_EXT = 0x8076;
|
|
||||||
public static final int GL_INDEX_ARRAY_EXT = 0x8077;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_EXT = 0x8078;
|
|
||||||
public static final int GL_EDGE_FLAG_ARRAY_EXT = 0x8079;
|
|
||||||
public static final int GL_VERTEX_ARRAY_SIZE_EXT = 0x807A;
|
|
||||||
public static final int GL_VERTEX_ARRAY_TYPE_EXT = 0x807B;
|
|
||||||
public static final int GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C;
|
|
||||||
public static final int GL_VERTEX_ARRAY_COUNT_EXT = 0x807D;
|
|
||||||
public static final int GL_NORMAL_ARRAY_TYPE_EXT = 0x807E;
|
|
||||||
public static final int GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F;
|
|
||||||
public static final int GL_NORMAL_ARRAY_COUNT_EXT = 0x8080;
|
|
||||||
public static final int GL_COLOR_ARRAY_SIZE_EXT = 0x8081;
|
|
||||||
public static final int GL_COLOR_ARRAY_TYPE_EXT = 0x8082;
|
|
||||||
public static final int GL_COLOR_ARRAY_STRIDE_EXT = 0x8083;
|
|
||||||
public static final int GL_COLOR_ARRAY_COUNT_EXT = 0x8084;
|
|
||||||
public static final int GL_INDEX_ARRAY_TYPE_EXT = 0x8085;
|
|
||||||
public static final int GL_INDEX_ARRAY_STRIDE_EXT = 0x8086;
|
|
||||||
public static final int GL_INDEX_ARRAY_COUNT_EXT = 0x8087;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
|
|
||||||
public static final int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
|
|
||||||
public static final int GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
|
|
||||||
public static final int GL_VERTEX_ARRAY_POINTER_EXT = 0x808E;
|
|
||||||
public static final int GL_NORMAL_ARRAY_POINTER_EXT = 0x808F;
|
|
||||||
public static final int GL_COLOR_ARRAY_POINTER_EXT = 0x8090;
|
|
||||||
public static final int GL_INDEX_ARRAY_POINTER_EXT = 0x8091;
|
|
||||||
public static final int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
|
|
||||||
public static final int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
|
|
||||||
public static final int GL_DOUBLE_EXT = GL_DOUBLE;
|
|
||||||
|
|
||||||
/* EXT_bgra */
|
|
||||||
public static final int GL_BGR_EXT = 0x80E0;
|
|
||||||
public static final int GL_BGRA_EXT = 0x80E1;
|
|
||||||
|
|
||||||
/* EXT_paletted_texture */
|
|
||||||
|
|
||||||
/* These must match the GL_COLOR_TABLE_*_SGI enumerants */
|
|
||||||
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
|
|
||||||
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
|
|
||||||
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
|
|
||||||
public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
|
|
||||||
public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
|
|
||||||
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
|
|
||||||
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
|
|
||||||
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
|
|
||||||
|
|
||||||
public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
|
|
||||||
public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
|
|
||||||
public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
|
|
||||||
public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
|
|
||||||
public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
|
|
||||||
public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
|
|
||||||
|
|
||||||
/* WIN_draw_range_elements */
|
|
||||||
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 GL_PHONG_WIN = 0x80EA ;
|
|
||||||
public static final int GL_PHONG_HINT_WIN = 0x80EB ;
|
|
||||||
|
|
||||||
/* WIN_specular_fog */
|
|
||||||
public static final int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
|
|
||||||
|
|
||||||
/* For compatibility with OpenGL v1.0 */
|
/* For compatibility with OpenGL v1.0 */
|
||||||
public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
|
public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
|
||||||
public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
|
public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
|
|
@ -0,0 +1,91 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
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: CoreGL.java,v 1.23 2003/07/23 14:51:19 elias_naur Exp $
|
||||||
|
*
|
||||||
|
* The core OpenGL1.2.1 API, with the imaging subset.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision: 1.23 $
|
||||||
|
*/
|
||||||
|
public class CoreGL12 extends CoreGL11 implements CoreGL12Constants {
|
||||||
|
public static native void glColorTable(int target, int internalFormat, int width, int format, int type, Buffer data);
|
||||||
|
public static native void glColorSubTable(int target, int start, int count, int format, int type, Buffer data);
|
||||||
|
public static native void glColorTableParameteriv(int target, int pname, IntBuffer params);
|
||||||
|
public static native void glColorTableParameterfv(int target, int pname, FloatBuffer 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 glGetColorTable(int target, int format, int type, Buffer data);
|
||||||
|
public static native void glGetColorTableParameteriv(int target, int pname, IntBuffer params);
|
||||||
|
public static native void glGetColorTableParameterfv(int target, int pname, FloatBuffer params);
|
||||||
|
public static native void glBlendEquation(int mode);
|
||||||
|
public static native void glBlendColor(float red, float green, float blue, float alpha);
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,156 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Core OpenGL 1.1 constants.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision$
|
||||||
|
*/
|
||||||
|
public interface CoreGL12Constants extends CoreGL11Constants {
|
||||||
|
public static final int GL_RESCALE_NORMAL = 0x803A;
|
||||||
|
public static final int GL_CLAMP_TO_EDGE = 0x812F;
|
||||||
|
public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
|
||||||
|
public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9;
|
||||||
|
public static final int GL_BGR = 0x80E0;
|
||||||
|
public static final int GL_BGRA = 0x80E1;
|
||||||
|
public static final int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
|
||||||
|
public static final int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
|
||||||
|
public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
|
||||||
|
public static final int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
|
||||||
|
public static final int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
|
||||||
|
public static final int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
|
||||||
|
public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
|
||||||
|
public static final int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
|
||||||
|
public static final int GL_SINGLE_COLOR = 0x81F9;
|
||||||
|
public static final int GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
|
||||||
|
public static final int GL_TEXTURE_MIN_LOD = 0x813A;
|
||||||
|
public static final int GL_TEXTURE_MAX_LOD = 0x813B;
|
||||||
|
public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
|
||||||
|
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
|
||||||
|
public static final int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
|
||||||
|
public static final int GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13;
|
||||||
|
public static final int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
|
||||||
|
public static final int GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23;
|
||||||
|
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
|
||||||
|
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
|
||||||
|
public static final int GL_PACK_SKIP_IMAGES = 0x806B;
|
||||||
|
public static final int GL_PACK_IMAGE_HEIGHT = 0x806C;
|
||||||
|
public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
|
||||||
|
public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E;
|
||||||
|
public static final int GL_TEXTURE_3D = 0x806F;
|
||||||
|
public static final int GL_PROXY_TEXTURE_3D = 0x8070;
|
||||||
|
public static final int GL_TEXTURE_DEPTH = 0x8071;
|
||||||
|
public static final int GL_TEXTURE_WRAP_R = 0x8072;
|
||||||
|
public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073;
|
||||||
|
public static final int GL_TEXTURE_BINDING_3D = 0x806A;
|
||||||
|
public static final int GL_COLOR_TABLE = 0x80D0;
|
||||||
|
public static final int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2;
|
||||||
|
public static final int GL_PROXY_COLOR_TABLE = 0x80D3;
|
||||||
|
public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4;
|
||||||
|
public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5;
|
||||||
|
public static final int GL_COLOR_TABLE_SCALE = 0x80D6;
|
||||||
|
public static final int GL_COLOR_TABLE_BIAS = 0x80D7;
|
||||||
|
public static final int GL_COLOR_TABLE_FORMAT = 0x80D8;
|
||||||
|
public static final int GL_COLOR_TABLE_WIDTH = 0x80D9;
|
||||||
|
public static final int GL_COLOR_TABLE_RED_SIZE = 0x80DA;
|
||||||
|
public static final int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB;
|
||||||
|
public static final int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC;
|
||||||
|
public static final int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD;
|
||||||
|
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE;
|
||||||
|
public static final int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF;
|
||||||
|
public static final int GL_CONVOLUTION_1D = 0x8010;
|
||||||
|
public static final int GL_CONVOLUTION_2D = 0x8011;
|
||||||
|
public static final int GL_SEPARABLE_2D = 0x8012;
|
||||||
|
public static final int GL_CONVOLUTION_BORDER_MODE = 0x8013;
|
||||||
|
public static final int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
|
||||||
|
public static final int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
|
||||||
|
public static final int GL_REDUCE = 0x8016;
|
||||||
|
public static final int GL_CONVOLUTION_FORMAT = 0x8017;
|
||||||
|
public static final int GL_CONVOLUTION_WIDTH = 0x8018;
|
||||||
|
public static final int GL_CONVOLUTION_HEIGHT = 0x8019;
|
||||||
|
public static final int GL_MAX_CONVOLUTION_WIDTH = 0x801A;
|
||||||
|
public static final int GL_MAX_CONVOLUTION_HEIGHT = 0x801B;
|
||||||
|
public static final int GL_POST_CONVOLUTION_RED_SCALE = 0x801C;
|
||||||
|
public static final int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D;
|
||||||
|
public static final int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E;
|
||||||
|
public static final int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F;
|
||||||
|
public static final int GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
|
||||||
|
public static final int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
|
||||||
|
public static final int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
|
||||||
|
public static final int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
|
||||||
|
public static final int GL_CONSTANT_BORDER = 0x8151;
|
||||||
|
public static final int GL_REPLICATE_BORDER = 0x8153;
|
||||||
|
public static final int GL_CONVOLUTION_BORDER_COLOR = 0x8154;
|
||||||
|
public static final int GL_COLOR_MATRIX = 0x80B1;
|
||||||
|
public static final int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2;
|
||||||
|
public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA;
|
||||||
|
public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB;
|
||||||
|
public static final int GL_HISTOGRAM = 0x8024;
|
||||||
|
public static final int GL_PROXY_HISTOGRAM = 0x8025;
|
||||||
|
public static final int GL_HISTOGRAM_WIDTH = 0x8026;
|
||||||
|
public static final int GL_HISTOGRAM_FORMAT = 0x8027;
|
||||||
|
public static final int GL_HISTOGRAM_RED_SIZE = 0x8028;
|
||||||
|
public static final int GL_HISTOGRAM_GREEN_SIZE = 0x8029;
|
||||||
|
public static final int GL_HISTOGRAM_BLUE_SIZE = 0x802A;
|
||||||
|
public static final int GL_HISTOGRAM_ALPHA_SIZE = 0x802B;
|
||||||
|
public static final int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C;
|
||||||
|
public static final int GL_HISTOGRAM_SINK = 0x802D;
|
||||||
|
public static final int GL_MINMAX = 0x802E;
|
||||||
|
public static final int GL_MINMAX_FORMAT = 0x802F;
|
||||||
|
public static final int GL_MINMAX_SINK = 0x8030;
|
||||||
|
public static final int GL_TABLE_TOO_LARGE = 0x8031;
|
||||||
|
public static final int GL_BLEND_EQUATION = 0x8009;
|
||||||
|
public static final int GL_MIN = 0x8007;
|
||||||
|
public static final int GL_MAX = 0x8008;
|
||||||
|
public static final int GL_FUNC_ADD = 0x8006;
|
||||||
|
public static final int GL_FUNC_SUBTRACT = 0x800A;
|
||||||
|
public static final int GL_FUNC_REVERSE_SUBTRACT = 0x800B;
|
||||||
|
public static final int GL_BLEND_COLOR = 0x8005;
|
||||||
|
}
|
|
@ -0,0 +1,83 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
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: CoreGL.java,v 1.23 2003/07/23 14:51:19 elias_naur Exp $
|
||||||
|
*
|
||||||
|
* The core OpenGL1.3 API.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision: 1.23 $
|
||||||
|
*/
|
||||||
|
public class CoreGL13 extends CoreGL12 implements CoreGL13Constants {
|
||||||
|
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 glMultiTexCoord1f(int target, float s);
|
||||||
|
public static native void glMultiTexCoord1i(int target, int s);
|
||||||
|
public static native void glMultiTexCoord1s(int target, short s);
|
||||||
|
public static native void glMultiTexCoord2d(int target, double s, double t);
|
||||||
|
public static native void glMultiTexCoord2f(int target, float s, float t);
|
||||||
|
public static native void glMultiTexCoord2i(int target, int s, int t);
|
||||||
|
public static native void glMultiTexCoord2s(int target, short s, short t);
|
||||||
|
public static native void glMultiTexCoord3d(int target, double s, double t, double r);
|
||||||
|
public static native void glMultiTexCoord3f(int target, float s, float t, float r);
|
||||||
|
public static native void glMultiTexCoord3i(int target, int s, int t, int r);
|
||||||
|
public static native void glMultiTexCoord3s(int target, short s, short t, short r);
|
||||||
|
public static native void glMultiTexCoord4d(int target, double s, double t, double r, double q);
|
||||||
|
public static native void glMultiTexCoord4f(int target, float s, float t, float r, float q);
|
||||||
|
public static native void glMultiTexCoord4i(int target, int s, int t, int r, int q);
|
||||||
|
public static native void glMultiTexCoord4s(int target, short s, short t, short r, short q);
|
||||||
|
public static native void glLoadTransposeMatrixd(DoubleBuffer m);
|
||||||
|
public static native void glLoadTransposeMatrixf(FloatBuffer m);
|
||||||
|
public static native void glMultTransposeMatrixd(DoubleBuffer m);
|
||||||
|
public static native void glMultTransposeMatrixf(FloatBuffer m);
|
||||||
|
public static native void glSampleCoverage(float value, boolean invert);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,145 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Core OpenGL 1.1 constants.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision$
|
||||||
|
*/
|
||||||
|
public interface CoreGL13Constants extends CoreGL12Constants {
|
||||||
|
public static final int GL_TEXTURE0 = 0x84C0;
|
||||||
|
public static final int GL_TEXTURE1 = 0x84C1;
|
||||||
|
public static final int GL_TEXTURE2 = 0x84C2;
|
||||||
|
public static final int GL_TEXTURE3 = 0x84C3;
|
||||||
|
public static final int GL_TEXTURE4 = 0x84C4;
|
||||||
|
public static final int GL_TEXTURE5 = 0x84C5;
|
||||||
|
public static final int GL_TEXTURE6 = 0x84C6;
|
||||||
|
public static final int GL_TEXTURE7 = 0x84C7;
|
||||||
|
public static final int GL_TEXTURE8 = 0x84C8;
|
||||||
|
public static final int GL_TEXTURE9 = 0x84C9;
|
||||||
|
public static final int GL_TEXTURE10 = 0x84CA;
|
||||||
|
public static final int GL_TEXTURE11 = 0x84CB;
|
||||||
|
public static final int GL_TEXTURE12 = 0x84CC;
|
||||||
|
public static final int GL_TEXTURE13 = 0x84CD;
|
||||||
|
public static final int GL_TEXTURE14 = 0x84CE;
|
||||||
|
public static final int GL_TEXTURE15 = 0x84CF;
|
||||||
|
public static final int GL_TEXTURE16 = 0x84D0;
|
||||||
|
public static final int GL_TEXTURE17 = 0x84D1;
|
||||||
|
public static final int GL_TEXTURE18 = 0x84D2;
|
||||||
|
public static final int GL_TEXTURE19 = 0x84D3;
|
||||||
|
public static final int GL_TEXTURE20 = 0x84D4;
|
||||||
|
public static final int GL_TEXTURE21 = 0x84D5;
|
||||||
|
public static final int GL_TEXTURE22 = 0x84D6;
|
||||||
|
public static final int GL_TEXTURE23 = 0x84D7;
|
||||||
|
public static final int GL_TEXTURE24 = 0x84D8;
|
||||||
|
public static final int GL_TEXTURE25 = 0x84D9;
|
||||||
|
public static final int GL_TEXTURE26 = 0x84DA;
|
||||||
|
public static final int GL_TEXTURE27 = 0x84DB;
|
||||||
|
public static final int GL_TEXTURE28 = 0x84DC;
|
||||||
|
public static final int GL_TEXTURE29 = 0x84DD;
|
||||||
|
public static final int GL_TEXTURE30 = 0x84DE;
|
||||||
|
public static final int GL_TEXTURE31 = 0x84DF;
|
||||||
|
public static final int GL_ACTIVE_TEXTURE = 0x84E0;
|
||||||
|
public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
|
||||||
|
public static final int GL_MAX_TEXTURE_UNITS = 0x84E2;
|
||||||
|
|
||||||
|
public static final int GL_NORMAL_MAP = 0x8511;
|
||||||
|
public static final int GL_REFLECTION_MAP = 0x8512;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP = 0x8513;
|
||||||
|
public static final int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
|
||||||
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
|
||||||
|
public static final int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
|
||||||
|
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
|
||||||
|
|
||||||
|
public static final int GL_COMPRESSED_ALPHA = 0x84E9;
|
||||||
|
public static final int GL_COMPRESSED_LUMINANCE = 0x84EA;
|
||||||
|
public static final int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
|
||||||
|
public static final int GL_COMPRESSED_INTENSITY = 0x84EC;
|
||||||
|
public static final int GL_COMPRESSED_RGB = 0x84ED;
|
||||||
|
public static final int GL_COMPRESSED_RGBA = 0x84EE;
|
||||||
|
public static final int GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
|
||||||
|
public static final int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
|
||||||
|
public static final int GL_TEXTURE_COMPRESSED = 0x86A1;
|
||||||
|
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
|
||||||
|
public static final int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
|
||||||
|
|
||||||
|
public static final int GL_MULTISAMPLE = 0x809D;
|
||||||
|
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
|
||||||
|
public static final int GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
|
||||||
|
public static final int GL_SAMPLE_COVERAGE = 0x80A0;
|
||||||
|
public static final int GL_SAMPLE_BUFFERS = 0x80A8;
|
||||||
|
public static final int GL_SAMPLES = 0x80A9;
|
||||||
|
public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
|
||||||
|
public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
|
||||||
|
public static final int GL_MULTISAMPLE_BIT = 0x20000000;
|
||||||
|
|
||||||
|
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
|
||||||
|
public static final int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
|
||||||
|
public static final int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
|
||||||
|
public static final int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
|
||||||
|
|
||||||
|
public static final int GL_COMBINE = 0x8570;
|
||||||
|
public static final int GL_COMBINE_RGB = 0x8571;
|
||||||
|
public static final int GL_COMBINE_ALPHA = 0x8572;
|
||||||
|
public static final int GL_SOURCE0_RGB = 0x8580;
|
||||||
|
public static final int GL_SOURCE1_RGB = 0x8581;
|
||||||
|
public static final int GL_SOURCE2_RGB = 0x8582;
|
||||||
|
public static final int GL_SOURCE0_ALPHA = 0x8588;
|
||||||
|
public static final int GL_SOURCE1_ALPHA = 0x8589;
|
||||||
|
public static final int GL_SOURCE2_ALPHA = 0x858A;
|
||||||
|
public static final int GL_OPERAND0_RGB = 0x8590;
|
||||||
|
public static final int GL_OPERAND1_RGB = 0x8591;
|
||||||
|
public static final int GL_OPERAND2_RGB = 0x8592;
|
||||||
|
public static final int GL_OPERAND0_ALPHA = 0x8598;
|
||||||
|
public static final int GL_OPERAND1_ALPHA = 0x8599;
|
||||||
|
public static final int GL_OPERAND2_ALPHA = 0x859A;
|
||||||
|
public static final int GL_RGB_SCALE = 0x8573;
|
||||||
|
public static final int GL_ADD_SIGNED = 0x8574;
|
||||||
|
public static final int GL_INTERPOLATE = 0x8575;
|
||||||
|
public static final int GL_SUBTRACT = 0x84E7;
|
||||||
|
public static final int GL_CONSTANT = 0x8576;
|
||||||
|
public static final int GL_PRIMARY_COLOR = 0x8577;
|
||||||
|
public static final int GL_PREVIOUS = 0x8578;
|
||||||
|
public static final int GL_DOT3_RGB = 0x86AE;
|
||||||
|
public static final int GL_DOT3_RGBA = 0x86AF;
|
||||||
|
public static final int GL_CLAMP_TO_BORDER = 0x812D;
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
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: CoreGL.java,v 1.23 2003/07/23 14:51:19 elias_naur Exp $
|
||||||
|
*
|
||||||
|
* The core OpenGL1.4 API.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision: 1.23 $
|
||||||
|
*/
|
||||||
|
public class CoreGL14 extends CoreGL13 implements CoreGL14Constants {
|
||||||
|
public static native void glMultiDrawArrays(int mode, IntBuffer piFirst, IntBuffer piCount, int primcount);
|
||||||
|
/* public static native void glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Core OpenGL 1.1 constants.
|
||||||
|
*
|
||||||
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
|
* @version $Revision$
|
||||||
|
*/
|
||||||
|
public interface CoreGL14Constants extends CoreGL13Constants {
|
||||||
|
}
|
|
@ -47,7 +47,7 @@ import java.nio.Buffer;
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public class GL extends CoreGL implements GLConstants {
|
public class GL extends CoreGL14 implements GLConstants {
|
||||||
public static native void glActiveStencilFaceEXT(int face);
|
public static native void glActiveStencilFaceEXT(int face);
|
||||||
|
|
||||||
public static native void glActiveTextureARB(int texture);
|
public static native void glActiveTextureARB(int texture);
|
||||||
|
|
|
@ -63,7 +63,6 @@ import org.lwjgl.opengl.wgl.WGLMakeCurrentRead;
|
||||||
|
|
||||||
public interface GLConstants
|
public interface GLConstants
|
||||||
extends
|
extends
|
||||||
CoreGLConstants,
|
|
||||||
ARBCubeMap,
|
ARBCubeMap,
|
||||||
ARBDepthTexture,
|
ARBDepthTexture,
|
||||||
ARBMatrixPalette,
|
ARBMatrixPalette,
|
||||||
|
@ -99,6 +98,7 @@ public interface GLConstants
|
||||||
EXTFogCoord,
|
EXTFogCoord,
|
||||||
EXTLightMaxExponent,
|
EXTLightMaxExponent,
|
||||||
EXTPackedPixels,
|
EXTPackedPixels,
|
||||||
|
EXTPalettedTexture,
|
||||||
EXTPointParameters,
|
EXTPointParameters,
|
||||||
EXTRescaleNormal,
|
EXTRescaleNormal,
|
||||||
EXTSecondaryColor,
|
EXTSecondaryColor,
|
||||||
|
|
|
@ -52,8 +52,8 @@ public interface GLUConstants {
|
||||||
public static final int GLU_EXTENSIONS = 100801;
|
public static final int GLU_EXTENSIONS = 100801;
|
||||||
|
|
||||||
/* Boolean */
|
/* Boolean */
|
||||||
public static final int GLU_TRUE = CoreGLConstants.GL_TRUE;
|
public static final int GLU_TRUE = CoreGL11Constants.GL_TRUE;
|
||||||
public static final int GLU_FALSE = CoreGLConstants.GL_FALSE;
|
public static final int GLU_FALSE = CoreGL11Constants.GL_FALSE;
|
||||||
|
|
||||||
|
|
||||||
/**** Quadric constants ****/
|
/**** Quadric constants ****/
|
||||||
|
|
|
@ -187,7 +187,7 @@ public class GLWindow extends Window {
|
||||||
map.put(fields[i].getName(), fields[i]);
|
map.put(fields[i].getName(), fields[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
String exts = CoreGL.glGetString(CoreGL.GL_EXTENSIONS);
|
String exts = CoreGL11.glGetString(CoreGL11.GL_EXTENSIONS);
|
||||||
StringTokenizer st = new StringTokenizer(exts);
|
StringTokenizer st = new StringTokenizer(exts);
|
||||||
while (st.hasMoreTokens()) {
|
while (st.hasMoreTokens()) {
|
||||||
String ext = st.nextToken();
|
String ext = st.nextToken();
|
||||||
|
@ -206,7 +206,7 @@ public class GLWindow extends Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let's see what openGL version we are too:
|
// Let's see what openGL version we are too:
|
||||||
String version = CoreGL.glGetString(CoreGL.GL_VERSION);
|
String version = CoreGL11.glGetString(CoreGL11.GL_VERSION);
|
||||||
int i = version.indexOf("1.");
|
int i = version.indexOf("1.");
|
||||||
if (i > -1) {
|
if (i > -1) {
|
||||||
char c = version.charAt(i + 2);
|
char c = version.charAt(i + 2);
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public interface EXTBgra {
|
public interface EXTBgra {
|
||||||
/*
|
public static final int GL_BGR_EXT = 0x80E0;
|
||||||
public static final int GL_ BGR_EXT = 0x80E0;
|
public static final int GL_BGRA_EXT = 0x80E1;
|
||||||
public static final int GL_ BGRA_EXT = 0x80E1;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,56 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl.ext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* EXT_bgra_constants
|
||||||
|
*
|
||||||
|
* @author cas
|
||||||
|
*/
|
||||||
|
public interface EXTPalettedTexture {
|
||||||
|
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
|
||||||
|
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
|
||||||
|
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
|
||||||
|
public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
|
||||||
|
public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
|
||||||
|
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
|
||||||
|
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
|
||||||
|
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
|
||||||
|
|
||||||
|
public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
|
||||||
|
public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
|
||||||
|
public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
|
||||||
|
public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
|
||||||
|
public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
|
||||||
|
public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
|
||||||
|
}
|
|
@ -37,8 +37,14 @@ COMMON = \
|
||||||
org_lwjgl_openal_eax_EAXBufferProperties.h \
|
org_lwjgl_openal_eax_EAXBufferProperties.h \
|
||||||
org_lwjgl_openal_eax_EAXListenerProperties.cpp \
|
org_lwjgl_openal_eax_EAXListenerProperties.cpp \
|
||||||
org_lwjgl_openal_eax_EAXListenerProperties.h \
|
org_lwjgl_openal_eax_EAXListenerProperties.h \
|
||||||
org_lwjgl_opengl_CoreGL.cpp \
|
org_lwjgl_opengl_CoreGL11.cpp \
|
||||||
org_lwjgl_opengl_CoreGL.h \
|
org_lwjgl_opengl_CoreGL11.h \
|
||||||
|
org_lwjgl_opengl_CoreGL12.cpp \
|
||||||
|
org_lwjgl_opengl_CoreGL12.h \
|
||||||
|
org_lwjgl_opengl_CoreGL13.cpp \
|
||||||
|
org_lwjgl_opengl_CoreGL13.h \
|
||||||
|
org_lwjgl_opengl_CoreGL14.cpp \
|
||||||
|
org_lwjgl_opengl_CoreGL15.h \
|
||||||
org_lwjgl_opengl_GL.cpp \
|
org_lwjgl_opengl_GL.cpp \
|
||||||
org_lwjgl_opengl_GL.h \
|
org_lwjgl_opengl_GL.h \
|
||||||
org_lwjgl_opengl_GLU.cpp \
|
org_lwjgl_opengl_GLU.cpp \
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,317 @@
|
||||||
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||||
|
#include <jni.h>
|
||||||
|
/* Header for class org_lwjgl_opengl_CoreGL12 */
|
||||||
|
|
||||||
|
#ifndef _Included_org_lwjgl_opengl_CoreGL12
|
||||||
|
#define _Included_org_lwjgl_opengl_CoreGL12
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glColorTable
|
||||||
|
* Signature: (IIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glColorTable
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glColorSubTable
|
||||||
|
* Signature: (IIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glColorSubTable
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glColorTableParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glColorTableParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glColorTableParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glColorTableParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glCopyColorSubTable
|
||||||
|
* Signature: (IIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyColorSubTable
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glCopyColorTable
|
||||||
|
* Signature: (IIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyColorTable
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetColorTable
|
||||||
|
* Signature: (IIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetColorTable
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetColorTableParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetColorTableParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetColorTableParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetColorTableParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glBlendEquation
|
||||||
|
* Signature: (I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glBlendEquation
|
||||||
|
(JNIEnv *, jclass, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glBlendColor
|
||||||
|
* Signature: (FFFF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glBlendColor
|
||||||
|
(JNIEnv *, jclass, jfloat, jfloat, jfloat, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glHistogram
|
||||||
|
* Signature: (IIIZ)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glHistogram
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jboolean);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glResetHistogram
|
||||||
|
* Signature: (I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glResetHistogram
|
||||||
|
(JNIEnv *, jclass, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetHistogram
|
||||||
|
* Signature: (IZIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetHistogram
|
||||||
|
(JNIEnv *, jclass, jint, jboolean, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetHistogramParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetHistogramParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetHistogramParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetHistogramParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glMinmax
|
||||||
|
* Signature: (IIZ)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glMinmax
|
||||||
|
(JNIEnv *, jclass, jint, jint, jboolean);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glResetMinmax
|
||||||
|
* Signature: (I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glResetMinmax
|
||||||
|
(JNIEnv *, jclass, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetMinmax
|
||||||
|
* Signature: (IZIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetMinmax
|
||||||
|
(JNIEnv *, jclass, jint, jboolean, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetMinmaxParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetMinmaxParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetMinmaxParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetMinmaxParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionFilter1D
|
||||||
|
* Signature: (IIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionFilter1D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionFilter2D
|
||||||
|
* Signature: (IIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionFilter2D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionParameterf
|
||||||
|
* Signature: (IIF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameterf
|
||||||
|
(JNIEnv *, jclass, jint, jint, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionParameteri
|
||||||
|
* Signature: (III)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameteri
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glConvolutionParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glCopyConvolutionFilter1D
|
||||||
|
* Signature: (IIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyConvolutionFilter1D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glCopyConvolutionFilter2D
|
||||||
|
* Signature: (IIIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyConvolutionFilter2D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetConvolutionFilter
|
||||||
|
* Signature: (IIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetConvolutionFilter
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetConvolutionParameterfv
|
||||||
|
* Signature: (IILjava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetConvolutionParameterfv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetConvolutionParameteriv
|
||||||
|
* Signature: (IILjava/nio/IntBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetConvolutionParameteriv
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glSeparableFilter2D
|
||||||
|
* Signature: (IIIIIILjava/nio/Buffer;Ljava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glSeparableFilter2D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glGetSeparableFilter
|
||||||
|
* Signature: (IIILjava/nio/Buffer;Ljava/nio/Buffer;Ljava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glGetSeparableFilter
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jobject, jobject, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glDrawRangeElements
|
||||||
|
* Signature: (IIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glDrawRangeElements
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glTexImage3D
|
||||||
|
* Signature: (IIIIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glTexImage3D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glTexSubImage3D
|
||||||
|
* Signature: (IIIIIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glTexSubImage3D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL12
|
||||||
|
* Method: glCopyTexSubImage3D
|
||||||
|
* Signature: (IIIIIIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyTexSubImage3D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
|
@ -0,0 +1,253 @@
|
||||||
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||||
|
#include <jni.h>
|
||||||
|
/* Header for class org_lwjgl_opengl_CoreGL13 */
|
||||||
|
|
||||||
|
#ifndef _Included_org_lwjgl_opengl_CoreGL13
|
||||||
|
#define _Included_org_lwjgl_opengl_CoreGL13
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glActiveTexture
|
||||||
|
* Signature: (I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glActiveTexture
|
||||||
|
(JNIEnv *, jclass, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glClientActiveTexture
|
||||||
|
* Signature: (I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glClientActiveTexture
|
||||||
|
(JNIEnv *, jclass, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexImage1D
|
||||||
|
* Signature: (IIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexImage1D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexImage2D
|
||||||
|
* Signature: (IIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexImage2D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexImage3D
|
||||||
|
* Signature: (IIIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexImage3D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexSubImage1D
|
||||||
|
* Signature: (IIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexSubImage1D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexSubImage2D
|
||||||
|
* Signature: (IIIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexSubImage2D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glCompressedTexSubImage3D
|
||||||
|
* Signature: (IIIIIIIIIILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glCompressedTexSubImage3D
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glGetCompressedTexImage
|
||||||
|
* Signature: (IILjava/nio/Buffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glGetCompressedTexImage
|
||||||
|
(JNIEnv *, jclass, jint, jint, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord1d
|
||||||
|
* Signature: (ID)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord1d
|
||||||
|
(JNIEnv *, jclass, jint, jdouble);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord1f
|
||||||
|
* Signature: (IF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord1f
|
||||||
|
(JNIEnv *, jclass, jint, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord1i
|
||||||
|
* Signature: (II)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord1i
|
||||||
|
(JNIEnv *, jclass, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord1s
|
||||||
|
* Signature: (IS)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord1s
|
||||||
|
(JNIEnv *, jclass, jint, jshort);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord2d
|
||||||
|
* Signature: (IDD)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2d
|
||||||
|
(JNIEnv *, jclass, jint, jdouble, jdouble);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord2f
|
||||||
|
* Signature: (IFF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2f
|
||||||
|
(JNIEnv *, jclass, jint, jfloat, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord2i
|
||||||
|
* Signature: (III)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2i
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord2s
|
||||||
|
* Signature: (ISS)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2s
|
||||||
|
(JNIEnv *, jclass, jint, jshort, jshort);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord3d
|
||||||
|
* Signature: (IDDD)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord3d
|
||||||
|
(JNIEnv *, jclass, jint, jdouble, jdouble, jdouble);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord3f
|
||||||
|
* Signature: (IFFF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord3f
|
||||||
|
(JNIEnv *, jclass, jint, jfloat, jfloat, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord3i
|
||||||
|
* Signature: (IIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord3i
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord3s
|
||||||
|
* Signature: (ISSS)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord3s
|
||||||
|
(JNIEnv *, jclass, jint, jshort, jshort, jshort);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord4d
|
||||||
|
* Signature: (IDDDD)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord4d
|
||||||
|
(JNIEnv *, jclass, jint, jdouble, jdouble, jdouble, jdouble);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord4f
|
||||||
|
* Signature: (IFFFF)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord4f
|
||||||
|
(JNIEnv *, jclass, jint, jfloat, jfloat, jfloat, jfloat);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord4i
|
||||||
|
* Signature: (IIIII)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord4i
|
||||||
|
(JNIEnv *, jclass, jint, jint, jint, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultiTexCoord4s
|
||||||
|
* Signature: (ISSSS)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord4s
|
||||||
|
(JNIEnv *, jclass, jint, jshort, jshort, jshort, jshort);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glLoadTransposeMatrixd
|
||||||
|
* Signature: (Ljava/nio/DoubleBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glLoadTransposeMatrixd
|
||||||
|
(JNIEnv *, jclass, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glLoadTransposeMatrixf
|
||||||
|
* Signature: (Ljava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glLoadTransposeMatrixf
|
||||||
|
(JNIEnv *, jclass, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultTransposeMatrixd
|
||||||
|
* Signature: (Ljava/nio/DoubleBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultTransposeMatrixd
|
||||||
|
(JNIEnv *, jclass, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glMultTransposeMatrixf
|
||||||
|
* Signature: (Ljava/nio/FloatBuffer;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultTransposeMatrixf
|
||||||
|
(JNIEnv *, jclass, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL13
|
||||||
|
* Method: glSampleCoverage
|
||||||
|
* Signature: (FZ)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glSampleCoverage
|
||||||
|
(JNIEnv *, jclass, jfloat, jboolean);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
|
@ -0,0 +1,21 @@
|
||||||
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||||
|
#include <jni.h>
|
||||||
|
/* Header for class org_lwjgl_opengl_CoreGL14 */
|
||||||
|
|
||||||
|
#ifndef _Included_org_lwjgl_opengl_CoreGL14
|
||||||
|
#define _Included_org_lwjgl_opengl_CoreGL14
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
/*
|
||||||
|
* Class: org_lwjgl_opengl_CoreGL14
|
||||||
|
* Method: glMultiDrawArrays
|
||||||
|
* Signature: (ILjava/nio/IntBuffer;Ljava/nio/IntBuffer;I)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glMultiDrawArrays
|
||||||
|
(JNIEnv *, jclass, jint, jobject, jobject, jint);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
Loading…
Reference in New Issue