no longer needed files; cleanup after SF fuckup
This commit is contained in:
parent
d756657a48
commit
958a517011
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,586 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2002 Light Weight 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Core OpenGL functions.
|
|
||||||
*
|
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
|
||||||
* @version $Revision$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "org_lwjgl_opengl_CoreGL12.h"
|
|
||||||
#include "checkGLerror.h"
|
|
||||||
#include "extgl.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glColorTable
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTable
|
|
||||||
(JNIEnv * env, jclass clazz, jint target, jint internalFormat, jint width, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glColorTable)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glColorTable(target, internalFormat, width, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glColorSubTable
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorSubTable
|
|
||||||
(JNIEnv * env, jclass clazz, jint target, jint start, jint count, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glColorSubTable)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glColorSubTable(target, start, count, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetColorTable
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTable
|
|
||||||
(JNIEnv * env, jclass clazz, jint target, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetColorTable)
|
|
||||||
void *address = (void *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glGetColorTable(target, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetColorTableParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTableParameteriv
|
|
||||||
(JNIEnv * env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetColorTableParameteriv)
|
|
||||||
GLint *address = offset + (GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetColorTableParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetColorTableParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTableParameterfv
|
|
||||||
(JNIEnv * env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetColorTableParameterfv)
|
|
||||||
GLfloat *address = offset + (GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetColorTableParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glColorTableParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTableParameteriv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glColorTableParameteriv)
|
|
||||||
const GLint *address = offset + (const GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glColorTableParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glColorTableParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTableParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glColorTableParameterfv)
|
|
||||||
const GLfloat *address = offset + (const GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glColorTableParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glCopyColorSubTable
|
|
||||||
* Signature: (IIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyColorSubTable
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint start, jint x, jint y, jint width)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCopyColorSubTable)
|
|
||||||
glCopyColorSubTable(target, start, x, y, width);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glCopyColorTable
|
|
||||||
* Signature: (IIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyColorTable
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint x, jint y, jint width)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCopyColorTable)
|
|
||||||
glCopyColorTable(target, internalformat, x, y, width);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glBlendEquation
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glBlendEquation
|
|
||||||
(JNIEnv *env, jclass clazz, jint mode)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glBlendEquation)
|
|
||||||
glBlendEquation(mode);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glBlendColor
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glBlendColor(JNIEnv * env, jclass clazz, jfloat p0, jfloat p1, jfloat p2, jfloat p3)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glBlendColor)
|
|
||||||
glBlendColor((GLfloat) p0, (GLfloat) p1, (GLfloat) p2, (GLfloat) p3);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glHistogram
|
|
||||||
* Signature: (IIIZ)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glHistogram
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint width, jint internalformat, jboolean sink)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glHistogram)
|
|
||||||
glHistogram(target, width, internalformat, sink);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glResetHistogram
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glResetHistogram
|
|
||||||
(JNIEnv *env, jclass clazz, jint target)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glResetHistogram)
|
|
||||||
glResetHistogram(target);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetHistogram
|
|
||||||
* Signature: (IZIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogram
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jboolean reset, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetHistogram)
|
|
||||||
void *address = (void *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glGetHistogram(target, reset, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetHistogramParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogramParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetHistogramParameterfv)
|
|
||||||
GLfloat *address = offset + (GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetHistogramParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetHistogramParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogramParameteriv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetHistogramParameteriv)
|
|
||||||
GLint *address = offset + (GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetHistogramParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glMinmax
|
|
||||||
* Signature: (IIZ)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glMinmax
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jboolean sink)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMinmax)
|
|
||||||
glMinmax(target, internalformat, sink);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glResetMinmax
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glResetMinmax
|
|
||||||
(JNIEnv *env, jclass clazz, jint target)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glResetMinmax)
|
|
||||||
glResetMinmax(target);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetMinmax
|
|
||||||
* Signature: (IZIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmax
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jboolean reset, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetMinmax)
|
|
||||||
void *address = (void *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glGetMinmax(target, reset, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetMinmaxParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmaxParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetMinmaxParameterfv)
|
|
||||||
GLfloat *address = offset + (GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetMinmaxParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetMinmaxParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmaxParameteriv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetMinmaxParameteriv)
|
|
||||||
GLint *address = offset + (GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetMinmaxParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionFilter1D
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionFilter1D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionFilter1D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glConvolutionFilter1D(target, internalformat, width, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionFilter2D
|
|
||||||
* Signature: (IIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionFilter2D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionFilter2D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glConvolutionFilter2D(target, internalformat, width, height, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionParameterf
|
|
||||||
* Signature: (IIF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameterf
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jfloat params)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionParameterf)
|
|
||||||
glConvolutionParameterf(target, pname, params);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionParameterfv)
|
|
||||||
const GLfloat *address = offset + (const GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glConvolutionParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionParameteri
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glConvolutionParameteri
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jint params)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionParameteri)
|
|
||||||
glConvolutionParameteri(target, pname, params);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glConvolutionParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionParameteriv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glConvolutionParameteriv)
|
|
||||||
const GLint *address = offset + (const GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glConvolutionParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glCopyConvolutionFilter1D
|
|
||||||
* Signature: (IIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyConvolutionFilter1D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint x, jint y, jint width)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCopyConvolutionFilter1D)
|
|
||||||
glCopyConvolutionFilter1D(target, internalformat, x, y, width);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glCopyConvolutionFilter2D
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyConvolutionFilter2D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint x, jint y, jint width, jint height)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCopyConvolutionFilter2D)
|
|
||||||
glCopyConvolutionFilter2D(target, internalformat, x, y, width, height);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetConvolutionFilter
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionFilter
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetConvolutionFilter)
|
|
||||||
void *address = (void *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glGetConvolutionFilter(target, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetConvolutionParameterfv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetConvolutionParameterfv)
|
|
||||||
GLfloat *address = offset + (GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetConvolutionParameterfv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetConvolutionParameteriv
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionParameteriv
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint pname, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetConvolutionParameteriv)
|
|
||||||
GLint *address = offset + (GLint *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glGetConvolutionParameteriv(target, pname, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glSeparableFilter2D
|
|
||||||
* Signature: (IIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglSeparableFilter2D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jobject row, jint row_offset, jobject column, jint column_offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glSeparableFilter2D)
|
|
||||||
const void *address = (const void *)(row_offset + (const GLbyte *)env->GetDirectBufferAddress(row));
|
|
||||||
const void *address2 = (const void *)(column_offset + (const GLbyte *)env->GetDirectBufferAddress(column));
|
|
||||||
glSeparableFilter2D(target, internalformat, width, height, format, type, address, address2);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glGetSeparableFilter
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetSeparableFilter
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint format, jint type, jobject row, jint row_offset, jobject column, jint column_offset, jobject span, jint span_offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetSeparableFilter)
|
|
||||||
void *address = (void *)(row_offset + (GLbyte *)env->GetDirectBufferAddress(row));
|
|
||||||
void *address2 = (void *)(column_offset + (GLbyte *)env->GetDirectBufferAddress(column));
|
|
||||||
void *address3 = (void *)(span_offset + (GLbyte *)env->GetDirectBufferAddress(span));
|
|
||||||
glGetSeparableFilter(target, format, type, address, address2, address3);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglDrawRangeElements
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglDrawRangeElements
|
|
||||||
(JNIEnv *env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glDrawRangeElements)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glDrawRangeElements(mode, start, end, count, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglDrawRangeElementsVBO
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglDrawRangeElementsVBO
|
|
||||||
(JNIEnv *env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jint buffer_offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glDrawRangeElements)
|
|
||||||
glDrawRangeElements(mode, start, end, count, type, offsetToPointer(buffer_offset));
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glTexImage3D
|
|
||||||
* Signature: (IIIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglTexImage3D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glTexImage3D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glTexSubImage3D
|
|
||||||
* Signature: (IIIIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglTexSubImage3D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glTexSubImage3D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: glCopyTexSubImage3D
|
|
||||||
* Signature: (IIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_glCopyTexSubImage3D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint x, jint y, jint width, jint height)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCopyTexSubImage3D)
|
|
||||||
glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,329 +0,0 @@
|
||||||
/* 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
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL11 */
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL12 */
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglColorTable
|
|
||||||
* Signature: (IIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTable
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglColorSubTable
|
|
||||||
* Signature: (IIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorSubTable
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglColorTableParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTableParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglColorTableParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglColorTableParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglGetColorTable
|
|
||||||
* Signature: (IIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTable
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetColorTableParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTableParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetColorTableParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetColorTableParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglGetHistogram
|
|
||||||
* Signature: (IZIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogram
|
|
||||||
(JNIEnv *, jclass, jint, jboolean, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetHistogramParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogramParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetHistogramParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetHistogramParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglGetMinmax
|
|
||||||
* Signature: (IZIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmax
|
|
||||||
(JNIEnv *, jclass, jint, jboolean, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetMinmaxParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmaxParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetMinmaxParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetMinmaxParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglConvolutionFilter1D
|
|
||||||
* Signature: (IIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionFilter1D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglConvolutionFilter2D
|
|
||||||
* Signature: (IIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionFilter2D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglConvolutionParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglConvolutionParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglConvolutionParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: nglGetConvolutionFilter
|
|
||||||
* Signature: (IIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionFilter
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetConvolutionParameterfv
|
|
||||||
* Signature: (IILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetConvolutionParameteriv
|
|
||||||
* Signature: (IILjava/nio/IntBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetConvolutionParameteriv
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglSeparableFilter2D
|
|
||||||
* Signature: (IIIIIILjava/nio/Buffer;ILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglSeparableFilter2D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglGetSeparableFilter
|
|
||||||
* Signature: (IIILjava/nio/Buffer;ILjava/nio/Buffer;ILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglGetSeparableFilter
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jobject, jint, jobject, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglDrawRangeElements
|
|
||||||
* Signature: (IIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglDrawRangeElements
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglDrawRangeElementsVBO
|
|
||||||
* Signature: (IIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglDrawRangeElementsVBO
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglTexImage3D
|
|
||||||
* Signature: (IIIIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglTexImage3D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL12
|
|
||||||
* Method: nglTexSubImage3D
|
|
||||||
* Signature: (IIIIIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL12_nglTexSubImage3D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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
|
|
|
@ -1,274 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2002 Light Weight 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Core OpenGL functions.
|
|
||||||
*
|
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
|
||||||
* @version $Revision$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "org_lwjgl_opengl_CoreGL13.h"
|
|
||||||
#include "checkGLerror.h"
|
|
||||||
#include "extgl.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glActiveTexture
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glActiveTexture
|
|
||||||
(JNIEnv *env, jclass clazz, jint texture)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glActiveTexture)
|
|
||||||
glActiveTexture(texture);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glClientActiveTexture
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glClientActiveTexture
|
|
||||||
(JNIEnv *env, jclass clazz, jint texture)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glClientActiveTexture)
|
|
||||||
glClientActiveTexture(texture);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexImage1D
|
|
||||||
* Signature: (IIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage1D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint border, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexImage1D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexImage1D(target, level, internalformat, width, border, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexImage2D
|
|
||||||
* Signature: (IIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage2D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexImage2D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexImage2D(target, level, internalformat, width, height, border, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexImage3D
|
|
||||||
* Signature: (IIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage3D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexImage3D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexSubImage1D
|
|
||||||
* Signature: (IIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage1D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint width, jint format, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexSubImage1D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexSubImage1D(target, level, xoffset, width, format, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexSubImage2D
|
|
||||||
* Signature: (IIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage2D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexSubImage2D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glCompressedTexSubImage3D
|
|
||||||
* Signature: (IIIIIIIIIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage3D
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imagesize, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glCompressedTexSubImage3D)
|
|
||||||
const void *address = (const void *)(offset + (const GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imagesize, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glGetCompressedTexImage
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglGetCompressedTexImage
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jint lod, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glGetCompressedTexImage)
|
|
||||||
void *address = (void *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glGetCompressedTexImage(target, lod, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glMultiTexCoord1f
|
|
||||||
* Signature: (IF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord1f
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jfloat s)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMultiTexCoord1f)
|
|
||||||
glMultiTexCoord1f(target, s);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glMultiTexCoord2f
|
|
||||||
* Signature: (IFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2f
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jfloat s, jfloat t)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMultiTexCoord2f)
|
|
||||||
glMultiTexCoord2f(target, s, t);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glMultiTexCoord3f
|
|
||||||
* Signature: (IFFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord3f
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jfloat s, jfloat t, jfloat r)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMultiTexCoord3f)
|
|
||||||
glMultiTexCoord3f(target, s, t, r);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glMultiTexCoord4f
|
|
||||||
* Signature: (IFFFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord4f
|
|
||||||
(JNIEnv *env, jclass clazz, jint target, jfloat s, jfloat t, jfloat r, jfloat q)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMultiTexCoord4f)
|
|
||||||
glMultiTexCoord4f(target, s, t, r, q);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glLoadTransposeMatrixf
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglLoadTransposeMatrixf
|
|
||||||
(JNIEnv *env, jclass clazz, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glLoadTransposeMatrixf)
|
|
||||||
const GLfloat *address = (const GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glLoadTransposeMatrixf(address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glMultTransposeMatrixf
|
|
||||||
* Signature: (I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglMultTransposeMatrixf
|
|
||||||
(JNIEnv *env, jclass clazz, jobject buffer, jint offset)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glMultTransposeMatrixf)
|
|
||||||
const GLfloat *address = (const GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glMultTransposeMatrixf(address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: glSampleCoverage
|
|
||||||
* Signature: (FZ)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glSampleCoverage
|
|
||||||
(JNIEnv *env, jclass clazz, jfloat value, jboolean invert)
|
|
||||||
{
|
|
||||||
CHECK_EXISTS(glSampleCoverage)
|
|
||||||
glSampleCoverage(value, invert);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
|
@ -1,145 +0,0 @@
|
||||||
/* 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
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL11 */
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL12 */
|
|
||||||
/*
|
|
||||||
* 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: nglCompressedTexImage1D
|
|
||||||
* Signature: (IIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage1D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglCompressedTexImage2D
|
|
||||||
* Signature: (IIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage2D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglCompressedTexImage3D
|
|
||||||
* Signature: (IIIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexImage3D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglCompressedTexSubImage1D
|
|
||||||
* Signature: (IIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage1D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglCompressedTexSubImage2D
|
|
||||||
* Signature: (IIIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage2D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglCompressedTexSubImage3D
|
|
||||||
* Signature: (IIIIIIIIIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglCompressedTexSubImage3D
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglGetCompressedTexImage
|
|
||||||
* Signature: (IILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglGetCompressedTexImage
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: glMultiTexCoord2f
|
|
||||||
* Signature: (IFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_glMultiTexCoord2f
|
|
||||||
(JNIEnv *, jclass, jint, jfloat, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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: 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: nglLoadTransposeMatrixf
|
|
||||||
* Signature: (Ljava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglLoadTransposeMatrixf
|
|
||||||
(JNIEnv *, jclass, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL13
|
|
||||||
* Method: nglMultTransposeMatrixf
|
|
||||||
* Signature: (Ljava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL13_nglMultTransposeMatrixf
|
|
||||||
(JNIEnv *, jclass, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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
|
|
|
@ -1,258 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2002 Light Weight 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Core OpenGL functions.
|
|
||||||
*
|
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
|
||||||
* @version $Revision$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "org_lwjgl_opengl_CoreGL14.h"
|
|
||||||
#include "checkGLerror.h"
|
|
||||||
#include "extgl.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glFogCoordf
|
|
||||||
* Signature: (F)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glFogCoordf
|
|
||||||
(JNIEnv *env, jclass clazz, jfloat f) {
|
|
||||||
CHECK_EXISTS(glFogCoordf)
|
|
||||||
glFogCoordf(f);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglFogCoordPointer
|
|
||||||
* Signature: (IILjava/nio/Buffer;)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglFogCoordPointer
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jobject buffer, jint offset) {
|
|
||||||
CHECK_EXISTS(glFogCoordPointer)
|
|
||||||
GLvoid *address = (GLvoid *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glFogCoordPointer(p1, p2, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglFogCoordPointerVBO
|
|
||||||
* Signature: (IILjava/nio/Buffer;)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglFogCoordPointerVBO
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jint buffer_offset) {
|
|
||||||
CHECK_EXISTS(glFogCoordPointer)
|
|
||||||
glFogCoordPointer(p1, p2, offsetToPointer(buffer_offset));
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glMultiDrawArrays
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglMultiDrawArrays
|
|
||||||
(JNIEnv *env, jclass clazz, jint mode, jobject first, jint first_offset, jobject count, jint count_offset, jint primcount) {
|
|
||||||
CHECK_EXISTS(glMultiDrawArrays)
|
|
||||||
GLint *address = first_offset + (GLint *)env->GetDirectBufferAddress(first);
|
|
||||||
GLsizei *address2 = count_offset + (GLsizei *)env->GetDirectBufferAddress(count);
|
|
||||||
glMultiDrawArrays(mode, address, address2, (GLsizei)primcount);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glMultiDrawElements
|
|
||||||
* Signature: (IIIII)V
|
|
||||||
*/
|
|
||||||
/*JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glMultiDrawElements
|
|
||||||
(JNIEnv *env, jclass clazz, jint mode, jobject count, jint type, jobject indices, jint primcount) {
|
|
||||||
CHECK_EXISTS(glMultiDrawElements)
|
|
||||||
const GLsizei *address = (const GLsizei *)env->GetDirectBufferAddress(count);
|
|
||||||
const void *address2 = (const void *)env->GetDirectBufferAddress(indices);
|
|
||||||
glMultiDrawElements(mode, address, type, address2, primcount);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glPointParameterf
|
|
||||||
* Signature: (IF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glPointParameterf
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jfloat p2) {
|
|
||||||
CHECK_EXISTS(glPointParameterf)
|
|
||||||
glPointParameterf(p1, p2);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glPointParameterfv
|
|
||||||
* Signature: (ILjava/nio/FloatBuffer;)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglPointParameterfv
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jobject buffer, jint offset) {
|
|
||||||
CHECK_EXISTS(glPointParameterfv)
|
|
||||||
GLfloat *address = offset + (GLfloat *)env->GetDirectBufferAddress(buffer);
|
|
||||||
glPointParameterfv(p1, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3b
|
|
||||||
* Signature: (BBB)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3b
|
|
||||||
(JNIEnv *env, jclass clazz, jbyte p1, jbyte p2, jbyte p3) {
|
|
||||||
CHECK_EXISTS(glSecondaryColor3b)
|
|
||||||
glSecondaryColor3b(p1, p2, p3);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3f
|
|
||||||
* Signature: (FFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3f
|
|
||||||
(JNIEnv *env, jclass clazz, jfloat p1, jfloat p2, jfloat p3) {
|
|
||||||
CHECK_EXISTS(glSecondaryColor3f)
|
|
||||||
glSecondaryColor3f(p1, p2, p3);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3ub
|
|
||||||
* Signature: (BBB)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3ub
|
|
||||||
(JNIEnv *env, jclass clazz, jbyte p1, jbyte p2, jbyte p3) {
|
|
||||||
CHECK_EXISTS(glSecondaryColor3ub)
|
|
||||||
glSecondaryColor3ub(p1, p2, p3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglSecondaryColorPointer
|
|
||||||
* Signature: (IIILjava/nio/Buffer;)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglSecondaryColorPointer
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jint p3, jobject buffer, jint offset) {
|
|
||||||
CHECK_EXISTS(glSecondaryColorPointer)
|
|
||||||
const GLvoid *address = (const GLvoid *)(offset + (GLbyte *)env->GetDirectBufferAddress(buffer));
|
|
||||||
glSecondaryColorPointer(p1, p2, p3, address);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglSecondaryColorPointerVBO
|
|
||||||
* Signature: (IIILjava/nio/Buffer;)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglSecondaryColorPointerVBO
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jint p3, jint buffer_offset) {
|
|
||||||
CHECK_EXISTS(glSecondaryColorPointer)
|
|
||||||
glSecondaryColorPointer(p1, p2, p3, offsetToPointer(buffer_offset));
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glBlendFuncSeparate
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glBlendFuncSeparate
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jint p3, jint p4) {
|
|
||||||
CHECK_EXISTS(glBlendFuncSeparate)
|
|
||||||
glBlendFuncSeparate(p1, p2, p3, p4);
|
|
||||||
CHECK_GL_ERROR
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos2f
|
|
||||||
* Signature: (FF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos2f
|
|
||||||
(JNIEnv *env, jclass clazz, jfloat p1, jfloat p2) {
|
|
||||||
CHECK_EXISTS(glWindowPos2f);
|
|
||||||
glWindowPos2f(p1, p2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos2i
|
|
||||||
* Signature: (II)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos2i
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2) {
|
|
||||||
CHECK_EXISTS(glWindowPos2i)
|
|
||||||
glWindowPos2i(p1, p2);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos3f
|
|
||||||
* Signature: (FFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos3f
|
|
||||||
(JNIEnv *env, jclass clazz, jfloat p1, jfloat p2, jfloat p3) {
|
|
||||||
CHECK_EXISTS(glWindowPos3f)
|
|
||||||
glWindowPos3f(p1, p2, p3);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos3i
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos3i
|
|
||||||
(JNIEnv *env, jclass clazz, jint p1, jint p2, jint p3) {
|
|
||||||
CHECK_EXISTS(glWindowPos3i)
|
|
||||||
glWindowPos3i(p1, p2, p3);
|
|
||||||
}
|
|
|
@ -1,147 +0,0 @@
|
||||||
/* 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
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL11 */
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL12 */
|
|
||||||
/* Inaccessible static: _00024assertionsDisabled */
|
|
||||||
/* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024CoreGL14 */
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glFogCoordf
|
|
||||||
* Signature: (F)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glFogCoordf
|
|
||||||
(JNIEnv *, jclass, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglFogCoordPointer
|
|
||||||
* Signature: (IILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglFogCoordPointer
|
|
||||||
(JNIEnv *, jclass, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglFogCoordPointerVBO
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglFogCoordPointerVBO
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglMultiDrawArrays
|
|
||||||
* Signature: (ILjava/nio/IntBuffer;ILjava/nio/IntBuffer;II)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglMultiDrawArrays
|
|
||||||
(JNIEnv *, jclass, jint, jobject, jint, jobject, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glPointParameterf
|
|
||||||
* Signature: (IF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glPointParameterf
|
|
||||||
(JNIEnv *, jclass, jint, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglPointParameterfv
|
|
||||||
* Signature: (ILjava/nio/FloatBuffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglPointParameterfv
|
|
||||||
(JNIEnv *, jclass, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3b
|
|
||||||
* Signature: (BBB)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3b
|
|
||||||
(JNIEnv *, jclass, jbyte, jbyte, jbyte);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3f
|
|
||||||
* Signature: (FFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3f
|
|
||||||
(JNIEnv *, jclass, jfloat, jfloat, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glSecondaryColor3ub
|
|
||||||
* Signature: (BBB)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glSecondaryColor3ub
|
|
||||||
(JNIEnv *, jclass, jbyte, jbyte, jbyte);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglSecondaryColorPointer
|
|
||||||
* Signature: (IIILjava/nio/Buffer;I)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglSecondaryColorPointer
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jobject, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: nglSecondaryColorPointerVBO
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_nglSecondaryColorPointerVBO
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glBlendFuncSeparate
|
|
||||||
* Signature: (IIII)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glBlendFuncSeparate
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos2f
|
|
||||||
* Signature: (FF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos2f
|
|
||||||
(JNIEnv *, jclass, jfloat, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos2i
|
|
||||||
* Signature: (II)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos2i
|
|
||||||
(JNIEnv *, jclass, jint, jint);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos3f
|
|
||||||
* Signature: (FFF)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos3f
|
|
||||||
(JNIEnv *, jclass, jfloat, jfloat, jfloat);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class: org_lwjgl_opengl_CoreGL14
|
|
||||||
* Method: glWindowPos3i
|
|
||||||
* Signature: (III)V
|
|
||||||
*/
|
|
||||||
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL14_glWindowPos3i
|
|
||||||
(JNIEnv *, jclass, jint, jint, jint);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue