lwjgl/src/java/org/lwjgl/opengl/ARBImaging.java

919 lines
53 KiB
Java

/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBImaging {
public static final int GL_MINMAX_SINK = 0x8030;
public static final int GL_MINMAX_FORMAT = 0x802f;
public static final int GL_MINMAX = 0x802e;
public static final int GL_HISTOGRAM_SINK = 0x802d;
public static final int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802c;
public static final int GL_HISTOGRAM_ALPHA_SIZE = 0x802b;
public static final int GL_HISTOGRAM_BLUE_SIZE = 0x802a;
public static final int GL_HISTOGRAM_GREEN_SIZE = 0x8029;
public static final int GL_HISTOGRAM_RED_SIZE = 0x8028;
public static final int GL_HISTOGRAM_FORMAT = 0x8027;
public static final int GL_HISTOGRAM_WIDTH = 0x8026;
public static final int GL_PROXY_HISTOGRAM = 0x8025;
public static final int GL_HISTOGRAM = 0x8024;
public static final int GL_CONVOLUTION_BORDER_COLOR = 0x8154;
public static final int GL_REPLICATE_BORDER = 0x8153;
public static final int GL_CONSTANT_BORDER = 0x8151;
public static final int GL_IGNORE_BORDER = 0x8150;
public static final int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
public static final int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
public static final int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
public static final int GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
public static final int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801f;
public static final int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801e;
public static final int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801d;
public static final int GL_POST_CONVOLUTION_RED_SCALE = 0x801c;
public static final int GL_MAX_CONVOLUTION_HEIGHT = 0x801b;
public static final int GL_MAX_CONVOLUTION_WIDTH = 0x801a;
public static final int GL_CONVOLUTION_HEIGHT = 0x8019;
public static final int GL_CONVOLUTION_WIDTH = 0x8018;
public static final int GL_CONVOLUTION_FORMAT = 0x8017;
public static final int GL_REDUCE = 0x8016;
public static final int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
public static final int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
public static final int GL_CONVOLUTION_BORDER_MODE = 0x8013;
public static final int GL_SEPARABLE_2D = 0x8012;
public static final int GL_CONVOLUTION_2D = 0x8011;
public static final int GL_CONVOLUTION_1D = 0x8010;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80df;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80de;
public static final int GL_COLOR_TABLE_ALPHA_SIZE = 0x80dd;
public static final int GL_COLOR_TABLE_BLUE_SIZE = 0x80dc;
public static final int GL_COLOR_TABLE_GREEN_SIZE = 0x80db;
public static final int GL_COLOR_TABLE_RED_SIZE = 0x80da;
public static final int GL_COLOR_TABLE_WIDTH = 0x80d9;
public static final int GL_COLOR_TABLE_FORMAT = 0x80d8;
public static final int GL_COLOR_TABLE_BIAS = 0x80d7;
public static final int GL_COLOR_TABLE_SCALE = 0x80d6;
public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80d5;
public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80d4;
public static final int GL_PROXY_COLOR_TABLE = 0x80d3;
public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80d2;
public static final int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80d1;
public static final int GL_COLOR_TABLE = 0x80d0;
public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80bb;
public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80ba;
public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80b9;
public static final int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80b8;
public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80b7;
public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80b6;
public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80b5;
public static final int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80b4;
public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80b3;
public static final int GL_COLOR_MATRIX_STACK_DEPTH = 0x80b2;
public static final int GL_COLOR_MATRIX = 0x80b1;
public static final int GL_FUNC_REVERSE_SUBTRACT = 0x800b;
public static final int GL_FUNC_SUBTRACT = 0x800a;
public static final int GL_BLEND_EQUATION = 0x8009;
public static final int GL_MAX = 0x8008;
public static final int GL_MIN = 0x8007;
public static final int GL_FUNC_ADD = 0x8006;
public static final int GL_BLEND_COLOR = 0x8005;
public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
public static final int GL_CONSTANT_ALPHA = 0x8003;
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
public static final int GL_CONSTANT_COLOR = 0x8001;
private ARBImaging() {
}
static native void initNativeStubs() throws LWJGLException;
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ByteBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position(), span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ByteBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ByteBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position(), span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ByteBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, IntBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, IntBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, IntBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, IntBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ShortBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 1, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ShortBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ShortBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 1, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, ShortBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, FloatBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, FloatBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, FloatBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ByteBuffer row, FloatBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position(), column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ByteBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ByteBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ByteBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ByteBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, IntBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, IntBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, IntBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, IntBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ShortBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ShortBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ShortBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, ShortBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, FloatBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, FloatBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, FloatBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, IntBuffer row, FloatBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ByteBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position(), span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ByteBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ByteBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position(), span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ByteBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, IntBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, IntBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, IntBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, IntBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ShortBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 1, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ShortBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ShortBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 1, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, ShortBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, FloatBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, FloatBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, FloatBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, ShortBuffer row, FloatBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 1, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ByteBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ByteBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ByteBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ByteBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position(), span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, IntBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, IntBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, IntBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, IntBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ShortBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ShortBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ShortBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, ShortBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 1, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, FloatBuffer column, ByteBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position());
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, FloatBuffer column, IntBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, FloatBuffer column, ShortBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 1);
}
public static void glGetSeparableFilter(int target, int format, int type, FloatBuffer row, FloatBuffer column, FloatBuffer span) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
BufferChecks.checkDirect(span);
nglGetSeparableFilter(target, format, type, row, row.position() << 2, column, column.position() << 2, span, span.position() << 2);
}
private static native void nglGetSeparableFilter(int target, int format, int type, Buffer row, int row_position, Buffer column, int column_position, Buffer span, int span_position);
public static void glGetSeparableFilter(int target, int format, int type, int row_buffer_offset, int column_buffer_offset, int span_buffer_offset) {
GLBufferChecks.ensurePackPBOenabled();
nglGetSeparableFilterBO(target, format, type, row_buffer_offset, column_buffer_offset, span_buffer_offset);
}
private static native void nglGetSeparableFilterBO(int target, int format, int type, int row_buffer_offset, int column_buffer_offset, int span_buffer_offset);
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ByteBuffer row, ByteBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position(), column, column.position());
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ByteBuffer row, IntBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position(), column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ByteBuffer row, ShortBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position(), column, column.position() << 1);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ByteBuffer row, FloatBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position(), column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, IntBuffer row, ByteBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position());
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, IntBuffer row, IntBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, IntBuffer row, ShortBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 1);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, IntBuffer row, FloatBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ShortBuffer row, ByteBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 1, column, column.position());
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ShortBuffer row, IntBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 1, column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ShortBuffer row, ShortBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 1, column, column.position() << 1);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, ShortBuffer row, FloatBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 1, column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, FloatBuffer row, ByteBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position());
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, FloatBuffer row, IntBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 2);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, FloatBuffer row, ShortBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 1);
}
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, FloatBuffer row, FloatBuffer column) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkDirect(row);
BufferChecks.checkDirect(column);
nglSeparableFilter2D(target, internalformat, width, height, format, type, row, row.position() << 2, column, column.position() << 2);
}
private static native void nglSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, Buffer row, int row_position, Buffer column, int column_position);
public static void glSeparableFilter2D(int target, int internalformat, int width, int height, int format, int type, int row_buffer_offset, int column_buffer_offset) {
GLBufferChecks.ensureUnpackPBOenabled();
nglSeparableFilter2DBO(target, internalformat, width, height, format, type, row_buffer_offset, column_buffer_offset);
}
private static native void nglSeparableFilter2DBO(int target, int internalformat, int width, int height, int format, int type, int row_buffer_offset, int column_buffer_offset);
public static void glGetConvolutionParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetConvolutionParameteriv(target, pname, params, params.position());
}
private static native void nglGetConvolutionParameteriv(int target, int pname, IntBuffer params, int params_position);
public static void glGetConvolutionParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetConvolutionParameterfv(target, pname, params, params.position());
}
private static native void nglGetConvolutionParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static void glGetConvolutionFilter(int target, int format, int type, ByteBuffer image) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(image);
nglGetConvolutionFilter(target, format, type, image, image.position());
}
public static void glGetConvolutionFilter(int target, int format, int type, IntBuffer image) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(image);
nglGetConvolutionFilter(target, format, type, image, image.position() << 2);
}
public static void glGetConvolutionFilter(int target, int format, int type, ShortBuffer image) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(image);
nglGetConvolutionFilter(target, format, type, image, image.position() << 1);
}
public static void glGetConvolutionFilter(int target, int format, int type, FloatBuffer image) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkDirect(image);
nglGetConvolutionFilter(target, format, type, image, image.position() << 2);
}
private static native void nglGetConvolutionFilter(int target, int format, int type, Buffer image, int image_position);
public static void glGetConvolutionFilter(int target, int format, int type, int image_buffer_offset) {
GLBufferChecks.ensurePackPBOenabled();
nglGetConvolutionFilterBO(target, format, type, image_buffer_offset);
}
private static native void nglGetConvolutionFilterBO(int target, int format, int type, int image_buffer_offset);
public static native void glCopyConvolutionFilter2D(int target, int internalformat, int x, int y, int width, int height);
public static native void glCopyConvolutionFilter1D(int target, int internalformat, int x, int y, int width);
public static void glConvolutionParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglConvolutionParameteriv(target, pname, params, params.position());
}
private static native void nglConvolutionParameteriv(int target, int pname, IntBuffer params, int params_position);
public static native void glConvolutionParameteri(int target, int pname, int params);
public static void glConvolutionParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglConvolutionParameterfv(target, pname, params, params.position());
}
private static native void nglConvolutionParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static native void glConvolutionParameterf(int target, int pname, float params);
public static void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, ByteBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, height, 1));
nglConvolutionFilter2D(target, internalformat, width, height, format, type, image, image.position());
}
public static void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, IntBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, height, 1));
nglConvolutionFilter2D(target, internalformat, width, height, format, type, image, image.position() << 2);
}
public static void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, ShortBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, height, 1));
nglConvolutionFilter2D(target, internalformat, width, height, format, type, image, image.position() << 1);
}
private static native void nglConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, Buffer image, int image_position);
public static void glConvolutionFilter2D(int target, int internalformat, int width, int height, int format, int type, int image_buffer_offset) {
GLBufferChecks.ensureUnpackPBOenabled();
nglConvolutionFilter2DBO(target, internalformat, width, height, format, type, image_buffer_offset);
}
private static native void nglConvolutionFilter2DBO(int target, int internalformat, int width, int height, int format, int type, int image_buffer_offset);
public static void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, ByteBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, 1, 1));
nglConvolutionFilter1D(target, internalformat, width, format, type, image, image.position());
}
public static void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, IntBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, 1, 1));
nglConvolutionFilter1D(target, internalformat, width, format, type, image, image.position() << 2);
}
public static void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, ShortBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, 1, 1));
nglConvolutionFilter1D(target, internalformat, width, format, type, image, image.position() << 1);
}
public static void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, FloatBuffer image) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(image, GLBufferChecks.calculateImageStorage(image, format, type, width, 1, 1));
nglConvolutionFilter1D(target, internalformat, width, format, type, image, image.position() << 2);
}
private static native void nglConvolutionFilter1D(int target, int internalformat, int width, int format, int type, Buffer image, int image_position);
public static void glConvolutionFilter1D(int target, int internalformat, int width, int format, int type, int image_buffer_offset) {
GLBufferChecks.ensureUnpackPBOenabled();
nglConvolutionFilter1DBO(target, internalformat, width, format, type, image_buffer_offset);
}
private static native void nglConvolutionFilter1DBO(int target, int internalformat, int width, int format, int type, int image_buffer_offset);
public static void glGetMinmaxParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetMinmaxParameteriv(target, pname, params, params.position());
}
private static native void nglGetMinmaxParameteriv(int target, int pname, IntBuffer params, int params_position);
public static void glGetMinmaxParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetMinmaxParameterfv(target, pname, params, params.position());
}
private static native void nglGetMinmaxParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static void glGetMinmax(int target, boolean reset, int format, int types, ByteBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 4);
nglGetMinmax(target, reset, format, types, values, values.position());
}
public static void glGetMinmax(int target, boolean reset, int format, int types, IntBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 4);
nglGetMinmax(target, reset, format, types, values, values.position() << 2);
}
public static void glGetMinmax(int target, boolean reset, int format, int types, ShortBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 4);
nglGetMinmax(target, reset, format, types, values, values.position() << 1);
}
public static void glGetMinmax(int target, boolean reset, int format, int types, FloatBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 4);
nglGetMinmax(target, reset, format, types, values, values.position() << 2);
}
private static native void nglGetMinmax(int target, boolean reset, int format, int types, Buffer values, int values_position);
public static void glGetMinmax(int target, boolean reset, int format, int types, int values_buffer_offset) {
GLBufferChecks.ensurePackPBOenabled();
nglGetMinmaxBO(target, reset, format, types, values_buffer_offset);
}
private static native void nglGetMinmaxBO(int target, boolean reset, int format, int types, int values_buffer_offset);
public static native void glResetMinmax(int target);
public static native void glMinmax(int target, int internalformat, boolean sink);
public static void glGetHistogramParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 256);
nglGetHistogramParameteriv(target, pname, params, params.position());
}
private static native void nglGetHistogramParameteriv(int target, int pname, IntBuffer params, int params_position);
public static void glGetHistogramParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 256);
nglGetHistogramParameterfv(target, pname, params, params.position());
}
private static native void nglGetHistogramParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static void glGetHistogram(int target, boolean reset, int format, int type, ByteBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 256);
nglGetHistogram(target, reset, format, type, values, values.position());
}
public static void glGetHistogram(int target, boolean reset, int format, int type, IntBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 256);
nglGetHistogram(target, reset, format, type, values, values.position() << 2);
}
public static void glGetHistogram(int target, boolean reset, int format, int type, ShortBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 256);
nglGetHistogram(target, reset, format, type, values, values.position() << 1);
}
public static void glGetHistogram(int target, boolean reset, int format, int type, FloatBuffer values) {
GLBufferChecks.ensurePackPBOdisabled();
BufferChecks.checkBuffer(values, 256);
nglGetHistogram(target, reset, format, type, values, values.position() << 2);
}
private static native void nglGetHistogram(int target, boolean reset, int format, int type, Buffer values, int values_position);
public static void glGetHistogram(int target, boolean reset, int format, int type, int values_buffer_offset) {
GLBufferChecks.ensurePackPBOenabled();
nglGetHistogramBO(target, reset, format, type, values_buffer_offset);
}
private static native void nglGetHistogramBO(int target, boolean reset, int format, int type, int values_buffer_offset);
public static native void glResetHistogram(int target);
public static native void glHistogram(int target, int width, int internalformat, boolean sink);
public static native void glBlendColor(float red, float green, float blue, float alpha);
public static native void glBlendEquation(int mode);
public static void glGetColorTableParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetColorTableParameterfv(target, pname, params, params.position());
}
private static native void nglGetColorTableParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static void glGetColorTableParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglGetColorTableParameteriv(target, pname, params, params.position());
}
private static native void nglGetColorTableParameteriv(int target, int pname, IntBuffer params, int params_position);
public static void glGetColorTable(int target, int format, int type, ByteBuffer data) {
BufferChecks.checkBuffer(data, 256);
nglGetColorTable(target, format, type, data, data.position());
}
public static void glGetColorTable(int target, int format, int type, FloatBuffer data) {
BufferChecks.checkBuffer(data, 256);
nglGetColorTable(target, format, type, data, data.position() << 2);
}
private static native void nglGetColorTable(int target, int format, int type, Buffer data, int data_position);
public static native void glCopyColorTable(int target, int internalformat, int x, int y, int width);
public static native void glCopyColorSubTable(int target, int start, int x, int y, int width);
public static void glColorTableParameter(int target, int pname, FloatBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglColorTableParameterfv(target, pname, params, params.position());
}
private static native void nglColorTableParameterfv(int target, int pname, FloatBuffer params, int params_position);
public static void glColorTableParameter(int target, int pname, IntBuffer params) {
BufferChecks.checkBuffer(params, 4);
nglColorTableParameteriv(target, pname, params, params.position());
}
private static native void nglColorTableParameteriv(int target, int pname, IntBuffer params, int params_position);
public static void glColorSubTable(int target, int start, int count, int format, int type, ByteBuffer data) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(data, 256);
nglColorSubTable(target, start, count, format, type, data, data.position());
}
public static void glColorSubTable(int target, int start, int count, int format, int type, FloatBuffer data) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(data, 256);
nglColorSubTable(target, start, count, format, type, data, data.position() << 2);
}
private static native void nglColorSubTable(int target, int start, int count, int format, int type, Buffer data, int data_position);
public static void glColorSubTable(int target, int start, int count, int format, int type, int data_buffer_offset) {
GLBufferChecks.ensureUnpackPBOenabled();
nglColorSubTableBO(target, start, count, format, type, data_buffer_offset);
}
private static native void nglColorSubTableBO(int target, int start, int count, int format, int type, int data_buffer_offset);
public static void glColorTable(int target, int internalFormat, int width, int format, int type, ByteBuffer data) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(data, 256);
nglColorTable(target, internalFormat, width, format, type, data, data.position());
}
public static void glColorTable(int target, int internalFormat, int width, int format, int type, FloatBuffer data) {
GLBufferChecks.ensureUnpackPBOdisabled();
BufferChecks.checkBuffer(data, 256);
nglColorTable(target, internalFormat, width, format, type, data, data.position() << 2);
}
private static native void nglColorTable(int target, int internalFormat, int width, int format, int type, Buffer data, int data_position);
public static void glColorTable(int target, int internalFormat, int width, int format, int type, int data_buffer_offset) {
GLBufferChecks.ensureUnpackPBOenabled();
nglColorTableBO(target, internalFormat, width, format, type, data_buffer_offset);
}
private static native void nglColorTableBO(int target, int internalFormat, int width, int format, int type, int data_buffer_offset);
}