1 /* 2 ** 3 ** Copyright 2013, The Android Open Source Project 4 ** 5 ** Licensed under the Apache License, Version 2.0 (the "License"); 6 ** you may not use this file except in compliance with the License. 7 ** You may obtain a copy of the License at 8 ** 9 ** http://www.apache.org/licenses/LICENSE-2.0 10 ** 11 ** Unless required by applicable law or agreed to in writing, software 12 ** distributed under the License is distributed on an "AS IS" BASIS, 13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ** See the License for the specific language governing permissions and 15 ** limitations under the License. 16 */ 17 18 // This source file is automatically generated 19 20 package android.opengl; 21 22 /** OpenGL ES 3.0 23 */ 24 public class GLES30 extends GLES20 { 25 public static final int GL_READ_BUFFER = 0x0C02; 26 public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2; 27 public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3; 28 public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4; 29 public static final int GL_PACK_ROW_LENGTH = 0x0D02; 30 public static final int GL_PACK_SKIP_ROWS = 0x0D03; 31 public static final int GL_PACK_SKIP_PIXELS = 0x0D04; 32 public static final int GL_COLOR = 0x1800; 33 public static final int GL_DEPTH = 0x1801; 34 public static final int GL_STENCIL = 0x1802; 35 public static final int GL_RED = 0x1903; 36 public static final int GL_RGB8 = 0x8051; 37 public static final int GL_RGBA8 = 0x8058; 38 public static final int GL_RGB10_A2 = 0x8059; 39 public static final int GL_TEXTURE_BINDING_3D = 0x806A; 40 public static final int GL_UNPACK_SKIP_IMAGES = 0x806D; 41 public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E; 42 public static final int GL_TEXTURE_3D = 0x806F; 43 public static final int GL_TEXTURE_WRAP_R = 0x8072; 44 public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073; 45 public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368; 46 public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8; 47 public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9; 48 public static final int GL_TEXTURE_MIN_LOD = 0x813A; 49 public static final int GL_TEXTURE_MAX_LOD = 0x813B; 50 public static final int GL_TEXTURE_BASE_LEVEL = 0x813C; 51 public static final int GL_TEXTURE_MAX_LEVEL = 0x813D; 52 public static final int GL_MIN = 0x8007; 53 public static final int GL_MAX = 0x8008; 54 public static final int GL_DEPTH_COMPONENT24 = 0x81A6; 55 public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD; 56 public static final int GL_TEXTURE_COMPARE_MODE = 0x884C; 57 public static final int GL_TEXTURE_COMPARE_FUNC = 0x884D; 58 public static final int GL_CURRENT_QUERY = 0x8865; 59 public static final int GL_QUERY_RESULT = 0x8866; 60 public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867; 61 public static final int GL_BUFFER_MAPPED = 0x88BC; 62 public static final int GL_BUFFER_MAP_POINTER = 0x88BD; 63 public static final int GL_STREAM_READ = 0x88E1; 64 public static final int GL_STREAM_COPY = 0x88E2; 65 public static final int GL_STATIC_READ = 0x88E5; 66 public static final int GL_STATIC_COPY = 0x88E6; 67 public static final int GL_DYNAMIC_READ = 0x88E9; 68 public static final int GL_DYNAMIC_COPY = 0x88EA; 69 public static final int GL_MAX_DRAW_BUFFERS = 0x8824; 70 public static final int GL_DRAW_BUFFER0 = 0x8825; 71 public static final int GL_DRAW_BUFFER1 = 0x8826; 72 public static final int GL_DRAW_BUFFER2 = 0x8827; 73 public static final int GL_DRAW_BUFFER3 = 0x8828; 74 public static final int GL_DRAW_BUFFER4 = 0x8829; 75 public static final int GL_DRAW_BUFFER5 = 0x882A; 76 public static final int GL_DRAW_BUFFER6 = 0x882B; 77 public static final int GL_DRAW_BUFFER7 = 0x882C; 78 public static final int GL_DRAW_BUFFER8 = 0x882D; 79 public static final int GL_DRAW_BUFFER9 = 0x882E; 80 public static final int GL_DRAW_BUFFER10 = 0x882F; 81 public static final int GL_DRAW_BUFFER11 = 0x8830; 82 public static final int GL_DRAW_BUFFER12 = 0x8831; 83 public static final int GL_DRAW_BUFFER13 = 0x8832; 84 public static final int GL_DRAW_BUFFER14 = 0x8833; 85 public static final int GL_DRAW_BUFFER15 = 0x8834; 86 public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49; 87 public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A; 88 public static final int GL_SAMPLER_3D = 0x8B5F; 89 public static final int GL_SAMPLER_2D_SHADOW = 0x8B62; 90 public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B; 91 public static final int GL_PIXEL_PACK_BUFFER = 0x88EB; 92 public static final int GL_PIXEL_UNPACK_BUFFER = 0x88EC; 93 public static final int GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED; 94 public static final int GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF; 95 public static final int GL_FLOAT_MAT2x3 = 0x8B65; 96 public static final int GL_FLOAT_MAT2x4 = 0x8B66; 97 public static final int GL_FLOAT_MAT3x2 = 0x8B67; 98 public static final int GL_FLOAT_MAT3x4 = 0x8B68; 99 public static final int GL_FLOAT_MAT4x2 = 0x8B69; 100 public static final int GL_FLOAT_MAT4x3 = 0x8B6A; 101 public static final int GL_SRGB = 0x8C40; 102 public static final int GL_SRGB8 = 0x8C41; 103 public static final int GL_SRGB8_ALPHA8 = 0x8C43; 104 public static final int GL_COMPARE_REF_TO_TEXTURE = 0x884E; 105 public static final int GL_MAJOR_VERSION = 0x821B; 106 public static final int GL_MINOR_VERSION = 0x821C; 107 public static final int GL_NUM_EXTENSIONS = 0x821D; 108 public static final int GL_RGBA32F = 0x8814; 109 public static final int GL_RGB32F = 0x8815; 110 public static final int GL_RGBA16F = 0x881A; 111 public static final int GL_RGB16F = 0x881B; 112 public static final int GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD; 113 public static final int GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF; 114 public static final int GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904; 115 public static final int GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905; 116 public static final int GL_MAX_VARYING_COMPONENTS = 0x8B4B; 117 public static final int GL_TEXTURE_2D_ARRAY = 0x8C1A; 118 public static final int GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D; 119 public static final int GL_R11F_G11F_B10F = 0x8C3A; 120 public static final int GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B; 121 public static final int GL_RGB9_E5 = 0x8C3D; 122 public static final int GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E; 123 public static final int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76; 124 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F; 125 public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80; 126 public static final int GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83; 127 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84; 128 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85; 129 public static final int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88; 130 public static final int GL_RASTERIZER_DISCARD = 0x8C89; 131 public static final int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A; 132 public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B; 133 public static final int GL_INTERLEAVED_ATTRIBS = 0x8C8C; 134 public static final int GL_SEPARATE_ATTRIBS = 0x8C8D; 135 public static final int GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E; 136 public static final int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F; 137 public static final int GL_RGBA32UI = 0x8D70; 138 public static final int GL_RGB32UI = 0x8D71; 139 public static final int GL_RGBA16UI = 0x8D76; 140 public static final int GL_RGB16UI = 0x8D77; 141 public static final int GL_RGBA8UI = 0x8D7C; 142 public static final int GL_RGB8UI = 0x8D7D; 143 public static final int GL_RGBA32I = 0x8D82; 144 public static final int GL_RGB32I = 0x8D83; 145 public static final int GL_RGBA16I = 0x8D88; 146 public static final int GL_RGB16I = 0x8D89; 147 public static final int GL_RGBA8I = 0x8D8E; 148 public static final int GL_RGB8I = 0x8D8F; 149 public static final int GL_RED_INTEGER = 0x8D94; 150 public static final int GL_RGB_INTEGER = 0x8D98; 151 public static final int GL_RGBA_INTEGER = 0x8D99; 152 public static final int GL_SAMPLER_2D_ARRAY = 0x8DC1; 153 public static final int GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4; 154 public static final int GL_SAMPLER_CUBE_SHADOW = 0x8DC5; 155 public static final int GL_UNSIGNED_INT_VEC2 = 0x8DC6; 156 public static final int GL_UNSIGNED_INT_VEC3 = 0x8DC7; 157 public static final int GL_UNSIGNED_INT_VEC4 = 0x8DC8; 158 public static final int GL_INT_SAMPLER_2D = 0x8DCA; 159 public static final int GL_INT_SAMPLER_3D = 0x8DCB; 160 public static final int GL_INT_SAMPLER_CUBE = 0x8DCC; 161 public static final int GL_INT_SAMPLER_2D_ARRAY = 0x8DCF; 162 public static final int GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2; 163 public static final int GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3; 164 public static final int GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4; 165 public static final int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7; 166 public static final int GL_BUFFER_ACCESS_FLAGS = 0x911F; 167 public static final int GL_BUFFER_MAP_LENGTH = 0x9120; 168 public static final int GL_BUFFER_MAP_OFFSET = 0x9121; 169 public static final int GL_DEPTH_COMPONENT32F = 0x8CAC; 170 public static final int GL_DEPTH32F_STENCIL8 = 0x8CAD; 171 public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD; 172 public static final int GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210; 173 public static final int GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211; 174 public static final int GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212; 175 public static final int GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213; 176 public static final int GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214; 177 public static final int GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215; 178 public static final int GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216; 179 public static final int GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217; 180 public static final int GL_FRAMEBUFFER_DEFAULT = 0x8218; 181 public static final int GL_FRAMEBUFFER_UNDEFINED = 0x8219; 182 public static final int GL_DEPTH_STENCIL_ATTACHMENT = 0x821A; 183 public static final int GL_DEPTH_STENCIL = 0x84F9; 184 public static final int GL_UNSIGNED_INT_24_8 = 0x84FA; 185 public static final int GL_DEPTH24_STENCIL8 = 0x88F0; 186 public static final int GL_UNSIGNED_NORMALIZED = 0x8C17; 187 public static final int GL_DRAW_FRAMEBUFFER_BINDING = GL_FRAMEBUFFER_BINDING; 188 public static final int GL_READ_FRAMEBUFFER = 0x8CA8; 189 public static final int GL_DRAW_FRAMEBUFFER = 0x8CA9; 190 public static final int GL_READ_FRAMEBUFFER_BINDING = 0x8CAA; 191 public static final int GL_RENDERBUFFER_SAMPLES = 0x8CAB; 192 public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4; 193 public static final int GL_MAX_COLOR_ATTACHMENTS = 0x8CDF; 194 public static final int GL_COLOR_ATTACHMENT1 = 0x8CE1; 195 public static final int GL_COLOR_ATTACHMENT2 = 0x8CE2; 196 public static final int GL_COLOR_ATTACHMENT3 = 0x8CE3; 197 public static final int GL_COLOR_ATTACHMENT4 = 0x8CE4; 198 public static final int GL_COLOR_ATTACHMENT5 = 0x8CE5; 199 public static final int GL_COLOR_ATTACHMENT6 = 0x8CE6; 200 public static final int GL_COLOR_ATTACHMENT7 = 0x8CE7; 201 public static final int GL_COLOR_ATTACHMENT8 = 0x8CE8; 202 public static final int GL_COLOR_ATTACHMENT9 = 0x8CE9; 203 public static final int GL_COLOR_ATTACHMENT10 = 0x8CEA; 204 public static final int GL_COLOR_ATTACHMENT11 = 0x8CEB; 205 public static final int GL_COLOR_ATTACHMENT12 = 0x8CEC; 206 public static final int GL_COLOR_ATTACHMENT13 = 0x8CED; 207 public static final int GL_COLOR_ATTACHMENT14 = 0x8CEE; 208 public static final int GL_COLOR_ATTACHMENT15 = 0x8CEF; 209 public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56; 210 public static final int GL_MAX_SAMPLES = 0x8D57; 211 public static final int GL_HALF_FLOAT = 0x140B; 212 public static final int GL_MAP_READ_BIT = 0x0001; 213 public static final int GL_MAP_WRITE_BIT = 0x0002; 214 public static final int GL_MAP_INVALIDATE_RANGE_BIT = 0x0004; 215 public static final int GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008; 216 public static final int GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010; 217 public static final int GL_MAP_UNSYNCHRONIZED_BIT = 0x0020; 218 public static final int GL_RG = 0x8227; 219 public static final int GL_RG_INTEGER = 0x8228; 220 public static final int GL_R8 = 0x8229; 221 public static final int GL_RG8 = 0x822B; 222 public static final int GL_R16F = 0x822D; 223 public static final int GL_R32F = 0x822E; 224 public static final int GL_RG16F = 0x822F; 225 public static final int GL_RG32F = 0x8230; 226 public static final int GL_R8I = 0x8231; 227 public static final int GL_R8UI = 0x8232; 228 public static final int GL_R16I = 0x8233; 229 public static final int GL_R16UI = 0x8234; 230 public static final int GL_R32I = 0x8235; 231 public static final int GL_R32UI = 0x8236; 232 public static final int GL_RG8I = 0x8237; 233 public static final int GL_RG8UI = 0x8238; 234 public static final int GL_RG16I = 0x8239; 235 public static final int GL_RG16UI = 0x823A; 236 public static final int GL_RG32I = 0x823B; 237 public static final int GL_RG32UI = 0x823C; 238 public static final int GL_VERTEX_ARRAY_BINDING = 0x85B5; 239 public static final int GL_R8_SNORM = 0x8F94; 240 public static final int GL_RG8_SNORM = 0x8F95; 241 public static final int GL_RGB8_SNORM = 0x8F96; 242 public static final int GL_RGBA8_SNORM = 0x8F97; 243 public static final int GL_SIGNED_NORMALIZED = 0x8F9C; 244 public static final int GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69; 245 public static final int GL_COPY_READ_BUFFER = 0x8F36; 246 public static final int GL_COPY_WRITE_BUFFER = 0x8F37; 247 public static final int GL_COPY_READ_BUFFER_BINDING = GL_COPY_READ_BUFFER; 248 public static final int GL_COPY_WRITE_BUFFER_BINDING = GL_COPY_WRITE_BUFFER; 249 public static final int GL_UNIFORM_BUFFER = 0x8A11; 250 public static final int GL_UNIFORM_BUFFER_BINDING = 0x8A28; 251 public static final int GL_UNIFORM_BUFFER_START = 0x8A29; 252 public static final int GL_UNIFORM_BUFFER_SIZE = 0x8A2A; 253 public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B; 254 public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D; 255 public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E; 256 public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F; 257 public static final int GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30; 258 public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31; 259 public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33; 260 public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34; 261 public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35; 262 public static final int GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36; 263 public static final int GL_UNIFORM_TYPE = 0x8A37; 264 public static final int GL_UNIFORM_SIZE = 0x8A38; 265 public static final int GL_UNIFORM_NAME_LENGTH = 0x8A39; 266 public static final int GL_UNIFORM_BLOCK_INDEX = 0x8A3A; 267 public static final int GL_UNIFORM_OFFSET = 0x8A3B; 268 public static final int GL_UNIFORM_ARRAY_STRIDE = 0x8A3C; 269 public static final int GL_UNIFORM_MATRIX_STRIDE = 0x8A3D; 270 public static final int GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E; 271 public static final int GL_UNIFORM_BLOCK_BINDING = 0x8A3F; 272 public static final int GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40; 273 public static final int GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41; 274 public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42; 275 public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43; 276 public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44; 277 public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46; 278 // GL_INVALID_INDEX is defined as 0xFFFFFFFFu in C. 279 public static final int GL_INVALID_INDEX = -1; 280 public static final int GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122; 281 public static final int GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125; 282 public static final int GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111; 283 public static final int GL_OBJECT_TYPE = 0x9112; 284 public static final int GL_SYNC_CONDITION = 0x9113; 285 public static final int GL_SYNC_STATUS = 0x9114; 286 public static final int GL_SYNC_FLAGS = 0x9115; 287 public static final int GL_SYNC_FENCE = 0x9116; 288 public static final int GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; 289 public static final int GL_UNSIGNALED = 0x9118; 290 public static final int GL_SIGNALED = 0x9119; 291 public static final int GL_ALREADY_SIGNALED = 0x911A; 292 public static final int GL_TIMEOUT_EXPIRED = 0x911B; 293 public static final int GL_CONDITION_SATISFIED = 0x911C; 294 public static final int GL_WAIT_FAILED = 0x911D; 295 public static final int GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001; 296 // GL_TIMEOUT_IGNORED is defined as 0xFFFFFFFFFFFFFFFFull in C. 297 public static final long GL_TIMEOUT_IGNORED = -1; 298 public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; 299 public static final int GL_ANY_SAMPLES_PASSED = 0x8C2F; 300 public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A; 301 public static final int GL_SAMPLER_BINDING = 0x8919; 302 public static final int GL_RGB10_A2UI = 0x906F; 303 public static final int GL_TEXTURE_SWIZZLE_R = 0x8E42; 304 public static final int GL_TEXTURE_SWIZZLE_G = 0x8E43; 305 public static final int GL_TEXTURE_SWIZZLE_B = 0x8E44; 306 public static final int GL_TEXTURE_SWIZZLE_A = 0x8E45; 307 public static final int GL_GREEN = 0x1904; 308 public static final int GL_BLUE = 0x1905; 309 public static final int GL_INT_2_10_10_10_REV = 0x8D9F; 310 public static final int GL_TRANSFORM_FEEDBACK = 0x8E22; 311 public static final int GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23; 312 public static final int GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; 313 public static final int GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25; 314 public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257; 315 public static final int GL_PROGRAM_BINARY_LENGTH = 0x8741; 316 public static final int GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE; 317 public static final int GL_PROGRAM_BINARY_FORMATS = 0x87FF; 318 public static final int GL_COMPRESSED_R11_EAC = 0x9270; 319 public static final int GL_COMPRESSED_SIGNED_R11_EAC = 0x9271; 320 public static final int GL_COMPRESSED_RG11_EAC = 0x9272; 321 public static final int GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273; 322 public static final int GL_COMPRESSED_RGB8_ETC2 = 0x9274; 323 public static final int GL_COMPRESSED_SRGB8_ETC2 = 0x9275; 324 public static final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; 325 public static final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; 326 public static final int GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278; 327 public static final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; 328 public static final int GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F; 329 public static final int GL_MAX_ELEMENT_INDEX = 0x8D6B; 330 public static final int GL_NUM_SAMPLE_COUNTS = 0x9380; 331 public static final int GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF; 332 _nativeClassInit()333 native private static void _nativeClassInit(); 334 static { _nativeClassInit()335 _nativeClassInit(); 336 } 337 338 // C function void glReadBuffer ( GLenum mode ) 339 glReadBuffer( int mode )340 public static native void glReadBuffer( 341 int mode 342 ); 343 344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) 345 glDrawRangeElements( int mode, int start, int end, int count, int type, java.nio.Buffer indices )346 public static native void glDrawRangeElements( 347 int mode, 348 int start, 349 int end, 350 int count, 351 int type, 352 java.nio.Buffer indices 353 ); 354 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 356 glDrawRangeElements( int mode, int start, int end, int count, int type, int offset )357 public static native void glDrawRangeElements( 358 int mode, 359 int start, 360 int end, 361 int count, 362 int type, 363 int offset 364 ); 365 366 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 367 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.Buffer pixels )368 public static native void glTexImage3D( 369 int target, 370 int level, 371 int internalformat, 372 int width, 373 int height, 374 int depth, 375 int border, 376 int format, 377 int type, 378 java.nio.Buffer pixels 379 ); 380 381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 382 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int offset )383 public static native void glTexImage3D( 384 int target, 385 int level, 386 int internalformat, 387 int width, 388 int height, 389 int depth, 390 int border, 391 int format, 392 int type, 393 int offset 394 ); 395 396 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) 397 glTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.Buffer pixels )398 public static native void glTexSubImage3D( 399 int target, 400 int level, 401 int xoffset, 402 int yoffset, 403 int zoffset, 404 int width, 405 int height, 406 int depth, 407 int format, 408 int type, 409 java.nio.Buffer pixels 410 ); 411 412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 413 glTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int offset )414 public static native void glTexSubImage3D( 415 int target, 416 int level, 417 int xoffset, 418 int yoffset, 419 int zoffset, 420 int width, 421 int height, 422 int depth, 423 int format, 424 int type, 425 int offset 426 ); 427 428 // C function void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 429 glCopyTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height )430 public static native void glCopyTexSubImage3D( 431 int target, 432 int level, 433 int xoffset, 434 int yoffset, 435 int zoffset, 436 int x, 437 int y, 438 int width, 439 int height 440 ); 441 442 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ) 443 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, java.nio.Buffer data )444 public static native void glCompressedTexImage3D( 445 int target, 446 int level, 447 int internalformat, 448 int width, 449 int height, 450 int depth, 451 int border, 452 int imageSize, 453 java.nio.Buffer data 454 ); 455 456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset ) 457 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int offset )458 public static native void glCompressedTexImage3D( 459 int target, 460 int level, 461 int internalformat, 462 int width, 463 int height, 464 int depth, 465 int border, 466 int imageSize, 467 int offset 468 ); 469 470 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ) 471 glCompressedTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, java.nio.Buffer data )472 public static native void glCompressedTexSubImage3D( 473 int target, 474 int level, 475 int xoffset, 476 int yoffset, 477 int zoffset, 478 int width, 479 int height, 480 int depth, 481 int format, 482 int imageSize, 483 java.nio.Buffer data 484 ); 485 486 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset ) 487 glCompressedTexSubImage3D( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, int offset )488 public static native void glCompressedTexSubImage3D( 489 int target, 490 int level, 491 int xoffset, 492 int yoffset, 493 int zoffset, 494 int width, 495 int height, 496 int depth, 497 int format, 498 int imageSize, 499 int offset 500 ); 501 502 // C function void glGenQueries ( GLsizei n, GLuint *ids ) 503 glGenQueries( int n, int[] ids, int offset )504 public static native void glGenQueries( 505 int n, 506 int[] ids, 507 int offset 508 ); 509 510 // C function void glGenQueries ( GLsizei n, GLuint *ids ) 511 glGenQueries( int n, java.nio.IntBuffer ids )512 public static native void glGenQueries( 513 int n, 514 java.nio.IntBuffer ids 515 ); 516 517 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids ) 518 glDeleteQueries( int n, int[] ids, int offset )519 public static native void glDeleteQueries( 520 int n, 521 int[] ids, 522 int offset 523 ); 524 525 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids ) 526 glDeleteQueries( int n, java.nio.IntBuffer ids )527 public static native void glDeleteQueries( 528 int n, 529 java.nio.IntBuffer ids 530 ); 531 532 // C function GLboolean glIsQuery ( GLuint id ) 533 glIsQuery( int id )534 public static native boolean glIsQuery( 535 int id 536 ); 537 538 // C function void glBeginQuery ( GLenum target, GLuint id ) 539 glBeginQuery( int target, int id )540 public static native void glBeginQuery( 541 int target, 542 int id 543 ); 544 545 // C function void glEndQuery ( GLenum target ) 546 glEndQuery( int target )547 public static native void glEndQuery( 548 int target 549 ); 550 551 // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params ) 552 glGetQueryiv( int target, int pname, int[] params, int offset )553 public static native void glGetQueryiv( 554 int target, 555 int pname, 556 int[] params, 557 int offset 558 ); 559 560 // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params ) 561 glGetQueryiv( int target, int pname, java.nio.IntBuffer params )562 public static native void glGetQueryiv( 563 int target, 564 int pname, 565 java.nio.IntBuffer params 566 ); 567 568 // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params ) 569 glGetQueryObjectuiv( int id, int pname, int[] params, int offset )570 public static native void glGetQueryObjectuiv( 571 int id, 572 int pname, 573 int[] params, 574 int offset 575 ); 576 577 // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params ) 578 glGetQueryObjectuiv( int id, int pname, java.nio.IntBuffer params )579 public static native void glGetQueryObjectuiv( 580 int id, 581 int pname, 582 java.nio.IntBuffer params 583 ); 584 585 // C function GLboolean glUnmapBuffer ( GLenum target ) 586 glUnmapBuffer( int target )587 public static native boolean glUnmapBuffer( 588 int target 589 ); 590 591 // C function void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params ) 592 glGetBufferPointerv( int target, int pname )593 public static native java.nio.Buffer glGetBufferPointerv( 594 int target, 595 int pname 596 ); 597 598 // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs ) 599 glDrawBuffers( int n, int[] bufs, int offset )600 public static native void glDrawBuffers( 601 int n, 602 int[] bufs, 603 int offset 604 ); 605 606 // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs ) 607 glDrawBuffers( int n, java.nio.IntBuffer bufs )608 public static native void glDrawBuffers( 609 int n, 610 java.nio.IntBuffer bufs 611 ); 612 613 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 614 glUniformMatrix2x3fv( int location, int count, boolean transpose, float[] value, int offset )615 public static native void glUniformMatrix2x3fv( 616 int location, 617 int count, 618 boolean transpose, 619 float[] value, 620 int offset 621 ); 622 623 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 624 glUniformMatrix2x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )625 public static native void glUniformMatrix2x3fv( 626 int location, 627 int count, 628 boolean transpose, 629 java.nio.FloatBuffer value 630 ); 631 632 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 633 glUniformMatrix3x2fv( int location, int count, boolean transpose, float[] value, int offset )634 public static native void glUniformMatrix3x2fv( 635 int location, 636 int count, 637 boolean transpose, 638 float[] value, 639 int offset 640 ); 641 642 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 643 glUniformMatrix3x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )644 public static native void glUniformMatrix3x2fv( 645 int location, 646 int count, 647 boolean transpose, 648 java.nio.FloatBuffer value 649 ); 650 651 // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 652 glUniformMatrix2x4fv( int location, int count, boolean transpose, float[] value, int offset )653 public static native void glUniformMatrix2x4fv( 654 int location, 655 int count, 656 boolean transpose, 657 float[] value, 658 int offset 659 ); 660 661 // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 662 glUniformMatrix2x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )663 public static native void glUniformMatrix2x4fv( 664 int location, 665 int count, 666 boolean transpose, 667 java.nio.FloatBuffer value 668 ); 669 670 // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 671 glUniformMatrix4x2fv( int location, int count, boolean transpose, float[] value, int offset )672 public static native void glUniformMatrix4x2fv( 673 int location, 674 int count, 675 boolean transpose, 676 float[] value, 677 int offset 678 ); 679 680 // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 681 glUniformMatrix4x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )682 public static native void glUniformMatrix4x2fv( 683 int location, 684 int count, 685 boolean transpose, 686 java.nio.FloatBuffer value 687 ); 688 689 // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 690 glUniformMatrix3x4fv( int location, int count, boolean transpose, float[] value, int offset )691 public static native void glUniformMatrix3x4fv( 692 int location, 693 int count, 694 boolean transpose, 695 float[] value, 696 int offset 697 ); 698 699 // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 700 glUniformMatrix3x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )701 public static native void glUniformMatrix3x4fv( 702 int location, 703 int count, 704 boolean transpose, 705 java.nio.FloatBuffer value 706 ); 707 708 // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 709 glUniformMatrix4x3fv( int location, int count, boolean transpose, float[] value, int offset )710 public static native void glUniformMatrix4x3fv( 711 int location, 712 int count, 713 boolean transpose, 714 float[] value, 715 int offset 716 ); 717 718 // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 719 glUniformMatrix4x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )720 public static native void glUniformMatrix4x3fv( 721 int location, 722 int count, 723 boolean transpose, 724 java.nio.FloatBuffer value 725 ); 726 727 // C function void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) 728 glBlitFramebuffer( int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter )729 public static native void glBlitFramebuffer( 730 int srcX0, 731 int srcY0, 732 int srcX1, 733 int srcY1, 734 int dstX0, 735 int dstY0, 736 int dstX1, 737 int dstY1, 738 int mask, 739 int filter 740 ); 741 742 // C function void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) 743 glRenderbufferStorageMultisample( int target, int samples, int internalformat, int width, int height )744 public static native void glRenderbufferStorageMultisample( 745 int target, 746 int samples, 747 int internalformat, 748 int width, 749 int height 750 ); 751 752 // C function void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) 753 glFramebufferTextureLayer( int target, int attachment, int texture, int level, int layer )754 public static native void glFramebufferTextureLayer( 755 int target, 756 int attachment, 757 int texture, 758 int level, 759 int layer 760 ); 761 762 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) 763 glMapBufferRange( int target, int offset, int length, int access )764 public static native java.nio.Buffer glMapBufferRange( 765 int target, 766 int offset, 767 int length, 768 int access 769 ); 770 771 // C function void glFlushMappedBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length ) 772 glFlushMappedBufferRange( int target, int offset, int length )773 public static native void glFlushMappedBufferRange( 774 int target, 775 int offset, 776 int length 777 ); 778 779 // C function void glBindVertexArray ( GLuint array ) 780 glBindVertexArray( int array )781 public static native void glBindVertexArray( 782 int array 783 ); 784 785 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays ) 786 glDeleteVertexArrays( int n, int[] arrays, int offset )787 public static native void glDeleteVertexArrays( 788 int n, 789 int[] arrays, 790 int offset 791 ); 792 793 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays ) 794 glDeleteVertexArrays( int n, java.nio.IntBuffer arrays )795 public static native void glDeleteVertexArrays( 796 int n, 797 java.nio.IntBuffer arrays 798 ); 799 800 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays ) 801 glGenVertexArrays( int n, int[] arrays, int offset )802 public static native void glGenVertexArrays( 803 int n, 804 int[] arrays, 805 int offset 806 ); 807 808 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays ) 809 glGenVertexArrays( int n, java.nio.IntBuffer arrays )810 public static native void glGenVertexArrays( 811 int n, 812 java.nio.IntBuffer arrays 813 ); 814 815 // C function GLboolean glIsVertexArray ( GLuint array ) 816 glIsVertexArray( int array )817 public static native boolean glIsVertexArray( 818 int array 819 ); 820 821 // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data ) 822 glGetIntegeri_v( int target, int index, int[] data, int offset )823 public static native void glGetIntegeri_v( 824 int target, 825 int index, 826 int[] data, 827 int offset 828 ); 829 830 // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data ) 831 glGetIntegeri_v( int target, int index, java.nio.IntBuffer data )832 public static native void glGetIntegeri_v( 833 int target, 834 int index, 835 java.nio.IntBuffer data 836 ); 837 838 // C function void glBeginTransformFeedback ( GLenum primitiveMode ) 839 glBeginTransformFeedback( int primitiveMode )840 public static native void glBeginTransformFeedback( 841 int primitiveMode 842 ); 843 844 // C function void glEndTransformFeedback ( void ) 845 glEndTransformFeedback( )846 public static native void glEndTransformFeedback( 847 ); 848 849 // C function void glBindBufferRange ( GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size ) 850 glBindBufferRange( int target, int index, int buffer, int offset, int size )851 public static native void glBindBufferRange( 852 int target, 853 int index, 854 int buffer, 855 int offset, 856 int size 857 ); 858 859 // C function void glBindBufferBase ( GLenum target, GLuint index, GLuint buffer ) 860 glBindBufferBase( int target, int index, int buffer )861 public static native void glBindBufferBase( 862 int target, 863 int index, 864 int buffer 865 ); 866 867 // C function void glTransformFeedbackVaryings ( GLuint program, GLsizei count, const GLchar *varyings, GLenum bufferMode ) 868 glTransformFeedbackVaryings( int program, String[] varyings, int bufferMode )869 public static native void glTransformFeedbackVaryings( 870 int program, 871 String[] varyings, 872 int bufferMode 873 ); 874 875 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 876 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset )877 public static native void glGetTransformFeedbackVarying( 878 int program, 879 int index, 880 int bufsize, 881 int[] length, 882 int lengthOffset, 883 int[] size, 884 int sizeOffset, 885 int[] type, 886 int typeOffset, 887 byte[] name, 888 int nameOffset 889 ); 890 891 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 892 /** 893 * @deprecated 894 * Use the version that takes a ByteBuffer as the last argument, or the versions that return a String. 895 * */ glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name )896 public static native void glGetTransformFeedbackVarying( 897 int program, 898 int index, 899 int bufsize, 900 java.nio.IntBuffer length, 901 java.nio.IntBuffer size, 902 java.nio.IntBuffer type, 903 byte name 904 ); 905 906 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 907 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name )908 public static native void glGetTransformFeedbackVarying( 909 int program, 910 int index, 911 int bufsize, 912 java.nio.IntBuffer length, 913 java.nio.IntBuffer size, 914 java.nio.IntBuffer type, 915 java.nio.ByteBuffer name 916 ); 917 918 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 919 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset )920 public static native String glGetTransformFeedbackVarying( 921 int program, 922 int index, 923 int[] size, 924 int sizeOffset, 925 int[] type, 926 int typeOffset 927 ); 928 929 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 930 glGetTransformFeedbackVarying( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type )931 public static native String glGetTransformFeedbackVarying( 932 int program, 933 int index, 934 java.nio.IntBuffer size, 935 java.nio.IntBuffer type 936 ); 937 938 // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 939 glVertexAttribIPointerBounds( int index, int size, int type, int stride, java.nio.Buffer pointer, int remaining )940 private static native void glVertexAttribIPointerBounds( 941 int index, 942 int size, 943 int type, 944 int stride, 945 java.nio.Buffer pointer, 946 int remaining 947 ); 948 glVertexAttribIPointer( int index, int size, int type, int stride, java.nio.Buffer pointer )949 public static void glVertexAttribIPointer( 950 int index, 951 int size, 952 int type, 953 int stride, 954 java.nio.Buffer pointer 955 ) { 956 glVertexAttribIPointerBounds( 957 index, 958 size, 959 type, 960 stride, 961 pointer, 962 pointer.remaining() 963 ); 964 } 965 966 // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, GLsizei offset ) 967 glVertexAttribIPointer( int index, int size, int type, int stride, int offset )968 public static native void glVertexAttribIPointer( 969 int index, 970 int size, 971 int type, 972 int stride, 973 int offset 974 ); 975 976 // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params ) 977 glGetVertexAttribIiv( int index, int pname, int[] params, int offset )978 public static native void glGetVertexAttribIiv( 979 int index, 980 int pname, 981 int[] params, 982 int offset 983 ); 984 985 // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params ) 986 glGetVertexAttribIiv( int index, int pname, java.nio.IntBuffer params )987 public static native void glGetVertexAttribIiv( 988 int index, 989 int pname, 990 java.nio.IntBuffer params 991 ); 992 993 // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params ) 994 glGetVertexAttribIuiv( int index, int pname, int[] params, int offset )995 public static native void glGetVertexAttribIuiv( 996 int index, 997 int pname, 998 int[] params, 999 int offset 1000 ); 1001 1002 // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params ) 1003 glGetVertexAttribIuiv( int index, int pname, java.nio.IntBuffer params )1004 public static native void glGetVertexAttribIuiv( 1005 int index, 1006 int pname, 1007 java.nio.IntBuffer params 1008 ); 1009 1010 // C function void glVertexAttribI4i ( GLuint index, GLint x, GLint y, GLint z, GLint w ) 1011 glVertexAttribI4i( int index, int x, int y, int z, int w )1012 public static native void glVertexAttribI4i( 1013 int index, 1014 int x, 1015 int y, 1016 int z, 1017 int w 1018 ); 1019 1020 // C function void glVertexAttribI4ui ( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) 1021 glVertexAttribI4ui( int index, int x, int y, int z, int w )1022 public static native void glVertexAttribI4ui( 1023 int index, 1024 int x, 1025 int y, 1026 int z, 1027 int w 1028 ); 1029 1030 // C function void glVertexAttribI4iv ( GLuint index, const GLint *v ) 1031 glVertexAttribI4iv( int index, int[] v, int offset )1032 public static native void glVertexAttribI4iv( 1033 int index, 1034 int[] v, 1035 int offset 1036 ); 1037 1038 // C function void glVertexAttribI4iv ( GLuint index, const GLint *v ) 1039 glVertexAttribI4iv( int index, java.nio.IntBuffer v )1040 public static native void glVertexAttribI4iv( 1041 int index, 1042 java.nio.IntBuffer v 1043 ); 1044 1045 // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v ) 1046 glVertexAttribI4uiv( int index, int[] v, int offset )1047 public static native void glVertexAttribI4uiv( 1048 int index, 1049 int[] v, 1050 int offset 1051 ); 1052 1053 // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v ) 1054 glVertexAttribI4uiv( int index, java.nio.IntBuffer v )1055 public static native void glVertexAttribI4uiv( 1056 int index, 1057 java.nio.IntBuffer v 1058 ); 1059 1060 // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params ) 1061 glGetUniformuiv( int program, int location, int[] params, int offset )1062 public static native void glGetUniformuiv( 1063 int program, 1064 int location, 1065 int[] params, 1066 int offset 1067 ); 1068 1069 // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params ) 1070 glGetUniformuiv( int program, int location, java.nio.IntBuffer params )1071 public static native void glGetUniformuiv( 1072 int program, 1073 int location, 1074 java.nio.IntBuffer params 1075 ); 1076 1077 // C function GLint glGetFragDataLocation ( GLuint program, const GLchar *name ) 1078 glGetFragDataLocation( int program, String name )1079 public static native int glGetFragDataLocation( 1080 int program, 1081 String name 1082 ); 1083 1084 // C function void glUniform1ui ( GLint location, GLuint v0 ) 1085 glUniform1ui( int location, int v0 )1086 public static native void glUniform1ui( 1087 int location, 1088 int v0 1089 ); 1090 1091 // C function void glUniform2ui ( GLint location, GLuint v0, GLuint v1 ) 1092 glUniform2ui( int location, int v0, int v1 )1093 public static native void glUniform2ui( 1094 int location, 1095 int v0, 1096 int v1 1097 ); 1098 1099 // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 1100 glUniform3ui( int location, int v0, int v1, int v2 )1101 public static native void glUniform3ui( 1102 int location, 1103 int v0, 1104 int v1, 1105 int v2 1106 ); 1107 1108 // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 1109 glUniform4ui( int location, int v0, int v1, int v2, int v3 )1110 public static native void glUniform4ui( 1111 int location, 1112 int v0, 1113 int v1, 1114 int v2, 1115 int v3 1116 ); 1117 1118 // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value ) 1119 glUniform1uiv( int location, int count, int[] value, int offset )1120 public static native void glUniform1uiv( 1121 int location, 1122 int count, 1123 int[] value, 1124 int offset 1125 ); 1126 1127 // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value ) 1128 glUniform1uiv( int location, int count, java.nio.IntBuffer value )1129 public static native void glUniform1uiv( 1130 int location, 1131 int count, 1132 java.nio.IntBuffer value 1133 ); 1134 1135 // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value ) 1136 glUniform2uiv( int location, int count, int[] value, int offset )1137 public static native void glUniform2uiv( 1138 int location, 1139 int count, 1140 int[] value, 1141 int offset 1142 ); 1143 1144 // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value ) 1145 glUniform2uiv( int location, int count, java.nio.IntBuffer value )1146 public static native void glUniform2uiv( 1147 int location, 1148 int count, 1149 java.nio.IntBuffer value 1150 ); 1151 1152 // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value ) 1153 glUniform3uiv( int location, int count, int[] value, int offset )1154 public static native void glUniform3uiv( 1155 int location, 1156 int count, 1157 int[] value, 1158 int offset 1159 ); 1160 1161 // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value ) 1162 glUniform3uiv( int location, int count, java.nio.IntBuffer value )1163 public static native void glUniform3uiv( 1164 int location, 1165 int count, 1166 java.nio.IntBuffer value 1167 ); 1168 1169 // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value ) 1170 glUniform4uiv( int location, int count, int[] value, int offset )1171 public static native void glUniform4uiv( 1172 int location, 1173 int count, 1174 int[] value, 1175 int offset 1176 ); 1177 1178 // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value ) 1179 glUniform4uiv( int location, int count, java.nio.IntBuffer value )1180 public static native void glUniform4uiv( 1181 int location, 1182 int count, 1183 java.nio.IntBuffer value 1184 ); 1185 1186 // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value ) 1187 glClearBufferiv( int buffer, int drawbuffer, int[] value, int offset )1188 public static native void glClearBufferiv( 1189 int buffer, 1190 int drawbuffer, 1191 int[] value, 1192 int offset 1193 ); 1194 1195 // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value ) 1196 glClearBufferiv( int buffer, int drawbuffer, java.nio.IntBuffer value )1197 public static native void glClearBufferiv( 1198 int buffer, 1199 int drawbuffer, 1200 java.nio.IntBuffer value 1201 ); 1202 1203 // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value ) 1204 glClearBufferuiv( int buffer, int drawbuffer, int[] value, int offset )1205 public static native void glClearBufferuiv( 1206 int buffer, 1207 int drawbuffer, 1208 int[] value, 1209 int offset 1210 ); 1211 1212 // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value ) 1213 glClearBufferuiv( int buffer, int drawbuffer, java.nio.IntBuffer value )1214 public static native void glClearBufferuiv( 1215 int buffer, 1216 int drawbuffer, 1217 java.nio.IntBuffer value 1218 ); 1219 1220 // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value ) 1221 glClearBufferfv( int buffer, int drawbuffer, float[] value, int offset )1222 public static native void glClearBufferfv( 1223 int buffer, 1224 int drawbuffer, 1225 float[] value, 1226 int offset 1227 ); 1228 1229 // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value ) 1230 glClearBufferfv( int buffer, int drawbuffer, java.nio.FloatBuffer value )1231 public static native void glClearBufferfv( 1232 int buffer, 1233 int drawbuffer, 1234 java.nio.FloatBuffer value 1235 ); 1236 1237 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) 1238 glClearBufferfi( int buffer, int drawbuffer, float depth, int stencil )1239 public static native void glClearBufferfi( 1240 int buffer, 1241 int drawbuffer, 1242 float depth, 1243 int stencil 1244 ); 1245 1246 // C function const GLubyte * glGetStringi ( GLenum name, GLuint index ) 1247 glGetStringi( int name, int index )1248 public static native String glGetStringi( 1249 int name, 1250 int index 1251 ); 1252 1253 // C function void glCopyBufferSubData ( GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size ) 1254 glCopyBufferSubData( int readTarget, int writeTarget, int readOffset, int writeOffset, int size )1255 public static native void glCopyBufferSubData( 1256 int readTarget, 1257 int writeTarget, 1258 int readOffset, 1259 int writeOffset, 1260 int size 1261 ); 1262 1263 // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices ) 1264 glGetUniformIndices( int program, String[] uniformNames, int[] uniformIndices, int uniformIndicesOffset )1265 public static native void glGetUniformIndices( 1266 int program, 1267 String[] uniformNames, 1268 int[] uniformIndices, 1269 int uniformIndicesOffset 1270 ); 1271 1272 // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices ) 1273 glGetUniformIndices( int program, String[] uniformNames, java.nio.IntBuffer uniformIndices )1274 public static native void glGetUniformIndices( 1275 int program, 1276 String[] uniformNames, 1277 java.nio.IntBuffer uniformIndices 1278 ); 1279 1280 // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params ) 1281 glGetActiveUniformsiv( int program, int uniformCount, int[] uniformIndices, int uniformIndicesOffset, int pname, int[] params, int paramsOffset )1282 public static native void glGetActiveUniformsiv( 1283 int program, 1284 int uniformCount, 1285 int[] uniformIndices, 1286 int uniformIndicesOffset, 1287 int pname, 1288 int[] params, 1289 int paramsOffset 1290 ); 1291 1292 // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params ) 1293 glGetActiveUniformsiv( int program, int uniformCount, java.nio.IntBuffer uniformIndices, int pname, java.nio.IntBuffer params )1294 public static native void glGetActiveUniformsiv( 1295 int program, 1296 int uniformCount, 1297 java.nio.IntBuffer uniformIndices, 1298 int pname, 1299 java.nio.IntBuffer params 1300 ); 1301 1302 // C function GLuint glGetUniformBlockIndex ( GLuint program, const GLchar *uniformBlockName ) 1303 glGetUniformBlockIndex( int program, String uniformBlockName )1304 public static native int glGetUniformBlockIndex( 1305 int program, 1306 String uniformBlockName 1307 ); 1308 1309 // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params ) 1310 glGetActiveUniformBlockiv( int program, int uniformBlockIndex, int pname, int[] params, int offset )1311 public static native void glGetActiveUniformBlockiv( 1312 int program, 1313 int uniformBlockIndex, 1314 int pname, 1315 int[] params, 1316 int offset 1317 ); 1318 1319 // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params ) 1320 glGetActiveUniformBlockiv( int program, int uniformBlockIndex, int pname, java.nio.IntBuffer params )1321 public static native void glGetActiveUniformBlockiv( 1322 int program, 1323 int uniformBlockIndex, 1324 int pname, 1325 java.nio.IntBuffer params 1326 ); 1327 1328 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) 1329 glGetActiveUniformBlockName( int program, int uniformBlockIndex, int bufSize, int[] length, int lengthOffset, byte[] uniformBlockName, int uniformBlockNameOffset )1330 public static native void glGetActiveUniformBlockName( 1331 int program, 1332 int uniformBlockIndex, 1333 int bufSize, 1334 int[] length, 1335 int lengthOffset, 1336 byte[] uniformBlockName, 1337 int uniformBlockNameOffset 1338 ); 1339 1340 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) 1341 glGetActiveUniformBlockName( int program, int uniformBlockIndex, java.nio.Buffer length, java.nio.Buffer uniformBlockName )1342 public static native void glGetActiveUniformBlockName( 1343 int program, 1344 int uniformBlockIndex, 1345 java.nio.Buffer length, 1346 java.nio.Buffer uniformBlockName 1347 ); 1348 1349 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) 1350 glGetActiveUniformBlockName( int program, int uniformBlockIndex )1351 public static native String glGetActiveUniformBlockName( 1352 int program, 1353 int uniformBlockIndex 1354 ); 1355 1356 // C function void glUniformBlockBinding ( GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding ) 1357 glUniformBlockBinding( int program, int uniformBlockIndex, int uniformBlockBinding )1358 public static native void glUniformBlockBinding( 1359 int program, 1360 int uniformBlockIndex, 1361 int uniformBlockBinding 1362 ); 1363 1364 // C function void glDrawArraysInstanced ( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount ) 1365 glDrawArraysInstanced( int mode, int first, int count, int instanceCount )1366 public static native void glDrawArraysInstanced( 1367 int mode, 1368 int first, 1369 int count, 1370 int instanceCount 1371 ); 1372 1373 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 1374 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount )1375 public static native void glDrawElementsInstanced( 1376 int mode, 1377 int count, 1378 int type, 1379 java.nio.Buffer indices, 1380 int instanceCount 1381 ); 1382 1383 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 1384 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount )1385 public static native void glDrawElementsInstanced( 1386 int mode, 1387 int count, 1388 int type, 1389 int indicesOffset, 1390 int instanceCount 1391 ); 1392 1393 // C function GLsync glFenceSync ( GLenum condition, GLbitfield flags ) 1394 glFenceSync( int condition, int flags )1395 public static native long glFenceSync( 1396 int condition, 1397 int flags 1398 ); 1399 1400 // C function GLboolean glIsSync ( GLsync sync ) 1401 glIsSync( long sync )1402 public static native boolean glIsSync( 1403 long sync 1404 ); 1405 1406 // C function void glDeleteSync ( GLsync sync ) 1407 glDeleteSync( long sync )1408 public static native void glDeleteSync( 1409 long sync 1410 ); 1411 1412 // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1413 glClientWaitSync( long sync, int flags, long timeout )1414 public static native int glClientWaitSync( 1415 long sync, 1416 int flags, 1417 long timeout 1418 ); 1419 1420 // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1421 glWaitSync( long sync, int flags, long timeout )1422 public static native void glWaitSync( 1423 long sync, 1424 int flags, 1425 long timeout 1426 ); 1427 1428 // C function void glGetInteger64v ( GLenum pname, GLint64 *params ) 1429 glGetInteger64v( int pname, long[] params, int offset )1430 public static native void glGetInteger64v( 1431 int pname, 1432 long[] params, 1433 int offset 1434 ); 1435 1436 // C function void glGetInteger64v ( GLenum pname, GLint64 *params ) 1437 glGetInteger64v( int pname, java.nio.LongBuffer params )1438 public static native void glGetInteger64v( 1439 int pname, 1440 java.nio.LongBuffer params 1441 ); 1442 1443 // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values ) 1444 glGetSynciv( long sync, int pname, int bufSize, int[] length, int lengthOffset, int[] values, int valuesOffset )1445 public static native void glGetSynciv( 1446 long sync, 1447 int pname, 1448 int bufSize, 1449 int[] length, 1450 int lengthOffset, 1451 int[] values, 1452 int valuesOffset 1453 ); 1454 1455 // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values ) 1456 glGetSynciv( long sync, int pname, int bufSize, java.nio.IntBuffer length, java.nio.IntBuffer values )1457 public static native void glGetSynciv( 1458 long sync, 1459 int pname, 1460 int bufSize, 1461 java.nio.IntBuffer length, 1462 java.nio.IntBuffer values 1463 ); 1464 1465 // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data ) 1466 glGetInteger64i_v( int target, int index, long[] data, int offset )1467 public static native void glGetInteger64i_v( 1468 int target, 1469 int index, 1470 long[] data, 1471 int offset 1472 ); 1473 1474 // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data ) 1475 glGetInteger64i_v( int target, int index, java.nio.LongBuffer data )1476 public static native void glGetInteger64i_v( 1477 int target, 1478 int index, 1479 java.nio.LongBuffer data 1480 ); 1481 1482 // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params ) 1483 glGetBufferParameteri64v( int target, int pname, long[] params, int offset )1484 public static native void glGetBufferParameteri64v( 1485 int target, 1486 int pname, 1487 long[] params, 1488 int offset 1489 ); 1490 1491 // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params ) 1492 glGetBufferParameteri64v( int target, int pname, java.nio.LongBuffer params )1493 public static native void glGetBufferParameteri64v( 1494 int target, 1495 int pname, 1496 java.nio.LongBuffer params 1497 ); 1498 1499 // C function void glGenSamplers ( GLsizei count, GLuint *samplers ) 1500 glGenSamplers( int count, int[] samplers, int offset )1501 public static native void glGenSamplers( 1502 int count, 1503 int[] samplers, 1504 int offset 1505 ); 1506 1507 // C function void glGenSamplers ( GLsizei count, GLuint *samplers ) 1508 glGenSamplers( int count, java.nio.IntBuffer samplers )1509 public static native void glGenSamplers( 1510 int count, 1511 java.nio.IntBuffer samplers 1512 ); 1513 1514 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers ) 1515 glDeleteSamplers( int count, int[] samplers, int offset )1516 public static native void glDeleteSamplers( 1517 int count, 1518 int[] samplers, 1519 int offset 1520 ); 1521 1522 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers ) 1523 glDeleteSamplers( int count, java.nio.IntBuffer samplers )1524 public static native void glDeleteSamplers( 1525 int count, 1526 java.nio.IntBuffer samplers 1527 ); 1528 1529 // C function GLboolean glIsSampler ( GLuint sampler ) 1530 glIsSampler( int sampler )1531 public static native boolean glIsSampler( 1532 int sampler 1533 ); 1534 1535 // C function void glBindSampler ( GLuint unit, GLuint sampler ) 1536 glBindSampler( int unit, int sampler )1537 public static native void glBindSampler( 1538 int unit, 1539 int sampler 1540 ); 1541 1542 // C function void glSamplerParameteri ( GLuint sampler, GLenum pname, GLint param ) 1543 glSamplerParameteri( int sampler, int pname, int param )1544 public static native void glSamplerParameteri( 1545 int sampler, 1546 int pname, 1547 int param 1548 ); 1549 1550 // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param ) 1551 glSamplerParameteriv( int sampler, int pname, int[] param, int offset )1552 public static native void glSamplerParameteriv( 1553 int sampler, 1554 int pname, 1555 int[] param, 1556 int offset 1557 ); 1558 1559 // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param ) 1560 glSamplerParameteriv( int sampler, int pname, java.nio.IntBuffer param )1561 public static native void glSamplerParameteriv( 1562 int sampler, 1563 int pname, 1564 java.nio.IntBuffer param 1565 ); 1566 1567 // C function void glSamplerParameterf ( GLuint sampler, GLenum pname, GLfloat param ) 1568 glSamplerParameterf( int sampler, int pname, float param )1569 public static native void glSamplerParameterf( 1570 int sampler, 1571 int pname, 1572 float param 1573 ); 1574 1575 // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param ) 1576 glSamplerParameterfv( int sampler, int pname, float[] param, int offset )1577 public static native void glSamplerParameterfv( 1578 int sampler, 1579 int pname, 1580 float[] param, 1581 int offset 1582 ); 1583 1584 // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param ) 1585 glSamplerParameterfv( int sampler, int pname, java.nio.FloatBuffer param )1586 public static native void glSamplerParameterfv( 1587 int sampler, 1588 int pname, 1589 java.nio.FloatBuffer param 1590 ); 1591 1592 // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params ) 1593 glGetSamplerParameteriv( int sampler, int pname, int[] params, int offset )1594 public static native void glGetSamplerParameteriv( 1595 int sampler, 1596 int pname, 1597 int[] params, 1598 int offset 1599 ); 1600 1601 // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params ) 1602 glGetSamplerParameteriv( int sampler, int pname, java.nio.IntBuffer params )1603 public static native void glGetSamplerParameteriv( 1604 int sampler, 1605 int pname, 1606 java.nio.IntBuffer params 1607 ); 1608 1609 // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params ) 1610 glGetSamplerParameterfv( int sampler, int pname, float[] params, int offset )1611 public static native void glGetSamplerParameterfv( 1612 int sampler, 1613 int pname, 1614 float[] params, 1615 int offset 1616 ); 1617 1618 // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params ) 1619 glGetSamplerParameterfv( int sampler, int pname, java.nio.FloatBuffer params )1620 public static native void glGetSamplerParameterfv( 1621 int sampler, 1622 int pname, 1623 java.nio.FloatBuffer params 1624 ); 1625 1626 // C function void glVertexAttribDivisor ( GLuint index, GLuint divisor ) 1627 glVertexAttribDivisor( int index, int divisor )1628 public static native void glVertexAttribDivisor( 1629 int index, 1630 int divisor 1631 ); 1632 1633 // C function void glBindTransformFeedback ( GLenum target, GLuint id ) 1634 glBindTransformFeedback( int target, int id )1635 public static native void glBindTransformFeedback( 1636 int target, 1637 int id 1638 ); 1639 1640 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids ) 1641 glDeleteTransformFeedbacks( int n, int[] ids, int offset )1642 public static native void glDeleteTransformFeedbacks( 1643 int n, 1644 int[] ids, 1645 int offset 1646 ); 1647 1648 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids ) 1649 glDeleteTransformFeedbacks( int n, java.nio.IntBuffer ids )1650 public static native void glDeleteTransformFeedbacks( 1651 int n, 1652 java.nio.IntBuffer ids 1653 ); 1654 1655 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids ) 1656 glGenTransformFeedbacks( int n, int[] ids, int offset )1657 public static native void glGenTransformFeedbacks( 1658 int n, 1659 int[] ids, 1660 int offset 1661 ); 1662 1663 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids ) 1664 glGenTransformFeedbacks( int n, java.nio.IntBuffer ids )1665 public static native void glGenTransformFeedbacks( 1666 int n, 1667 java.nio.IntBuffer ids 1668 ); 1669 1670 // C function GLboolean glIsTransformFeedback ( GLuint id ) 1671 glIsTransformFeedback( int id )1672 public static native boolean glIsTransformFeedback( 1673 int id 1674 ); 1675 1676 // C function void glPauseTransformFeedback ( void ) 1677 glPauseTransformFeedback( )1678 public static native void glPauseTransformFeedback( 1679 ); 1680 1681 // C function void glResumeTransformFeedback ( void ) 1682 glResumeTransformFeedback( )1683 public static native void glResumeTransformFeedback( 1684 ); 1685 1686 // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary ) 1687 glGetProgramBinary( int program, int bufSize, int[] length, int lengthOffset, int[] binaryFormat, int binaryFormatOffset, java.nio.Buffer binary )1688 public static native void glGetProgramBinary( 1689 int program, 1690 int bufSize, 1691 int[] length, 1692 int lengthOffset, 1693 int[] binaryFormat, 1694 int binaryFormatOffset, 1695 java.nio.Buffer binary 1696 ); 1697 1698 // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary ) 1699 glGetProgramBinary( int program, int bufSize, java.nio.IntBuffer length, java.nio.IntBuffer binaryFormat, java.nio.Buffer binary )1700 public static native void glGetProgramBinary( 1701 int program, 1702 int bufSize, 1703 java.nio.IntBuffer length, 1704 java.nio.IntBuffer binaryFormat, 1705 java.nio.Buffer binary 1706 ); 1707 1708 // C function void glProgramBinary ( GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length ) 1709 glProgramBinary( int program, int binaryFormat, java.nio.Buffer binary, int length )1710 public static native void glProgramBinary( 1711 int program, 1712 int binaryFormat, 1713 java.nio.Buffer binary, 1714 int length 1715 ); 1716 1717 // C function void glProgramParameteri ( GLuint program, GLenum pname, GLint value ) 1718 glProgramParameteri( int program, int pname, int value )1719 public static native void glProgramParameteri( 1720 int program, 1721 int pname, 1722 int value 1723 ); 1724 1725 // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments ) 1726 glInvalidateFramebuffer( int target, int numAttachments, int[] attachments, int offset )1727 public static native void glInvalidateFramebuffer( 1728 int target, 1729 int numAttachments, 1730 int[] attachments, 1731 int offset 1732 ); 1733 1734 // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments ) 1735 glInvalidateFramebuffer( int target, int numAttachments, java.nio.IntBuffer attachments )1736 public static native void glInvalidateFramebuffer( 1737 int target, 1738 int numAttachments, 1739 java.nio.IntBuffer attachments 1740 ); 1741 1742 // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height ) 1743 glInvalidateSubFramebuffer( int target, int numAttachments, int[] attachments, int offset, int x, int y, int width, int height )1744 public static native void glInvalidateSubFramebuffer( 1745 int target, 1746 int numAttachments, 1747 int[] attachments, 1748 int offset, 1749 int x, 1750 int y, 1751 int width, 1752 int height 1753 ); 1754 1755 // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height ) 1756 glInvalidateSubFramebuffer( int target, int numAttachments, java.nio.IntBuffer attachments, int x, int y, int width, int height )1757 public static native void glInvalidateSubFramebuffer( 1758 int target, 1759 int numAttachments, 1760 java.nio.IntBuffer attachments, 1761 int x, 1762 int y, 1763 int width, 1764 int height 1765 ); 1766 1767 // C function void glTexStorage2D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height ) 1768 glTexStorage2D( int target, int levels, int internalformat, int width, int height )1769 public static native void glTexStorage2D( 1770 int target, 1771 int levels, 1772 int internalformat, 1773 int width, 1774 int height 1775 ); 1776 1777 // C function void glTexStorage3D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth ) 1778 glTexStorage3D( int target, int levels, int internalformat, int width, int height, int depth )1779 public static native void glTexStorage3D( 1780 int target, 1781 int levels, 1782 int internalformat, 1783 int width, 1784 int height, 1785 int depth 1786 ); 1787 1788 // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params ) 1789 glGetInternalformativ( int target, int internalformat, int pname, int bufSize, int[] params, int offset )1790 public static native void glGetInternalformativ( 1791 int target, 1792 int internalformat, 1793 int pname, 1794 int bufSize, 1795 int[] params, 1796 int offset 1797 ); 1798 1799 // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params ) 1800 glGetInternalformativ( int target, int internalformat, int pname, int bufSize, java.nio.IntBuffer params )1801 public static native void glGetInternalformativ( 1802 int target, 1803 int internalformat, 1804 int pname, 1805 int bufSize, 1806 java.nio.IntBuffer params 1807 ); 1808 1809 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint offset ) 1810 glReadPixels( int x, int y, int width, int height, int format, int type, int offset )1811 public static native void glReadPixels( 1812 int x, 1813 int y, 1814 int width, 1815 int height, 1816 int format, 1817 int type, 1818 int offset 1819 ); 1820 1821 } 1822