1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_entry_points.py using data from gl.xml. 3 // 4 // Copyright 2020 The ANGLE Project Authors. All rights reserved. 5 // Use of this source code is governed by a BSD-style license that can be 6 // found in the LICENSE file. 7 // 8 // Context_gles_ext_autogen.h: Creates a macro for interfaces in Context. 9 10 #ifndef ANGLE_CONTEXT_GLES_EXT_AUTOGEN_H_ 11 #define ANGLE_CONTEXT_GLES_EXT_AUTOGEN_H_ 12 13 #define ANGLE_GLES_EXT_CONTEXT_API \ 14 \ 15 /* GLES1 Extensions */ \ 16 \ 17 /* GL_OES_draw_texture */ \ 18 void drawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); \ 19 void drawTexfv(const GLfloat *coords); \ 20 void drawTexi(GLint x, GLint y, GLint z, GLint width, GLint height); \ 21 void drawTexiv(const GLint *coords); \ 22 void drawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); \ 23 void drawTexsv(const GLshort *coords); \ 24 void drawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); \ 25 void drawTexxv(const GLfixed *coords); \ 26 /* GL_OES_framebuffer_object */ \ 27 /* GL_OES_matrix_palette */ \ 28 void currentPaletteMatrix(GLuint matrixpaletteindex); \ 29 void loadPaletteFromModelViewMatrix(); \ 30 void matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 31 void weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 32 /* GL_OES_point_size_array */ \ 33 void pointSizePointer(VertexAttribType typePacked, GLsizei stride, const void *pointer); \ 34 /* GL_OES_point_sprite */ \ 35 /* GL_OES_query_matrix */ \ 36 GLbitfield queryMatrixx(GLfixed *mantissa, GLint *exponent); \ 37 /* GL_OES_texture_cube_map */ \ 38 void getTexGenfv(GLenum coord, GLenum pname, GLfloat *params); \ 39 void getTexGeniv(GLenum coord, GLenum pname, GLint *params); \ 40 void getTexGenxv(GLenum coord, GLenum pname, GLfixed *params); \ 41 void texGenf(GLenum coord, GLenum pname, GLfloat param); \ 42 void texGenfv(GLenum coord, GLenum pname, const GLfloat *params); \ 43 void texGeni(GLenum coord, GLenum pname, GLint param); \ 44 void texGeniv(GLenum coord, GLenum pname, const GLint *params); \ 45 void texGenx(GLenum coord, GLenum pname, GLfixed param); \ 46 void texGenxv(GLenum coord, GLenum pname, const GLfixed *params); \ 47 \ 48 /* GLES2+ Extensions */ \ 49 \ 50 /* GL_AMD_performance_monitor */ \ 51 void beginPerfMonitor(GLuint monitor); \ 52 void deletePerfMonitors(GLsizei n, GLuint *monitors); \ 53 void endPerfMonitor(GLuint monitor); \ 54 void genPerfMonitors(GLsizei n, GLuint *monitors); \ 55 void getPerfMonitorCounterData(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, \ 56 GLint *bytesWritten); \ 57 void getPerfMonitorCounterInfo(GLuint group, GLuint counter, GLenum pname, void *data); \ 58 void getPerfMonitorCounterString(GLuint group, GLuint counter, GLsizei bufSize, \ 59 GLsizei *length, GLchar *counterString); \ 60 void getPerfMonitorCounters(GLuint group, GLint *numCounters, GLint *maxActiveCounters, \ 61 GLsizei counterSize, GLuint *counters); \ 62 void getPerfMonitorGroupString(GLuint group, GLsizei bufSize, GLsizei *length, \ 63 GLchar *groupString); \ 64 void getPerfMonitorGroups(GLint *numGroups, GLsizei groupsSize, GLuint *groups); \ 65 void selectPerfMonitorCounters(GLuint monitor, GLboolean enable, GLuint group, \ 66 GLint numCounters, GLuint *counterList); \ 67 /* GL_ANDROID_extension_pack_es31a */ \ 68 /* GL_ANGLE_depth_texture */ \ 69 /* GL_ANGLE_framebuffer_blit */ \ 70 /* GL_ANGLE_instanced_arrays */ \ 71 /* GL_ANGLE_pack_reverse_row_order */ \ 72 /* GL_ANGLE_texture_usage */ \ 73 /* GL_ANGLE_translated_shader_source */ \ 74 void getTranslatedShaderSource(ShaderProgramID shaderPacked, GLsizei bufSize, GLsizei *length, \ 75 GLchar *source); \ 76 /* GL_APPLE_clip_distance */ \ 77 /* GL_ARB_sync */ \ 78 /* GL_ARM_shader_framebuffer_fetch */ \ 79 /* GL_EXT_EGL_image_array */ \ 80 /* GL_EXT_EGL_image_external_wrap_modes */ \ 81 /* GL_EXT_EGL_image_storage */ \ 82 void eGLImageTargetTexStorage(GLenum target, egl::ImageID imagePacked, \ 83 const GLint *attrib_list); \ 84 void eGLImageTargetTextureStorage(GLuint texture, egl::ImageID imagePacked, \ 85 const GLint *attrib_list); \ 86 /* GL_EXT_YUV_target */ \ 87 /* GL_EXT_base_instance */ \ 88 void drawArraysInstancedBaseInstance(PrimitiveMode modePacked, GLint first, GLsizei count, \ 89 GLsizei instancecount, GLuint baseinstance); \ 90 void drawElementsInstancedBaseInstance(PrimitiveMode modePacked, GLsizei count, \ 91 DrawElementsType typePacked, const void *indices, \ 92 GLsizei instancecount, GLuint baseinstance); \ 93 void drawElementsInstancedBaseVertexBaseInstance( \ 94 PrimitiveMode modePacked, GLsizei count, DrawElementsType typePacked, const void *indices, \ 95 GLsizei instancecount, GLint basevertex, GLuint baseinstance); \ 96 /* GL_EXT_blend_func_extended */ \ 97 void bindFragDataLocation(ShaderProgramID programPacked, GLuint color, const GLchar *name); \ 98 void bindFragDataLocationIndexed(ShaderProgramID programPacked, GLuint colorNumber, \ 99 GLuint index, const GLchar *name); \ 100 GLint getFragDataIndex(ShaderProgramID programPacked, const GLchar *name); \ 101 GLint getProgramResourceLocationIndex(ShaderProgramID programPacked, GLenum programInterface, \ 102 const GLchar *name); \ 103 /* GL_EXT_blend_minmax */ \ 104 /* GL_EXT_buffer_storage */ \ 105 void bufferStorage(BufferBinding targetPacked, GLsizeiptr size, const void *data, \ 106 GLbitfield flags); \ 107 /* GL_EXT_clip_control */ \ 108 /* GL_EXT_clip_cull_distance */ \ 109 /* GL_EXT_color_buffer_float */ \ 110 /* GL_EXT_color_buffer_half_float */ \ 111 /* GL_EXT_compressed_ETC1_RGB8_sub_texture */ \ 112 /* GL_EXT_conservative_depth */ \ 113 /* GL_EXT_copy_image */ \ 114 /* GL_EXT_debug_label */ \ 115 void labelObject(GLenum type, GLuint object, GLsizei length, const GLchar *label); \ 116 /* GL_EXT_debug_marker */ \ 117 void insertEventMarker(GLsizei length, const GLchar *marker); \ 118 void popGroupMarker(); \ 119 void pushGroupMarker(GLsizei length, const GLchar *marker); \ 120 /* GL_EXT_depth_clamp */ \ 121 /* GL_EXT_discard_framebuffer */ \ 122 void discardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments); \ 123 /* GL_EXT_disjoint_timer_query */ \ 124 void getQueryObjecti64v(QueryID idPacked, GLenum pname, GLint64 *params); \ 125 void getQueryObjectiv(QueryID idPacked, GLenum pname, GLint *params); \ 126 void getQueryObjectui64v(QueryID idPacked, GLenum pname, GLuint64 *params); \ 127 void queryCounter(QueryID idPacked, QueryType targetPacked); \ 128 /* GL_EXT_draw_buffers */ \ 129 /* GL_EXT_draw_buffers_indexed */ \ 130 /* GL_EXT_draw_elements_base_vertex */ \ 131 void multiDrawElementsBaseVertex(PrimitiveMode modePacked, const GLsizei *count, \ 132 DrawElementsType typePacked, const void *const *indices, \ 133 GLsizei drawcount, const GLint *basevertex); \ 134 /* GL_EXT_external_buffer */ \ 135 void bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, \ 136 GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ 137 void namedBufferStorageExternal(GLuint buffer, GLintptr offset, GLsizeiptr size, \ 138 GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ 139 /* GL_EXT_float_blend */ \ 140 /* GL_EXT_frag_depth */ \ 141 /* GL_EXT_geometry_shader */ \ 142 /* GL_EXT_gpu_shader5 */ \ 143 /* GL_EXT_instanced_arrays */ \ 144 /* GL_EXT_map_buffer_range */ \ 145 /* GL_EXT_memory_object */ \ 146 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ 147 GLuint64 offset); \ 148 void createMemoryObjects(GLsizei n, MemoryObjectID *memoryObjectsPacked); \ 149 void deleteMemoryObjects(GLsizei n, const MemoryObjectID *memoryObjectsPacked); \ 150 void getMemoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ 151 GLint *params); \ 152 void getUnsignedBytev(GLenum pname, GLubyte *data); \ 153 void getUnsignedBytei_v(GLenum target, GLuint index, GLubyte *data); \ 154 GLboolean isMemoryObject(MemoryObjectID memoryObjectPacked) const; \ 155 void memoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ 156 const GLint *params); \ 157 void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 158 GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ 159 GLuint64 offset); \ 160 void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples, \ 161 GLenum internalFormat, GLsizei width, GLsizei height, \ 162 GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ 163 GLuint64 offset); \ 164 void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 165 GLsizei width, GLsizei height, GLsizei depth, \ 166 MemoryObjectID memoryPacked, GLuint64 offset); \ 167 void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples, \ 168 GLenum internalFormat, GLsizei width, GLsizei height, \ 169 GLsizei depth, GLboolean fixedSampleLocations, \ 170 MemoryObjectID memoryPacked, GLuint64 offset); \ 171 /* GL_EXT_memory_object_fd */ \ 172 void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked, \ 173 GLint fd); \ 174 /* GL_EXT_multi_draw_indirect */ \ 175 void multiDrawArraysIndirect(PrimitiveMode modePacked, const void *indirect, \ 176 GLsizei drawcount, GLsizei stride); \ 177 void multiDrawElementsIndirect(PrimitiveMode modePacked, DrawElementsType typePacked, \ 178 const void *indirect, GLsizei drawcount, GLsizei stride); \ 179 /* GL_EXT_multisample_compatibility */ \ 180 /* GL_EXT_multisampled_render_to_texture */ \ 181 void framebufferTexture2DMultisample(GLenum target, GLenum attachment, \ 182 TextureTarget textargetPacked, TextureID texturePacked, \ 183 GLint level, GLsizei samples); \ 184 void renderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, \ 185 GLsizei width, GLsizei height); \ 186 /* GL_EXT_multisampled_render_to_texture2 */ \ 187 /* GL_EXT_occlusion_query_boolean */ \ 188 /* GL_EXT_polygon_offset_clamp */ \ 189 /* GL_EXT_primitive_bounding_box */ \ 190 /* GL_EXT_protected_textures */ \ 191 /* GL_EXT_pvrtc_sRGB */ \ 192 /* GL_EXT_read_format_bgra */ \ 193 /* GL_EXT_render_snorm */ \ 194 /* GL_EXT_robustness */ \ 195 /* GL_EXT_sRGB */ \ 196 /* GL_EXT_sRGB_write_control */ \ 197 /* GL_EXT_semaphore */ \ 198 void deleteSemaphores(GLsizei n, const SemaphoreID *semaphoresPacked); \ 199 void genSemaphores(GLsizei n, SemaphoreID *semaphoresPacked); \ 200 void getSemaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, GLuint64 *params); \ 201 GLboolean isSemaphore(SemaphoreID semaphorePacked) const; \ 202 void semaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, \ 203 const GLuint64 *params); \ 204 void signalSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ 205 const BufferID *buffersPacked, GLuint numTextureBarriers, \ 206 const TextureID *texturesPacked, const GLenum *dstLayouts); \ 207 void waitSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ 208 const BufferID *buffersPacked, GLuint numTextureBarriers, \ 209 const TextureID *texturesPacked, const GLenum *srcLayouts); \ 210 /* GL_EXT_semaphore_fd */ \ 211 void importSemaphoreFd(SemaphoreID semaphorePacked, HandleType handleTypePacked, GLint fd); \ 212 /* GL_EXT_separate_shader_objects */ \ 213 /* GL_EXT_shader_framebuffer_fetch */ \ 214 /* GL_EXT_shader_framebuffer_fetch_non_coherent */ \ 215 void framebufferFetchBarrier(); \ 216 /* GL_EXT_shader_io_blocks */ \ 217 /* GL_EXT_shader_non_constant_global_initializers */ \ 218 /* GL_EXT_shader_texture_lod */ \ 219 /* GL_EXT_shadow_samplers */ \ 220 /* GL_EXT_tessellation_shader */ \ 221 /* GL_EXT_texture_border_clamp */ \ 222 /* GL_EXT_texture_buffer */ \ 223 /* GL_EXT_texture_compression_astc_decode_mode */ \ 224 /* GL_EXT_texture_compression_astc_decode_mode_rgb9e5 */ \ 225 /* GL_EXT_texture_compression_bptc */ \ 226 /* GL_EXT_texture_compression_dxt1 */ \ 227 /* GL_EXT_texture_compression_rgtc */ \ 228 /* GL_EXT_texture_compression_s3tc */ \ 229 /* GL_EXT_texture_compression_s3tc_srgb */ \ 230 /* GL_EXT_texture_cube_map_array */ \ 231 /* GL_EXT_texture_filter_anisotropic */ \ 232 /* GL_EXT_texture_filter_minmax */ \ 233 /* GL_EXT_texture_format_BGRA8888 */ \ 234 /* GL_EXT_texture_format_sRGB_override */ \ 235 /* GL_EXT_texture_mirror_clamp_to_edge */ \ 236 /* GL_EXT_texture_norm16 */ \ 237 /* GL_EXT_texture_rg */ \ 238 /* GL_EXT_texture_sRGB_R8 */ \ 239 /* GL_EXT_texture_sRGB_RG8 */ \ 240 /* GL_EXT_texture_sRGB_decode */ \ 241 /* GL_EXT_texture_storage */ \ 242 void texStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); \ 243 /* GL_EXT_texture_type_2_10_10_10_REV */ \ 244 /* GL_EXT_unpack_subimage */ \ 245 /* GL_IMG_texture_compression_pvrtc */ \ 246 /* GL_IMG_texture_compression_pvrtc2 */ \ 247 /* GL_KHR_blend_equation_advanced */ \ 248 /* GL_KHR_debug */ \ 249 /* GL_KHR_no_error */ \ 250 /* GL_KHR_parallel_shader_compile */ \ 251 void maxShaderCompilerThreads(GLuint count); \ 252 /* GL_KHR_robust_buffer_access_behavior */ \ 253 /* GL_KHR_robustness */ \ 254 /* GL_KHR_texture_compression_astc_hdr */ \ 255 /* GL_KHR_texture_compression_astc_ldr */ \ 256 /* GL_KHR_texture_compression_astc_sliced_3d */ \ 257 /* GL_MESA_framebuffer_flip_y */ \ 258 void framebufferParameteriMESA(GLenum target, GLenum pname, GLint param); \ 259 void getFramebufferParameterivMESA(GLenum target, GLenum pname, GLint *params); \ 260 /* GL_NV_EGL_stream_consumer_external */ \ 261 /* GL_NV_depth_buffer_float2 */ \ 262 /* GL_NV_fence */ \ 263 void deleteFencesNV(GLsizei n, const FenceNVID *fencesPacked); \ 264 void finishFenceNV(FenceNVID fencePacked); \ 265 void genFencesNV(GLsizei n, FenceNVID *fencesPacked); \ 266 void getFenceivNV(FenceNVID fencePacked, GLenum pname, GLint *params); \ 267 GLboolean isFenceNV(FenceNVID fencePacked) const; \ 268 void setFenceNV(FenceNVID fencePacked, GLenum condition); \ 269 GLboolean testFenceNV(FenceNVID fencePacked); \ 270 /* GL_NV_framebuffer_blit */ \ 271 void blitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, \ 272 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); \ 273 /* GL_NV_pack_subimage */ \ 274 /* GL_NV_pixel_buffer_object */ \ 275 /* GL_NV_polygon_mode */ \ 276 /* GL_NV_read_depth */ \ 277 /* GL_NV_read_depth_stencil */ \ 278 /* GL_NV_read_stencil */ \ 279 /* GL_NV_robustness_video_memory_purge */ \ 280 /* GL_NV_shader_noperspective_interpolation */ \ 281 /* GL_OES_EGL_image */ \ 282 void eGLImageTargetRenderbufferStorage(GLenum target, egl::ImageID imagePacked); \ 283 void eGLImageTargetTexture2D(TextureType targetPacked, egl::ImageID imagePacked); \ 284 /* GL_OES_EGL_image_external */ \ 285 /* GL_OES_EGL_image_external_essl3 */ \ 286 /* GL_OES_EGL_sync */ \ 287 /* GL_OES_compressed_EAC_R11_signed_texture */ \ 288 /* GL_OES_compressed_EAC_R11_unsigned_texture */ \ 289 /* GL_OES_compressed_EAC_RG11_signed_texture */ \ 290 /* GL_OES_compressed_EAC_RG11_unsigned_texture */ \ 291 /* GL_OES_compressed_ETC1_RGB8_texture */ \ 292 /* GL_OES_compressed_ETC2_RGB8_texture */ \ 293 /* GL_OES_compressed_ETC2_RGBA8_texture */ \ 294 /* GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture */ \ 295 /* GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture */ \ 296 /* GL_OES_compressed_ETC2_sRGB8_alpha8_texture */ \ 297 /* GL_OES_compressed_ETC2_sRGB8_texture */ \ 298 /* GL_OES_compressed_paletted_texture */ \ 299 /* GL_OES_copy_image */ \ 300 /* GL_OES_depth24 */ \ 301 /* GL_OES_depth32 */ \ 302 /* GL_OES_depth_texture */ \ 303 /* GL_OES_depth_texture_cube_map */ \ 304 /* GL_OES_draw_buffers_indexed */ \ 305 /* GL_OES_draw_elements_base_vertex */ \ 306 /* GL_OES_element_index_uint */ \ 307 /* GL_OES_fbo_render_mipmap */ \ 308 /* GL_OES_geometry_shader */ \ 309 /* GL_OES_get_program_binary */ \ 310 /* GL_OES_gpu_shader5 */ \ 311 /* GL_OES_mapbuffer */ \ 312 void *mapBuffer(BufferBinding targetPacked, GLenum access); \ 313 /* GL_OES_packed_depth_stencil */ \ 314 /* GL_OES_primitive_bounding_box */ \ 315 /* GL_OES_rgb8_rgba8 */ \ 316 /* GL_OES_sample_shading */ \ 317 /* GL_OES_sample_variables */ \ 318 /* GL_OES_shader_image_atomic */ \ 319 /* GL_OES_shader_io_blocks */ \ 320 /* GL_OES_shader_multisample_interpolation */ \ 321 /* GL_OES_standard_derivatives */ \ 322 /* GL_OES_surfaceless_context */ \ 323 /* GL_OES_tessellation_shader */ \ 324 /* GL_OES_texture_3D */ \ 325 void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \ 326 TextureID texturePacked, GLint level, GLint zoffset); \ 327 /* GL_OES_texture_border_clamp */ \ 328 /* GL_OES_texture_buffer */ \ 329 /* GL_OES_texture_compression_astc */ \ 330 /* GL_OES_texture_cube_map_array */ \ 331 /* GL_OES_texture_float */ \ 332 /* GL_OES_texture_float_linear */ \ 333 /* GL_OES_texture_half_float */ \ 334 /* GL_OES_texture_half_float_linear */ \ 335 /* GL_OES_texture_npot */ \ 336 /* GL_OES_texture_stencil8 */ \ 337 /* GL_OES_texture_storage_multisample_2d_array */ \ 338 /* GL_OES_vertex_array_object */ \ 339 /* GL_OES_vertex_half_float */ \ 340 /* GL_OES_vertex_type_10_10_10_2 */ \ 341 /* GL_OVR_multiview */ \ 342 void framebufferTextureMultiview(GLenum target, GLenum attachment, TextureID texturePacked, \ 343 GLint level, GLint baseViewIndex, GLsizei numViews); \ 344 /* GL_OVR_multiview2 */ \ 345 /* GL_QCOM_framebuffer_foveated */ \ 346 void framebufferFoveationConfig(FramebufferID framebufferPacked, GLuint numLayers, \ 347 GLuint focalPointsPerLayer, GLuint requestedFeatures, \ 348 GLuint *providedFeatures); \ 349 void framebufferFoveationParameters(FramebufferID framebufferPacked, GLuint layer, \ 350 GLuint focalPoint, GLfloat focalX, GLfloat focalY, \ 351 GLfloat gainX, GLfloat gainY, GLfloat foveaArea); \ 352 /* GL_QCOM_render_shared_exponent */ \ 353 /* GL_QCOM_shading_rate */ \ 354 /* GL_QCOM_texture_foveated */ \ 355 void textureFoveationParameters(TextureID texturePacked, GLuint layer, GLuint focalPoint, \ 356 GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, \ 357 GLfloat foveaArea); \ 358 /* GL_WEBGL_video_texture */ \ 359 \ 360 /* ANGLE Extensions */ \ 361 \ 362 /* GL_ANGLE_base_vertex_base_instance */ \ 363 void drawArraysInstancedBaseInstanceANGLE(PrimitiveMode modePacked, GLint first, \ 364 GLsizei count, GLsizei instanceCount, \ 365 GLuint baseInstance); \ 366 void drawElementsInstancedBaseVertexBaseInstanceANGLE( \ 367 PrimitiveMode modePacked, GLsizei count, DrawElementsType typePacked, const void *indices, \ 368 GLsizei instanceCount, GLint baseVertex, GLuint baseInstance); \ 369 void multiDrawArraysInstancedBaseInstance( \ 370 PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ 371 const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawcount); \ 372 void multiDrawElementsInstancedBaseVertexBaseInstance( \ 373 PrimitiveMode modePacked, const GLsizei *counts, DrawElementsType typePacked, \ 374 const void *const *indices, const GLsizei *instanceCounts, const GLint *baseVertices, \ 375 const GLuint *baseInstances, GLsizei drawcount); \ 376 /* GL_ANGLE_base_vertex_base_instance_shader_builtin */ \ 377 /* GL_ANGLE_client_arrays */ \ 378 /* GL_ANGLE_clip_cull_distance */ \ 379 /* GL_ANGLE_compressed_texture_etc */ \ 380 /* GL_ANGLE_copy_texture_3d */ \ 381 void copyTexture3D(TextureID sourceIdPacked, GLint sourceLevel, \ 382 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \ 383 GLint internalFormat, GLenum destType, GLboolean unpackFlipY, \ 384 GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); \ 385 void copySubTexture3D(TextureID sourceIdPacked, GLint sourceLevel, \ 386 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \ 387 GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLint z, \ 388 GLint width, GLint height, GLint depth, GLboolean unpackFlipY, \ 389 GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); \ 390 /* GL_ANGLE_framebuffer_multisample */ \ 391 /* GL_ANGLE_get_image */ \ 392 void getTexImage(TextureTarget targetPacked, GLint level, GLenum format, GLenum type, \ 393 void *pixels); \ 394 void getCompressedTexImage(TextureTarget targetPacked, GLint level, void *pixels); \ 395 void getRenderbufferImage(GLenum target, GLenum format, GLenum type, void *pixels); \ 396 /* GL_ANGLE_get_serialized_context_string */ \ 397 /* GL_ANGLE_get_tex_level_parameter */ \ 398 /* GL_ANGLE_logic_op */ \ 399 /* GL_ANGLE_lossy_etc_decode */ \ 400 /* GL_ANGLE_memory_object_flags */ \ 401 void texStorageMemFlags2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 402 GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ 403 GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, \ 404 const void *imageCreateInfoPNext); \ 405 void texStorageMemFlags2DMultisample( \ 406 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ 407 GLsizei height, GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ 408 GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, \ 409 const void *imageCreateInfoPNext); \ 410 void texStorageMemFlags3D( \ 411 TextureType targetPacked, GLsizei levels, GLenum internalFormat, GLsizei width, \ 412 GLsizei height, GLsizei depth, MemoryObjectID memoryPacked, GLuint64 offset, \ 413 GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext); \ 414 void texStorageMemFlags3DMultisample( \ 415 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ 416 GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, \ 417 MemoryObjectID memoryPacked, GLuint64 offset, GLbitfield createFlags, \ 418 GLbitfield usageFlags, const void *imageCreateInfoPNext); \ 419 /* GL_ANGLE_memory_object_fuchsia */ \ 420 void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size, \ 421 HandleType handleTypePacked, GLuint handle); \ 422 /* GL_ANGLE_memory_size */ \ 423 /* GL_ANGLE_multi_draw */ \ 424 void multiDrawArrays(PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ 425 GLsizei drawcount); \ 426 void multiDrawArraysInstanced(PrimitiveMode modePacked, const GLint *firsts, \ 427 const GLsizei *counts, const GLsizei *instanceCounts, \ 428 GLsizei drawcount); \ 429 void multiDrawElements(PrimitiveMode modePacked, const GLsizei *counts, \ 430 DrawElementsType typePacked, const void *const *indices, \ 431 GLsizei drawcount); \ 432 void multiDrawElementsInstanced(PrimitiveMode modePacked, const GLsizei *counts, \ 433 DrawElementsType typePacked, const void *const *indices, \ 434 const GLsizei *instanceCounts, GLsizei drawcount); \ 435 /* GL_ANGLE_multiview_multisample */ \ 436 /* GL_ANGLE_polygon_mode */ \ 437 /* GL_ANGLE_program_binary */ \ 438 /* GL_ANGLE_program_binary_readiness_query */ \ 439 /* GL_ANGLE_program_cache_control */ \ 440 /* GL_ANGLE_provoking_vertex */ \ 441 /* GL_ANGLE_read_only_depth_stencil_feedback_loops */ \ 442 /* GL_ANGLE_relaxed_vertex_attribute_type */ \ 443 /* GL_ANGLE_renderability_validation */ \ 444 /* GL_ANGLE_request_extension */ \ 445 void requestExtension(const GLchar *name); \ 446 void disableExtension(const GLchar *name); \ 447 /* GL_ANGLE_rgbx_internal_format */ \ 448 /* GL_ANGLE_robust_client_memory */ \ 449 void getBooleanvRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *params); \ 450 void getBufferParameterivRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize, \ 451 GLsizei *length, GLint *params); \ 452 void getFloatvRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params); \ 453 void getFramebufferAttachmentParameterivRobust(GLenum target, GLenum attachment, GLenum pname, \ 454 GLsizei bufSize, GLsizei *length, \ 455 GLint *params); \ 456 void getIntegervRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data); \ 457 void getProgramivRobust(ShaderProgramID programPacked, GLenum pname, GLsizei bufSize, \ 458 GLsizei *length, GLint *params); \ 459 void getRenderbufferParameterivRobust(GLenum target, GLenum pname, GLsizei bufSize, \ 460 GLsizei *length, GLint *params); \ 461 void getShaderivRobust(ShaderProgramID shaderPacked, GLenum pname, GLsizei bufSize, \ 462 GLsizei *length, GLint *params); \ 463 void getTexParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 464 GLsizei *length, GLfloat *params); \ 465 void getTexParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 466 GLsizei *length, GLint *params); \ 467 void getUniformfvRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 468 GLsizei bufSize, GLsizei *length, GLfloat *params); \ 469 void getUniformivRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 470 GLsizei bufSize, GLsizei *length, GLint *params); \ 471 void getVertexAttribfvRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 472 GLfloat *params); \ 473 void getVertexAttribivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 474 GLint *params); \ 475 void getVertexAttribPointervRobust(GLuint index, GLenum pname, GLsizei bufSize, \ 476 GLsizei *length, void **pointer); \ 477 void readPixelsRobust(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, \ 478 GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, \ 479 GLsizei *rows, void *pixels); \ 480 void texImage2DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \ 481 GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, \ 482 GLsizei bufSize, const void *pixels); \ 483 void texParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 484 const GLfloat *params); \ 485 void texParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 486 const GLint *params); \ 487 void texSubImage2DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \ 488 GLint yoffset, GLsizei width, GLsizei height, GLenum format, \ 489 GLenum type, GLsizei bufSize, const void *pixels); \ 490 void texImage3DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \ 491 GLsizei width, GLsizei height, GLsizei depth, GLint border, \ 492 GLenum format, GLenum type, GLsizei bufSize, const void *pixels); \ 493 void texSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \ 494 GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, \ 495 GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, \ 496 const void *pixels); \ 497 void compressedTexImage2DRobust( \ 498 TextureTarget targetPacked, GLint level, GLenum internalformat, GLsizei width, \ 499 GLsizei height, GLint border, GLsizei imageSize, GLsizei dataSize, const void *data); \ 500 void compressedTexSubImage2DRobust( \ 501 TextureTarget targetPacked, GLint level, GLsizei xoffset, GLsizei yoffset, GLsizei width, \ 502 GLsizei height, GLenum format, GLsizei imageSize, GLsizei dataSize, const void *data); \ 503 void compressedTexImage3DRobust(TextureTarget targetPacked, GLint level, \ 504 GLenum internalformat, GLsizei width, GLsizei height, \ 505 GLsizei depth, GLint border, GLsizei imageSize, \ 506 GLsizei dataSize, const void *data); \ 507 void compressedTexSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \ 508 GLint yoffset, GLint zoffset, GLsizei width, \ 509 GLsizei height, GLsizei depth, GLenum format, \ 510 GLsizei imageSize, GLsizei dataSize, const void *data); \ 511 void getQueryivRobust(QueryType targetPacked, GLenum pname, GLsizei bufSize, GLsizei *length, \ 512 GLint *params); \ 513 void getQueryObjectuivRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, GLsizei *length, \ 514 GLuint *params); \ 515 void getBufferPointervRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize, \ 516 GLsizei *length, void **params); \ 517 void getIntegeri_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ 518 GLint *data); \ 519 void getInternalformativRobust(GLenum target, GLenum internalformat, GLenum pname, \ 520 GLsizei bufSize, GLsizei *length, GLint *params); \ 521 void getVertexAttribIivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 522 GLint *params); \ 523 void getVertexAttribIuivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 524 GLuint *params); \ 525 void getUniformuivRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 526 GLsizei bufSize, GLsizei *length, GLuint *params); \ 527 void getActiveUniformBlockivRobust(ShaderProgramID programPacked, \ 528 UniformBlockIndex uniformBlockIndexPacked, GLenum pname, \ 529 GLsizei bufSize, GLsizei *length, GLint *params); \ 530 void getInteger64vRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data); \ 531 void getInteger64i_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ 532 GLint64 *data); \ 533 void getBufferParameteri64vRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize, \ 534 GLsizei *length, GLint64 *params); \ 535 void samplerParameterivRobust(SamplerID samplerPacked, GLuint pname, GLsizei bufSize, \ 536 const GLint *param); \ 537 void samplerParameterfvRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 538 const GLfloat *param); \ 539 void getSamplerParameterivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 540 GLsizei *length, GLint *params); \ 541 void getSamplerParameterfvRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 542 GLsizei *length, GLfloat *params); \ 543 void getFramebufferParameterivRobust(GLenum target, GLenum pname, GLsizei bufSize, \ 544 GLsizei *length, GLint *params); \ 545 void getProgramInterfaceivRobust(ShaderProgramID programPacked, GLenum programInterface, \ 546 GLenum pname, GLsizei bufSize, GLsizei *length, \ 547 GLint *params); \ 548 void getBooleani_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ 549 GLboolean *data); \ 550 void getMultisamplefvRobust(GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length, \ 551 GLfloat *val); \ 552 void getTexLevelParameterivRobust(TextureTarget targetPacked, GLint level, GLenum pname, \ 553 GLsizei bufSize, GLsizei *length, GLint *params); \ 554 void getTexLevelParameterfvRobust(TextureTarget targetPacked, GLint level, GLenum pname, \ 555 GLsizei bufSize, GLsizei *length, GLfloat *params); \ 556 void getPointervRobustANGLERobust(GLenum pname, GLsizei bufSize, GLsizei *length, \ 557 void **params); \ 558 void readnPixelsRobust(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, \ 559 GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, \ 560 GLsizei *rows, void *data); \ 561 void getnUniformfvRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 562 GLsizei bufSize, GLsizei *length, GLfloat *params); \ 563 void getnUniformivRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 564 GLsizei bufSize, GLsizei *length, GLint *params); \ 565 void getnUniformuivRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ 566 GLsizei bufSize, GLsizei *length, GLuint *params); \ 567 void texParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 568 const GLint *params); \ 569 void texParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 570 const GLuint *params); \ 571 void getTexParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 572 GLsizei *length, GLint *params); \ 573 void getTexParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \ 574 GLsizei *length, GLuint *params); \ 575 void samplerParameterIivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 576 const GLint *param); \ 577 void samplerParameterIuivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 578 const GLuint *param); \ 579 void getSamplerParameterIivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 580 GLsizei *length, GLint *params); \ 581 void getSamplerParameterIuivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize, \ 582 GLsizei *length, GLuint *params); \ 583 void getQueryObjectivRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, GLsizei *length, \ 584 GLint *params); \ 585 void getQueryObjecti64vRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, \ 586 GLsizei *length, GLint64 *params); \ 587 void getQueryObjectui64vRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, \ 588 GLsizei *length, GLuint64 *params); \ 589 /* GL_ANGLE_robust_fragment_shader_output */ \ 590 /* GL_ANGLE_robust_resource_initialization */ \ 591 /* GL_ANGLE_semaphore_fuchsia */ \ 592 void importSemaphoreZirconHandle(SemaphoreID semaphorePacked, HandleType handleTypePacked, \ 593 GLuint handle); \ 594 /* GL_ANGLE_shader_binary */ \ 595 /* GL_ANGLE_shader_pixel_local_storage */ \ 596 void framebufferMemorylessPixelLocalStorage(GLint plane, GLenum internalformat); \ 597 void framebufferTexturePixelLocalStorage(GLint plane, TextureID backingtexturePacked, \ 598 GLint level, GLint layer); \ 599 void framebufferPixelLocalClearValuefv(GLint plane, const GLfloat *value); \ 600 void framebufferPixelLocalClearValueiv(GLint plane, const GLint *value); \ 601 void framebufferPixelLocalClearValueuiv(GLint plane, const GLuint *value); \ 602 void beginPixelLocalStorage(GLsizei n, const GLenum *loadops); \ 603 void endPixelLocalStorage(GLsizei n, const GLenum *storeops); \ 604 void pixelLocalStorageBarrier(); \ 605 void framebufferPixelLocalStorageInterrupt(); \ 606 void framebufferPixelLocalStorageRestore(); \ 607 void getFramebufferPixelLocalStorageParameterfv(GLint plane, GLenum pname, GLfloat *params); \ 608 void getFramebufferPixelLocalStorageParameteriv(GLint plane, GLenum pname, GLint *params); \ 609 void getFramebufferPixelLocalStorageParameterfvRobust( \ 610 GLint plane, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params); \ 611 void getFramebufferPixelLocalStorageParameterivRobust( \ 612 GLint plane, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params); \ 613 /* GL_ANGLE_shader_pixel_local_storage_coherent */ \ 614 /* GL_ANGLE_stencil_texturing */ \ 615 /* GL_ANGLE_texture_compression_dxt3 */ \ 616 /* GL_ANGLE_texture_compression_dxt5 */ \ 617 /* GL_ANGLE_texture_external_update */ \ 618 void texImage2DExternal(TextureTarget targetPacked, GLint level, GLint internalformat, \ 619 GLsizei width, GLsizei height, GLint border, GLenum format, \ 620 GLenum type); \ 621 void invalidateTexture(TextureType targetPacked); \ 622 /* GL_ANGLE_texture_multisample */ \ 623 /* GL_ANGLE_texture_rectangle */ \ 624 /* GL_ANGLE_vulkan_image */ \ 625 void acquireTextures(GLuint numTextures, const TextureID *texturesPacked, \ 626 const GLenum *layouts); \ 627 void releaseTextures(GLuint numTextures, const TextureID *texturesPacked, GLenum *layouts); \ 628 /* GL_ANGLE_webgl_compatibility */ \ 629 /* GL_ANGLE_yuv_internal_format */ \ 630 /* GL_CHROMIUM_bind_generates_resource */ \ 631 /* GL_CHROMIUM_bind_uniform_location */ \ 632 void bindUniformLocation(ShaderProgramID programPacked, UniformLocation locationPacked, \ 633 const GLchar *name); \ 634 /* GL_CHROMIUM_color_buffer_float_rgb */ \ 635 /* GL_CHROMIUM_color_buffer_float_rgba */ \ 636 /* GL_CHROMIUM_copy_compressed_texture */ \ 637 void compressedCopyTexture(TextureID sourceIdPacked, TextureID destIdPacked); \ 638 /* GL_CHROMIUM_copy_texture */ \ 639 void copyTexture(TextureID sourceIdPacked, GLint sourceLevel, TextureTarget destTargetPacked, \ 640 TextureID destIdPacked, GLint destLevel, GLint internalFormat, \ 641 GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, \ 642 GLboolean unpackUnmultiplyAlpha); \ 643 void copySubTexture(TextureID sourceIdPacked, GLint sourceLevel, \ 644 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \ 645 GLint xoffset, GLint yoffset, GLint x, GLint y, GLint width, GLint height, \ 646 GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, \ 647 GLboolean unpackUnmultiplyAlpha); \ 648 /* GL_CHROMIUM_framebuffer_mixed_samples */ \ 649 /* GL_CHROMIUM_lose_context */ \ 650 void loseContext(GraphicsResetStatus currentPacked, GraphicsResetStatus otherPacked); \ 651 /* GL_CHROMIUM_sync_query */ 652 653 #endif // ANGLE_CONTEXT_API_EXT_AUTOGEN_H_ 654