Jesse Hall | 7ab63ac | 2014-05-19 15:13:41 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | // This source file is automatically generated |
| 18 | |
| 19 | package android.opengl; |
| 20 | |
Jesse Hall | 7ab63ac | 2014-05-19 15:13:41 -0700 | [diff] [blame] | 21 | public class GLES31Ext { |
| 22 | |
| 23 | // GL_KHR_blend_equation_advanced |
| 24 | public static final int GL_BLEND_ADVANCED_COHERENT_KHR = 0x9285; |
| 25 | public static final int GL_MULTIPLY_KHR = 0x9294; |
| 26 | public static final int GL_SCREEN_KHR = 0x9295; |
| 27 | public static final int GL_OVERLAY_KHR = 0x9296; |
| 28 | public static final int GL_DARKEN_KHR = 0x9297; |
| 29 | public static final int GL_LIGHTEN_KHR = 0x9298; |
| 30 | public static final int GL_COLORDODGE_KHR = 0x9299; |
| 31 | public static final int GL_COLORBURN_KHR = 0x929A; |
| 32 | public static final int GL_HARDLIGHT_KHR = 0x929B; |
| 33 | public static final int GL_SOFTLIGHT_KHR = 0x929C; |
| 34 | public static final int GL_DIFFERENCE_KHR = 0x929E; |
| 35 | public static final int GL_EXCLUSION_KHR = 0x92A0; |
| 36 | public static final int GL_HSL_HUE_KHR = 0x92AD; |
| 37 | public static final int GL_HSL_SATURATION_KHR = 0x92AE; |
| 38 | public static final int GL_HSL_COLOR_KHR = 0x92AF; |
| 39 | public static final int GL_HSL_LUMINOSITY_KHR = 0x92B0; |
| 40 | |
| 41 | // GL_KHR_debug |
| 42 | public static final int GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR = 0x8242; |
| 43 | public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR = 0x8243; |
| 44 | public static final int GL_DEBUG_CALLBACK_FUNCTION_KHR = 0x8244; |
| 45 | public static final int GL_DEBUG_CALLBACK_USER_PARAM_KHR = 0x8245; |
| 46 | public static final int GL_DEBUG_SOURCE_API_KHR = 0x8246; |
| 47 | public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR = 0x8247; |
| 48 | public static final int GL_DEBUG_SOURCE_SHADER_COMPILER_KHR = 0x8248; |
| 49 | public static final int GL_DEBUG_SOURCE_THIRD_PARTY_KHR = 0x8249; |
| 50 | public static final int GL_DEBUG_SOURCE_APPLICATION_KHR = 0x824A; |
| 51 | public static final int GL_DEBUG_SOURCE_OTHER_KHR = 0x824B; |
| 52 | public static final int GL_DEBUG_TYPE_ERROR_KHR = 0x824C; |
| 53 | public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR = 0x824D; |
| 54 | public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR = 0x824E; |
| 55 | public static final int GL_DEBUG_TYPE_PORTABILITY_KHR = 0x824F; |
| 56 | public static final int GL_DEBUG_TYPE_PERFORMANCE_KHR = 0x8250; |
| 57 | public static final int GL_DEBUG_TYPE_OTHER_KHR = 0x8251; |
| 58 | public static final int GL_DEBUG_TYPE_MARKER_KHR = 0x8268; |
| 59 | public static final int GL_DEBUG_TYPE_PUSH_GROUP_KHR = 0x8269; |
| 60 | public static final int GL_DEBUG_TYPE_POP_GROUP_KHR = 0x826A; |
| 61 | public static final int GL_DEBUG_SEVERITY_NOTIFICATION_KHR = 0x826B; |
| 62 | public static final int GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR = 0x826C; |
| 63 | public static final int GL_DEBUG_GROUP_STACK_DEPTH_KHR = 0x826D; |
| 64 | public static final int GL_BUFFER_KHR = 0x82E0; |
| 65 | public static final int GL_SHADER_KHR = 0x82E1; |
| 66 | public static final int GL_PROGRAM_KHR = 0x82E2; |
| 67 | public static final int GL_VERTEX_ARRAY_KHR = 0x8074; |
| 68 | public static final int GL_QUERY_KHR = 0x82E3; |
| 69 | public static final int GL_SAMPLER_KHR = 0x82E6; |
| 70 | public static final int GL_MAX_LABEL_LENGTH_KHR = 0x82E8; |
| 71 | public static final int GL_MAX_DEBUG_MESSAGE_LENGTH_KHR = 0x9143; |
| 72 | public static final int GL_MAX_DEBUG_LOGGED_MESSAGES_KHR = 0x9144; |
| 73 | public static final int GL_DEBUG_LOGGED_MESSAGES_KHR = 0x9145; |
| 74 | public static final int GL_DEBUG_SEVERITY_HIGH_KHR = 0x9146; |
| 75 | public static final int GL_DEBUG_SEVERITY_MEDIUM_KHR = 0x9147; |
| 76 | public static final int GL_DEBUG_SEVERITY_LOW_KHR = 0x9148; |
| 77 | public static final int GL_DEBUG_OUTPUT_KHR = 0x92E0; |
| 78 | public static final int GL_CONTEXT_FLAG_DEBUG_BIT_KHR = 0x00000002; |
| 79 | public static final int GL_STACK_OVERFLOW_KHR = 0x0503; |
| 80 | public static final int GL_STACK_UNDERFLOW_KHR = 0x0504; |
| 81 | |
| 82 | // GL_KHR_texture_compression_astc_ldr |
| 83 | public static final int GL_COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; |
| 84 | public static final int GL_COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; |
| 85 | public static final int GL_COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2; |
| 86 | public static final int GL_COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3; |
| 87 | public static final int GL_COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4; |
| 88 | public static final int GL_COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5; |
| 89 | public static final int GL_COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6; |
| 90 | public static final int GL_COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7; |
| 91 | public static final int GL_COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8; |
| 92 | public static final int GL_COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9; |
| 93 | public static final int GL_COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA; |
| 94 | public static final int GL_COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB; |
| 95 | public static final int GL_COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC; |
| 96 | public static final int GL_COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD; |
| 97 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0; |
| 98 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1; |
| 99 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2; |
| 100 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3; |
| 101 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4; |
| 102 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5; |
| 103 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6; |
| 104 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7; |
| 105 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8; |
| 106 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9; |
| 107 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA; |
| 108 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB; |
| 109 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC; |
| 110 | public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD; |
| 111 | |
| 112 | // GL_OES_sample_shading |
| 113 | public static final int GL_SAMPLE_SHADING_OES = 0x8C36; |
| 114 | public static final int GL_MIN_SAMPLE_SHADING_VALUE_OES = 0x8C37; |
| 115 | |
| 116 | // GL_OES_shader_multisample_interpolation |
| 117 | public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES = 0x8E5B; |
| 118 | public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES = 0x8E5C; |
| 119 | public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES = 0x8E5D; |
| 120 | |
| 121 | // GL_OES_texture_stencil8 |
| 122 | public static final int GL_STENCIL_INDEX_OES = 0x1901; |
| 123 | public static final int GL_STENCIL_INDEX8_OES = 0x8D48; |
| 124 | |
| 125 | // GL_OES_texture_storage_multisample_2d_array |
| 126 | public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES = 0x9102; |
| 127 | public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES = 0x9105; |
| 128 | public static final int GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910B; |
| 129 | public static final int GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910C; |
| 130 | public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910D; |
| 131 | |
| 132 | // GL_EXT_geometry_shader |
| 133 | public static final int GL_GEOMETRY_SHADER_EXT = 0x8DD9; |
| 134 | public static final int GL_GEOMETRY_SHADER_BIT_EXT = 0x00000004; |
| 135 | public static final int GL_GEOMETRY_LINKED_VERTICES_OUT_EXT = 0x8916; |
| 136 | public static final int GL_GEOMETRY_LINKED_INPUT_TYPE_EXT = 0x8917; |
| 137 | public static final int GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT = 0x8918; |
| 138 | public static final int GL_GEOMETRY_SHADER_INVOCATIONS_EXT = 0x887F; |
| 139 | public static final int GL_LAYER_PROVOKING_VERTEX_EXT = 0x825E; |
| 140 | public static final int GL_LINES_ADJACENCY_EXT = 0x000A; |
| 141 | public static final int GL_LINE_STRIP_ADJACENCY_EXT = 0x000B; |
| 142 | public static final int GL_TRIANGLES_ADJACENCY_EXT = 0x000C; |
| 143 | public static final int GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D; |
| 144 | public static final int GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF; |
| 145 | public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT = 0x8A2C; |
| 146 | public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8A32; |
| 147 | public static final int GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT = 0x9123; |
| 148 | public static final int GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT = 0x9124; |
| 149 | public static final int GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0; |
| 150 | public static final int GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1; |
| 151 | public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT = 0x8E5A; |
| 152 | public static final int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29; |
| 153 | public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT = 0x92CF; |
| 154 | public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT = 0x92D5; |
| 155 | public static final int GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT = 0x90CD; |
| 156 | public static final int GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT = 0x90D7; |
| 157 | public static final int GL_FIRST_VERTEX_CONVENTION_EXT = 0x8E4D; |
| 158 | public static final int GL_LAST_VERTEX_CONVENTION_EXT = 0x8E4E; |
| 159 | public static final int GL_UNDEFINED_VERTEX_EXT = 0x8260; |
| 160 | public static final int GL_PRIMITIVES_GENERATED_EXT = 0x8C87; |
| 161 | public static final int GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT = 0x9312; |
| 162 | public static final int GL_MAX_FRAMEBUFFER_LAYERS_EXT = 0x9317; |
| 163 | public static final int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8; |
| 164 | public static final int GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7; |
| 165 | public static final int GL_REFERENCED_BY_GEOMETRY_SHADER_EXT = 0x9309; |
| 166 | |
| 167 | // GL_EXT_primitive_bounding_box |
| 168 | public static final int GL_PRIMITIVE_BOUNDING_BOX_EXT = 0x92BE; |
| 169 | |
| 170 | // GL_EXT_tessellation_shader |
| 171 | public static final int GL_PATCHES_EXT = 0x000E; |
| 172 | public static final int GL_PATCH_VERTICES_EXT = 0x8E72; |
| 173 | public static final int GL_TESS_CONTROL_OUTPUT_VERTICES_EXT = 0x8E75; |
| 174 | public static final int GL_TESS_GEN_MODE_EXT = 0x8E76; |
| 175 | public static final int GL_TESS_GEN_SPACING_EXT = 0x8E77; |
| 176 | public static final int GL_TESS_GEN_VERTEX_ORDER_EXT = 0x8E78; |
| 177 | public static final int GL_TESS_GEN_POINT_MODE_EXT = 0x8E79; |
| 178 | public static final int GL_ISOLINES_EXT = 0x8E7A; |
| 179 | public static final int GL_QUADS_EXT = 0x0007; |
| 180 | public static final int GL_FRACTIONAL_ODD_EXT = 0x8E7B; |
| 181 | public static final int GL_FRACTIONAL_EVEN_EXT = 0x8E7C; |
| 182 | public static final int GL_MAX_PATCH_VERTICES_EXT = 0x8E7D; |
| 183 | public static final int GL_MAX_TESS_GEN_LEVEL_EXT = 0x8E7E; |
| 184 | public static final int GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT = 0x8E7F; |
| 185 | public static final int GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT = 0x8E80; |
| 186 | public static final int GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT = 0x8E81; |
| 187 | public static final int GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT = 0x8E82; |
| 188 | public static final int GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT = 0x8E83; |
| 189 | public static final int GL_MAX_TESS_PATCH_COMPONENTS_EXT = 0x8E84; |
| 190 | public static final int GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8E85; |
| 191 | public static final int GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT = 0x8E86; |
| 192 | public static final int GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT = 0x8E89; |
| 193 | public static final int GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT = 0x8E8A; |
| 194 | public static final int GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT = 0x886C; |
| 195 | public static final int GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT = 0x886D; |
| 196 | public static final int GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT = 0x8E1E; |
| 197 | public static final int GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT = 0x8E1F; |
| 198 | public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT = 0x92CD; |
| 199 | public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT = 0x92CE; |
| 200 | public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT = 0x92D3; |
| 201 | public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT = 0x92D4; |
| 202 | public static final int GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT = 0x90CB; |
| 203 | public static final int GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT = 0x90CC; |
| 204 | public static final int GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT = 0x90D8; |
| 205 | public static final int GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT = 0x90D9; |
| 206 | public static final int GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED = 0x8221; |
| 207 | public static final int GL_IS_PER_PATCH_EXT = 0x92E7; |
| 208 | public static final int GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT = 0x9307; |
| 209 | public static final int GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT = 0x9308; |
| 210 | public static final int GL_TESS_CONTROL_SHADER_EXT = 0x8E88; |
| 211 | public static final int GL_TESS_EVALUATION_SHADER_EXT = 0x8E87; |
| 212 | public static final int GL_TESS_CONTROL_SHADER_BIT_EXT = 0x00000008; |
| 213 | public static final int GL_TESS_EVALUATION_SHADER_BIT_EXT = 0x00000010; |
| 214 | |
| 215 | // GL_EXT_texture_border_clamp |
| 216 | public static final int GL_TEXTURE_BORDER_COLOR_EXT = 0x1004; |
| 217 | public static final int GL_CLAMP_TO_BORDER_EXT = 0x812D; |
| 218 | |
| 219 | // GL_EXT_texture_buffer |
| 220 | public static final int GL_TEXTURE_BUFFER_EXT = 0x8C2A; |
| 221 | public static final int GL_TEXTURE_BUFFER_BINDING_EXT = 0x8C2A; |
| 222 | public static final int GL_MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B; |
| 223 | public static final int GL_TEXTURE_BINDING_BUFFER_EXT = 0x8C2C; |
| 224 | public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D; |
| 225 | public static final int GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT = 0x919F; |
| 226 | public static final int GL_SAMPLER_BUFFER_EXT = 0x8DC2; |
| 227 | public static final int GL_INT_SAMPLER_BUFFER_EXT = 0x8DD0; |
| 228 | public static final int GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8; |
| 229 | public static final int GL_IMAGE_BUFFER_EXT = 0x9051; |
| 230 | public static final int GL_INT_IMAGE_BUFFER_EXT = 0x905C; |
| 231 | public static final int GL_UNSIGNED_INT_IMAGE_BUFFER_EXT = 0x9067; |
| 232 | public static final int GL_TEXTURE_BUFFER_OFFSET_EXT = 0x919D; |
| 233 | public static final int GL_TEXTURE_BUFFER_SIZE_EXT = 0x919E; |
| 234 | |
| 235 | // GL_EXT_texture_cube_map_array |
| 236 | public static final int GL_TEXTURE_CUBE_MAP_ARRAY_EXT = 0x9009; |
| 237 | public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT = 0x900A; |
| 238 | public static final int GL_SAMPLER_CUBE_MAP_ARRAY_EXT = 0x900C; |
| 239 | public static final int GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT = 0x900D; |
| 240 | public static final int GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT = 0x900E; |
| 241 | public static final int GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT = 0x900F; |
| 242 | public static final int GL_IMAGE_CUBE_MAP_ARRAY_EXT = 0x9054; |
| 243 | public static final int GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x905F; |
| 244 | public static final int GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x906A; |
| 245 | |
| 246 | // GL_EXT_texture_sRGB_decode |
| 247 | public static final int GL_TEXTURE_SRGB_DECODE_EXT = 0x8A48; |
| 248 | public static final int GL_DECODE_EXT = 0x8A49; |
| 249 | public static final int GL_SKIP_DECODE_EXT = 0x8A4A; |
| 250 | |
| 251 | native private static void _nativeClassInit(); |
| 252 | static { |
| 253 | _nativeClassInit(); |
| 254 | } |
| 255 | |
| 256 | private GLES31Ext() {} |
| 257 | // C function void glBlendBarrierKHR ( void ) |
| 258 | |
| 259 | public static native void glBlendBarrierKHR( |
| 260 | ); |
| 261 | |
| 262 | // C function void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) |
| 263 | |
| 264 | public static native void glDebugMessageControlKHR( |
| 265 | int source, |
| 266 | int type, |
| 267 | int severity, |
| 268 | int count, |
| 269 | int[] ids, |
| 270 | int offset, |
| 271 | boolean enabled |
| 272 | ); |
| 273 | |
| 274 | // C function void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) |
| 275 | |
| 276 | public static native void glDebugMessageControlKHR( |
| 277 | int source, |
| 278 | int type, |
| 279 | int severity, |
| 280 | int count, |
| 281 | java.nio.IntBuffer ids, |
| 282 | boolean enabled |
| 283 | ); |
| 284 | |
| 285 | // C function void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) |
| 286 | |
| 287 | public static native void glDebugMessageInsertKHR( |
| 288 | int source, |
| 289 | int type, |
| 290 | int id, |
| 291 | int severity, |
| 292 | String buf |
| 293 | ); |
| 294 | |
| 295 | // C function void glDebugMessageCallbackKHR ( GLDEBUGPROCKHR callback, const void *userParam ) |
| 296 | |
| 297 | public interface DebugProcKHR { |
| 298 | void onMessage(int source, int type, int id, int severity, String message); |
| 299 | } |
| 300 | |
| 301 | public static native void glDebugMessageCallbackKHR(DebugProcKHR callback); |
| 302 | |
| 303 | // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) |
| 304 | |
| 305 | public static native int glGetDebugMessageLogKHR( |
| 306 | int count, |
| 307 | int bufSize, |
| 308 | int[] sources, |
| 309 | int sourcesOffset, |
| 310 | int[] types, |
| 311 | int typesOffset, |
| 312 | int[] ids, |
| 313 | int idsOffset, |
| 314 | int[] severities, |
| 315 | int severitiesOffset, |
| 316 | int[] lengths, |
| 317 | int lengthsOffset, |
| 318 | byte[] messageLog, |
| 319 | int messageLogOffset); |
| 320 | |
| 321 | // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) |
| 322 | |
| 323 | public static native int glGetDebugMessageLogKHR( |
| 324 | int count, |
| 325 | java.nio.IntBuffer sources, |
| 326 | java.nio.IntBuffer types, |
| 327 | java.nio.IntBuffer ids, |
| 328 | java.nio.IntBuffer severities, |
| 329 | java.nio.IntBuffer lengths, |
| 330 | java.nio.ByteBuffer messageLog); |
| 331 | |
| 332 | // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) |
| 333 | |
| 334 | public static native String[] glGetDebugMessageLogKHR( |
| 335 | int count, |
| 336 | int[] sources, |
| 337 | int sourcesOffset, |
| 338 | int[] types, |
| 339 | int typesOffset, |
| 340 | int[] ids, |
| 341 | int idsOffset, |
| 342 | int[] severities, |
| 343 | int severitiesOffset); |
| 344 | |
| 345 | // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) |
| 346 | |
| 347 | public static native String[] glGetDebugMessageLogKHR( |
| 348 | int count, |
| 349 | java.nio.IntBuffer sources, |
| 350 | java.nio.IntBuffer types, |
| 351 | java.nio.IntBuffer ids, |
| 352 | java.nio.IntBuffer severities); |
| 353 | |
| 354 | // C function void glPushDebugGroupKHR ( GLenum source, GLuint id, GLsizei length, const GLchar *message ) |
| 355 | |
| 356 | public static native void glPushDebugGroupKHR( |
| 357 | int source, |
| 358 | int id, |
| 359 | int length, |
| 360 | String message |
| 361 | ); |
| 362 | |
| 363 | // C function void glPopDebugGroupKHR ( void ) |
| 364 | |
| 365 | public static native void glPopDebugGroupKHR( |
| 366 | ); |
| 367 | |
| 368 | // C function void glObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei length, const GLchar *label ) |
| 369 | |
| 370 | public static native void glObjectLabelKHR( |
| 371 | int identifier, |
| 372 | int name, |
| 373 | int length, |
| 374 | String label |
| 375 | ); |
| 376 | |
| 377 | // C function void glGetObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label ) |
| 378 | |
| 379 | public static native String glGetObjectLabelKHR(int identifier, int name); |
| 380 | |
| 381 | // C function void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label ) |
| 382 | |
| 383 | public static native void glObjectPtrLabelKHR(long ptr, String label); |
| 384 | |
| 385 | // C function void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label ) |
| 386 | |
| 387 | public static native String glGetObjectPtrLabelKHR(long ptr); |
| 388 | |
| 389 | // C function void glGetPointervKHR ( GLenum pname, void **params ) |
| 390 | |
| 391 | public static native DebugProcKHR glGetDebugMessageCallbackKHR(); |
| 392 | |
| 393 | // C function void glMinSampleShadingOES ( GLfloat value ) |
| 394 | |
| 395 | public static native void glMinSampleShadingOES( |
| 396 | float value |
| 397 | ); |
| 398 | |
| 399 | // C function void glTexStorage3DMultisampleOES ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations ) |
| 400 | |
| 401 | public static native void glTexStorage3DMultisampleOES( |
| 402 | int target, |
| 403 | int samples, |
| 404 | int internalformat, |
| 405 | int width, |
| 406 | int height, |
| 407 | int depth, |
| 408 | boolean fixedsamplelocations |
| 409 | ); |
| 410 | |
| 411 | // C function void glCopyImageSubDataEXT ( GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth ) |
| 412 | |
| 413 | public static native void glCopyImageSubDataEXT( |
| 414 | int srcName, |
| 415 | int srcTarget, |
| 416 | int srcLevel, |
| 417 | int srcX, |
| 418 | int srcY, |
| 419 | int srcZ, |
| 420 | int dstName, |
| 421 | int dstTarget, |
| 422 | int dstLevel, |
| 423 | int dstX, |
| 424 | int dstY, |
| 425 | int dstZ, |
| 426 | int srcWidth, |
| 427 | int srcHeight, |
| 428 | int srcDepth |
| 429 | ); |
| 430 | |
| 431 | // C function void glEnableiEXT ( GLenum target, GLuint index ) |
| 432 | |
| 433 | public static native void glEnableiEXT( |
| 434 | int target, |
| 435 | int index |
| 436 | ); |
| 437 | |
| 438 | // C function void glDisableiEXT ( GLenum target, GLuint index ) |
| 439 | |
| 440 | public static native void glDisableiEXT( |
| 441 | int target, |
| 442 | int index |
| 443 | ); |
| 444 | |
| 445 | // C function void glBlendEquationiEXT ( GLuint buf, GLenum mode ) |
| 446 | |
| 447 | public static native void glBlendEquationiEXT( |
| 448 | int buf, |
| 449 | int mode |
| 450 | ); |
| 451 | |
| 452 | // C function void glBlendEquationSeparateiEXT ( GLuint buf, GLenum modeRGB, GLenum modeAlpha ) |
| 453 | |
| 454 | public static native void glBlendEquationSeparateiEXT( |
| 455 | int buf, |
| 456 | int modeRGB, |
| 457 | int modeAlpha |
| 458 | ); |
| 459 | |
| 460 | // C function void glBlendFunciEXT ( GLuint buf, GLenum src, GLenum dst ) |
| 461 | |
| 462 | public static native void glBlendFunciEXT( |
| 463 | int buf, |
| 464 | int src, |
| 465 | int dst |
| 466 | ); |
| 467 | |
| 468 | // C function void glBlendFuncSeparateiEXT ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) |
| 469 | |
| 470 | public static native void glBlendFuncSeparateiEXT( |
| 471 | int buf, |
| 472 | int srcRGB, |
| 473 | int dstRGB, |
| 474 | int srcAlpha, |
| 475 | int dstAlpha |
| 476 | ); |
| 477 | |
| 478 | // C function void glColorMaskiEXT ( GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a ) |
| 479 | |
| 480 | public static native void glColorMaskiEXT( |
| 481 | int index, |
| 482 | boolean r, |
| 483 | boolean g, |
| 484 | boolean b, |
| 485 | boolean a |
| 486 | ); |
| 487 | |
| 488 | // C function GLboolean glIsEnablediEXT ( GLenum target, GLuint index ) |
| 489 | |
| 490 | public static native boolean glIsEnablediEXT( |
| 491 | int target, |
| 492 | int index |
| 493 | ); |
| 494 | |
| 495 | // C function void glFramebufferTextureEXT ( GLenum target, GLenum attachment, GLuint texture, GLint level ) |
| 496 | |
| 497 | public static native void glFramebufferTextureEXT( |
| 498 | int target, |
| 499 | int attachment, |
| 500 | int texture, |
| 501 | int level |
| 502 | ); |
| 503 | |
| 504 | // C function void glPrimitiveBoundingBoxEXT ( GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW ) |
| 505 | |
| 506 | public static native void glPrimitiveBoundingBoxEXT( |
| 507 | float minX, |
| 508 | float minY, |
| 509 | float minZ, |
| 510 | float minW, |
| 511 | float maxX, |
| 512 | float maxY, |
| 513 | float maxZ, |
| 514 | float maxW |
| 515 | ); |
| 516 | |
| 517 | // C function void glPatchParameteriEXT ( GLenum pname, GLint value ) |
| 518 | |
| 519 | public static native void glPatchParameteriEXT( |
| 520 | int pname, |
| 521 | int value |
| 522 | ); |
| 523 | |
| 524 | // C function void glTexParameterIivEXT ( GLenum target, GLenum pname, const GLint *params ) |
| 525 | |
| 526 | public static native void glTexParameterIivEXT( |
| 527 | int target, |
| 528 | int pname, |
| 529 | int[] params, |
| 530 | int offset |
| 531 | ); |
| 532 | |
| 533 | // C function void glTexParameterIivEXT ( GLenum target, GLenum pname, const GLint *params ) |
| 534 | |
| 535 | public static native void glTexParameterIivEXT( |
| 536 | int target, |
| 537 | int pname, |
| 538 | java.nio.IntBuffer params |
| 539 | ); |
| 540 | |
| 541 | // C function void glTexParameterIuivEXT ( GLenum target, GLenum pname, const GLuint *params ) |
| 542 | |
| 543 | public static native void glTexParameterIuivEXT( |
| 544 | int target, |
| 545 | int pname, |
| 546 | int[] params, |
| 547 | int offset |
| 548 | ); |
| 549 | |
| 550 | // C function void glTexParameterIuivEXT ( GLenum target, GLenum pname, const GLuint *params ) |
| 551 | |
| 552 | public static native void glTexParameterIuivEXT( |
| 553 | int target, |
| 554 | int pname, |
| 555 | java.nio.IntBuffer params |
| 556 | ); |
| 557 | |
| 558 | // C function void glGetTexParameterIivEXT ( GLenum target, GLenum pname, GLint *params ) |
| 559 | |
| 560 | public static native void glGetTexParameterIivEXT( |
| 561 | int target, |
| 562 | int pname, |
| 563 | int[] params, |
| 564 | int offset |
| 565 | ); |
| 566 | |
| 567 | // C function void glGetTexParameterIivEXT ( GLenum target, GLenum pname, GLint *params ) |
| 568 | |
| 569 | public static native void glGetTexParameterIivEXT( |
| 570 | int target, |
| 571 | int pname, |
| 572 | java.nio.IntBuffer params |
| 573 | ); |
| 574 | |
| 575 | // C function void glGetTexParameterIuivEXT ( GLenum target, GLenum pname, GLuint *params ) |
| 576 | |
| 577 | public static native void glGetTexParameterIuivEXT( |
| 578 | int target, |
| 579 | int pname, |
| 580 | int[] params, |
| 581 | int offset |
| 582 | ); |
| 583 | |
| 584 | // C function void glGetTexParameterIuivEXT ( GLenum target, GLenum pname, GLuint *params ) |
| 585 | |
| 586 | public static native void glGetTexParameterIuivEXT( |
| 587 | int target, |
| 588 | int pname, |
| 589 | java.nio.IntBuffer params |
| 590 | ); |
| 591 | |
| 592 | // C function void glSamplerParameterIivEXT ( GLuint sampler, GLenum pname, const GLint *param ) |
| 593 | |
| 594 | public static native void glSamplerParameterIivEXT( |
| 595 | int sampler, |
| 596 | int pname, |
| 597 | int[] param, |
| 598 | int offset |
| 599 | ); |
| 600 | |
| 601 | // C function void glSamplerParameterIivEXT ( GLuint sampler, GLenum pname, const GLint *param ) |
| 602 | |
| 603 | public static native void glSamplerParameterIivEXT( |
| 604 | int sampler, |
| 605 | int pname, |
| 606 | java.nio.IntBuffer param |
| 607 | ); |
| 608 | |
| 609 | // C function void glSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, const GLuint *param ) |
| 610 | |
| 611 | public static native void glSamplerParameterIuivEXT( |
| 612 | int sampler, |
| 613 | int pname, |
| 614 | int[] param, |
| 615 | int offset |
| 616 | ); |
| 617 | |
| 618 | // C function void glSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, const GLuint *param ) |
| 619 | |
| 620 | public static native void glSamplerParameterIuivEXT( |
| 621 | int sampler, |
| 622 | int pname, |
| 623 | java.nio.IntBuffer param |
| 624 | ); |
| 625 | |
| 626 | // C function void glGetSamplerParameterIivEXT ( GLuint sampler, GLenum pname, GLint *params ) |
| 627 | |
| 628 | public static native void glGetSamplerParameterIivEXT( |
| 629 | int sampler, |
| 630 | int pname, |
| 631 | int[] params, |
| 632 | int offset |
| 633 | ); |
| 634 | |
| 635 | // C function void glGetSamplerParameterIivEXT ( GLuint sampler, GLenum pname, GLint *params ) |
| 636 | |
| 637 | public static native void glGetSamplerParameterIivEXT( |
| 638 | int sampler, |
| 639 | int pname, |
| 640 | java.nio.IntBuffer params |
| 641 | ); |
| 642 | |
| 643 | // C function void glGetSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, GLuint *params ) |
| 644 | |
| 645 | public static native void glGetSamplerParameterIuivEXT( |
| 646 | int sampler, |
| 647 | int pname, |
| 648 | int[] params, |
| 649 | int offset |
| 650 | ); |
| 651 | |
| 652 | // C function void glGetSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, GLuint *params ) |
| 653 | |
| 654 | public static native void glGetSamplerParameterIuivEXT( |
| 655 | int sampler, |
| 656 | int pname, |
| 657 | java.nio.IntBuffer params |
| 658 | ); |
| 659 | |
| 660 | // C function void glTexBufferEXT ( GLenum target, GLenum internalformat, GLuint buffer ) |
| 661 | |
| 662 | public static native void glTexBufferEXT( |
| 663 | int target, |
| 664 | int internalformat, |
| 665 | int buffer |
| 666 | ); |
| 667 | |
| 668 | // C function void glTexBufferRangeEXT ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size ) |
| 669 | |
| 670 | public static native void glTexBufferRangeEXT( |
| 671 | int target, |
| 672 | int internalformat, |
| 673 | int buffer, |
| 674 | int offset, |
| 675 | int size |
| 676 | ); |
| 677 | |
| 678 | } |