mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Added missing OpenGL 1.4 functions
This commit is contained in:
parent
8c7e2e4da2
commit
39ddf26f0b
3 changed files with 246 additions and 0 deletions
|
|
@ -48,8 +48,31 @@ import java.nio.Buffer;
|
|||
* @version $Revision: 1.23 $
|
||||
*/
|
||||
public class CoreGL14 extends CoreGL13 implements CoreGL14Constants {
|
||||
public static native void glFogCoordf (float coord);
|
||||
public static native void glFogCoordd (double coord);
|
||||
public static native void glFogCoordPointer (int type, int stride, Buffer data);
|
||||
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);*/
|
||||
public static native void glPointParameterf (int pname, float param);
|
||||
public static native void glPointParameterfv (int pname, FloatBuffer params);
|
||||
public static native void glSecondaryColor3b (byte red, byte green, byte blue);
|
||||
public static native void glSecondaryColor3d (double red, double green, double blue);
|
||||
public static native void glSecondaryColor3f (float red, float green, float blue);
|
||||
public static native void glSecondaryColor3i (int red, int green, int blue);
|
||||
public static native void glSecondaryColor3s (short red, short green, short blue);
|
||||
public static native void glSecondaryColor3ub (byte red, byte green, byte blue);
|
||||
public static native void glSecondaryColor3ui (int red, int green, int blue);
|
||||
public static native void glSecondaryColor3us (short red, short green, short blue);
|
||||
public static native void glSecondaryColorPointer (int size, int type, int stride, Buffer data);
|
||||
public static native void glBlendFuncSeparate (int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
|
||||
public static native void glWindowPos2d (double x, double y);
|
||||
public static native void glWindowPos2f (float x, float y);
|
||||
public static native void glWindowPos2i (int x, int y);
|
||||
public static native void glWindowPos2s (short x, short y);
|
||||
public static native void glWindowPos3d (double x, double y, double z);
|
||||
public static native void glWindowPos3f (float x, float y, float z);
|
||||
public static native void glWindowPos3i (int x, int y, int z);
|
||||
public static native void glWindowPos3s (short x, short y, short z);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -41,4 +41,43 @@ package org.lwjgl.opengl;
|
|||
* @version $Revision$
|
||||
*/
|
||||
public interface CoreGL14Constants extends CoreGL13Constants {
|
||||
public static final int GL_GENERATE_MIPMAP = 0x8191;
|
||||
public static final int GL_GENERATE_MIPMAP_HINT = 0x8192;
|
||||
public static final int GL_DEPTH_COMPONENT16 = 0x81A5;
|
||||
public static final int GL_DEPTH_COMPONENT24 = 0x81A6;
|
||||
public static final int GL_DEPTH_COMPONENT32 = 0x81A7;
|
||||
public static final int GL_TEXTURE_DEPTH_SIZE = 0x884A;
|
||||
public static final int GL_DEPTH_TEXTURE_MODE = 0x884B;
|
||||
public static final int GL_TEXTURE_COMPARE_MODE = 0x884C;
|
||||
public static final int GL_TEXTURE_COMPARE_FUNC = 0x884D;
|
||||
public static final int GL_COMPARE_R_TO_TEXTURE = 0x884E;
|
||||
public static final int GL_FOG_COORDINATE_SOURCE = 0x8450;
|
||||
public static final int GL_FOG_COORDINATE = 0x8451;
|
||||
public static final int GL_FRAGMENT_DEPTH = 0x8452;
|
||||
public static final int GL_CURRENT_FOG_COORDINATE = 0x8453;
|
||||
public static final int GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454;
|
||||
public static final int GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455;
|
||||
public static final int GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456;
|
||||
public static final int GL_FOG_COORDINATE_ARRAY = 0x8457;
|
||||
public static final int GL_POINT_SIZE_MIN = 0x8126;
|
||||
public static final int GL_POINT_SIZE_MAX = 0x8127;
|
||||
public static final int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128;
|
||||
public static final int GL_POINT_DISTANCE_ATTENUATION = 0x8129;
|
||||
public static final int GL_COLOR_SUM = 0x8458;
|
||||
public static final int GL_CURRENT_SECONDARY_COLOR = 0x8459;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY = 0x845E;
|
||||
public static final int GL_BLEND_DST_RGB = 0x80C8;
|
||||
public static final int GL_BLEND_SRC_RGB = 0x80C9;
|
||||
public static final int GL_BLEND_DST_ALPHA = 0x80CA;
|
||||
public static final int GL_BLEND_SRC_ALPHA = 0x80CB;
|
||||
public static final int GL_INCR_WRAP = 0x8507;
|
||||
public static final int GL_DECR_WRAP = 0x8508;
|
||||
public static final int GL_TEXTURE_FILTER_CONTROL = 0x8500;
|
||||
public static final int GL_TEXTURE_LOD_BIAS = 0x8501;
|
||||
public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
|
||||
public static final int GL_GL_MIRRORED_REPEAT = 0x8370;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue