mesa/src/mapi/glapi/gen
Emil Velikov cf317bf093 mapi: add all _glapi_table entrypoints to static_data.py
Currently various parts of mesa use the glapi_table differently.

Some use _glapi_get_proc_offset() to get the offset, while others
directly reference the specific offset via _gloffset_Function.

Add all static entries, to ensure things don't break as we flip to the
upstream XML + new mapi generator.

Note: the offsets are also used for the alias remap table, thus we need
to ensure we honour the correct offsets range or it will break.

Currently this is done via MAX_OFFSETS constant, although a better
solution is in the works.

v2: add FramebufferTexture2DMultisampleEXT
v3: add MAX_OFFSETS guard

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> (v1)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2019-01-24 18:13:25 +00:00
..
AMD_depth_clamp_separate.xml glapi: define AMD_depth_clamp_separate 2018-08-28 12:57:27 -07:00
AMD_draw_buffers_blend.xml
AMD_gpu_shader_int64.xml mesa: expose AMD_gpu_shader_int64 2018-08-24 00:36:18 -04:00
AMD_performance_monitor.xml Allow AMD_perfmon on GLES contexts 2018-07-18 10:39:21 -07:00
apiexec.py mesa: enable ARB_direct_state_access in compat for GL3.1+ 2018-08-30 07:57:38 +10:00
APPLE_object_purgeable.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
APPLE_vertex_array_object.xml mesa: Remove GL_APPLE_vertex_array_object stubs 2017-05-23 15:02:29 -07:00
ARB_base_instance.xml mesa: Track the current vertex/element array buffers for glthread. 2017-03-16 14:14:19 +11:00
ARB_bindless_texture.xml mesa: add KHR_no_error support for glGetImageHandleARB() 2017-06-18 14:21:04 +02:00
ARB_blend_func_extended.xml mesa: add KHR_no_error support for glBindFragDataLocation*() 2017-06-29 08:54:11 +10:00
ARB_clear_buffer_object.xml mesa: add KHR_no_error support to glClear*Buffer*Data() 2017-08-02 12:54:31 +02:00
ARB_clear_texture.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
ARB_clip_control.xml mesa: add KHR_no_error support for glClipControl() 2017-06-23 09:26:42 +02:00
ARB_color_buffer_float.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
ARB_compressed_texture_pixel_storage.xml glapi: Add XML infrastructure for ARB_compressed_texture_pixel_storage 2014-06-10 07:38:38 +12:00
ARB_compute_shader.xml mesa: add KHR_no_error support for glDispatchCompute*() 2017-05-17 10:12:04 +10:00
ARB_compute_variable_group_size.xml mesa: add KHR_no_error support for glDispatchCompute*() 2017-05-17 10:12:04 +10:00
ARB_copy_buffer.xml mesa: add KHR_no_error support to copy buffer subdata functions 2017-05-07 15:29:33 +10:00
ARB_copy_image.xml mesa: add KHR_no_error support for glCopyImageSubData() 2017-06-07 11:04:33 +02:00
ARB_debug_output.xml mesa: make ARB_debug_output functions an alias of 2014-03-08 15:38:31 +11:00
ARB_depth_buffer_float.xml
ARB_depth_clamp.xml
ARB_direct_state_access.xml mesa: add KHR_no_error support to glClear*Buffer*Data() 2017-08-02 12:54:31 +02:00
ARB_draw_buffers.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
ARB_draw_buffers_blend.xml mesa: add KHR_no_error support to glBlendEquationiARB() 2017-07-31 13:53:39 +02:00
ARB_draw_elements_base_vertex.xml mesa: Track the current vertex/element array buffers for glthread. 2017-03-16 14:14:19 +11:00
ARB_draw_indirect.xml mesa: expose AMD_multi_draw_indirect 2018-08-24 00:36:18 -04:00
ARB_draw_instanced.xml mesa: Track the current vertex/element array buffers for glthread. 2017-03-16 14:14:19 +11:00
ARB_ES2_compatibility.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
ARB_ES3_compatibility.xml glapi: Add enums for ARB_ES3_compatibility 2013-01-10 10:57:50 -08:00
ARB_framebuffer_no_attachments.xml mesa: Expose GL_ARB_framebuffer_no_attachments to GLES 3.1 2015-09-01 08:19:11 +03:00
ARB_framebuffer_object.xml glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
ARB_get_program_binary.xml mesa: add KHR_no_error support to glProgramParameteri() 2017-07-31 13:53:39 +02:00
ARB_get_texture_sub_image.xml glapi: remove the final function offset tags 2016-03-09 17:16:51 +00:00
ARB_gl_spirv.xml mesa: add GL_ARB_gl_spirv boilerplate 2017-12-12 08:18:32 +01:00
ARB_gpu_shader5.xml glapi: add definitions for ARB_gpu_shader5 2014-02-06 16:58:33 -08:00
ARB_gpu_shader_fp64.xml mesa/glthread: add async support to ARB_gpu_shader_fp64 uniform functions 2017-03-31 11:54:35 +11:00
ARB_gpu_shader_int64.xml mesa/glthread: add async support to ARB_gpu_shader_int64 uniform functions 2017-03-31 11:54:36 +11:00
ARB_indirect_parameters.xml glapi: add ARB_indirect_parameters definitions 2016-01-07 18:38:46 -05:00
ARB_instanced_arrays.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
ARB_internalformat_query.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
ARB_internalformat_query2.xml mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2 2016-03-03 15:14:06 +01:00
ARB_invalidate_subdata.xml mesa: add KHR_no_error support to glInvalidate*() 2017-07-31 13:53:39 +02:00
ARB_map_buffer_range.xml mesa: add KHR_no_error support for flush mapped buffer functions 2017-05-07 15:29:33 +10:00
ARB_multi_bind.xml mesa: add KHR_no_error support to glBindTextures() 2017-07-31 13:53:39 +02:00
ARB_pipeline_statistics_query.xml mesa: Add support for the ARB_pipeline_statistics_query extension 2015-02-17 23:01:11 -08:00
ARB_program_interface_query.xml gles/es3.1: Enable dispatch of almost all new GLES 3.1 functions 2015-05-28 16:56:31 -07:00
ARB_robustness.xml Revert "mesa/main: remove ARB suffix from glGetnTexImage" 2019-01-24 18:13:25 +00:00
ARB_sample_shading.xml mesa: Add new functions and enums required by GL_ARB_sample_shading 2013-11-01 16:01:47 -07:00
ARB_sampler_objects.xml mesa: add KHR_no_error support to glDeleteSamplers() 2017-07-31 13:53:39 +02:00
ARB_seamless_cube_map.xml
ARB_separate_shader_objects.xml mesa: add KHR_no_error support for gl*ProgramPipelines() 2017-06-28 10:25:13 +02:00
ARB_shader_atomic_counters.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
ARB_shader_image_load_store.xml mesa: add KHR_no_error support for glBindImageTexture() 2017-05-29 10:11:43 +02:00
ARB_shader_storage_buffer_object.xml mesa: add KHR_no_error support for glShaderStorageBlockBinding() 2017-06-28 10:25:13 +02:00
ARB_shader_subroutine.xml glapi: remove the final function offset tags 2016-03-09 17:16:51 +00:00
ARB_sparse_buffer.xml mesa: Add GL_ARB_sparse_buffer boilerplate 2017-04-05 10:31:01 +02:00
ARB_sync.xml mesa: add KHR_no_error support to glDeleteSync() 2017-07-31 13:53:39 +02:00
ARB_tessellation_shader.xml mesa: add KHR_no_error support to glPatchParameteri() 2017-07-31 13:53:39 +02:00
ARB_texture_barrier.xml mesa: add ARB_texture_barrier support 2014-08-14 20:25:32 -04:00
ARB_texture_buffer_object.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
ARB_texture_buffer_range.xml mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
ARB_texture_compression_rgtc.xml
ARB_texture_cube_map_array.xml
ARB_texture_float.xml
ARB_texture_gather.xml mesa: fix make check for ARB_texture_gather 2013-10-03 21:38:48 +13:00
ARB_texture_multisample.xml mesa: add KHR_no_error support to glSampleMaski() 2017-07-31 13:53:39 +02:00
ARB_texture_rg.xml
ARB_texture_rgb10_a2ui.xml
ARB_texture_storage.xml mesa: add KHR_no_error support to glTexStorage*D() 2017-07-31 13:53:39 +02:00
ARB_texture_storage_multisample.xml mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
ARB_texture_view.xml mesa: add KHR_no_error support to glTextureView() 2017-07-31 13:53:39 +02:00
ARB_uniform_buffer_object.xml mesa: add KHR_no_error support for glUniformBlockBinding() 2017-06-28 10:25:13 +02:00
ARB_vertex_array_object.xml mesa: add KHR_no_error to glDeleteVertexArrays() 2017-07-31 13:53:39 +02:00
ARB_vertex_attrib_64bit.xml mesa/varray: make use of dispatch KHR_no_error support 2017-05-04 11:35:37 +10:00
ARB_vertex_attrib_binding.xml mesa: add KHR_no_error support to glVertexBindingDivisor() 2017-07-31 13:53:39 +02:00
ARB_vertex_type_2_10_10_10_rev.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
ARB_viewport_array.xml mesa: add KHR_no_error support to glDepthRangeArrayv 2017-07-31 13:53:39 +02:00
es_EXT.xml glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
EXT_draw_buffers2.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
EXT_external_objects.xml mapi: add EXT_external_objects and EXT_external_objects_fd 2017-08-06 12:42:06 +10:00
EXT_external_objects_fd.xml mapi: add EXT_external_objects and EXT_external_objects_fd 2017-08-06 12:42:06 +10:00
EXT_framebuffer_object.xml mesa: enable EXT_framebuffer_object in core profile 2018-09-18 19:58:24 +10:00
EXT_gpu_shader4.xml glapi: add EXT_blend_func_extended XML definitions 2015-11-19 11:39:51 -05:00
EXT_multisampled_render_to_texture.xml glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
EXT_packed_depth_stencil.xml
EXT_provoking_vertex.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
EXT_separate_shader_objects.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
EXT_texture_array.xml mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
EXT_texture_integer.xml mesa: add GL_EXT_texture_border_clamp support 2016-02-22 10:38:56 -05:00
EXT_transform_feedback.xml mesa: add KHR_no_error support to glBindBufferOffsetEXT() 2017-08-25 11:35:30 +02:00
EXT_vertex_attrib_64bit.xml mesa: expose EXT_vertex_attrib_64bit 2018-08-24 00:36:18 -04:00
EXT_window_rectangles.xml glapi: add GL_EXT_window_rectangles entrypoints 2016-06-18 12:51:55 -04:00
GL3x.xml mesa: add KHR_no_error support to glTransformFeedbackVaryings() 2017-08-25 11:35:30 +02:00
GL4x.xml mesa: add glsl version query (v4) 2018-02-13 13:24:31 -07:00
gl_and_es_API.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
gl_and_glX_API.xml
gl_API.dtd mesa/glthread: restore the dispatch table when incompatible gl calls are detected 2017-03-16 14:14:19 +11:00
gl_API.xml Revert "mesa/main: remove ARB suffix from glGetnTexImage" 2019-01-24 18:13:25 +00:00
gl_apitemp.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_enums.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_genexec.py mesa/vbo: Move src/mesa/vbo/vbo_exec_array.c -> src/mesa/main/draw.c 2018-11-01 06:08:49 +01:00
gl_gentable.py python: Use range() instead of xrange() 2018-07-24 11:07:04 -07:00
gl_marshal.py mesa/glthread: pass the function name to _mesa_glthread_restore_dispatch 2018-11-20 21:17:38 -05:00
gl_marshal_h.py python: Stop using the Python 2 exception syntax 2018-07-06 10:18:43 -07:00
gl_procs.py python: Better sort dictionary keys/values 2018-07-24 11:07:04 -07:00
gl_SPARC_asm.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_table.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_x86-64_asm.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_x86_asm.py python: Use the print function 2018-07-06 10:04:22 -07:00
gl_XML.py mapi: add all _glapi_table entrypoints to static_data.py 2019-01-24 18:13:25 +00:00
glX_API.xml
glX_proto_common.py python: Stop using the string module 2018-07-24 11:07:04 -07:00
glX_proto_recv.py mapi/gen: remove shebang from python scripts 2017-03-10 14:12:47 +00:00
glX_proto_send.py python: Use explicit integer divisions 2018-08-07 13:07:44 -07:00
glX_proto_size.py python: Better sort dictionary keys/values 2018-07-24 11:07:04 -07:00
glX_server_table.py mapi/gen: remove shebang from python scripts 2017-03-10 14:12:47 +00:00
glX_XML.py python: Better use iterators 2018-07-24 11:07:04 -07:00
GREMEDY_string_marker.xml mesa: add GREMEDY_string_marker 2016-01-21 17:19:05 -05:00
INTEL_performance_query.xml glapi: Remove all offset tags from the XML 2015-05-15 20:23:31 -07:00
KHR_context_flush_control.xml mesa: Add support for the GL_KHR_context_flush_control extension 2014-10-28 16:40:18 +00:00
KHR_debug.xml mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
KHR_robustness.xml mesa: add missing CONTEXT_ROBUST_ACCESS enum 2016-10-27 07:06:41 +03:00
KHR_robustness_es.xml glapi: actually implement GL_EXT_robustness for GLES 2018-08-23 16:54:30 -04:00
KHR_texture_compression_astc.xml glapi: add support for KHR_texture_compression_astc_ldr 2015-08-26 14:36:42 -07:00
license.py
Makefile.am mesa: Add core support for EXT_multisampled_render_to_texture{,2} 2018-12-06 16:55:30 -08:00
marshal_XML.py mapi/gen: remove shebang from the marshal generator scripts 2017-08-26 11:20:08 +01:00
MESA_tile_raster_order.xml mapi: Update extension number of MESA_tile_raster_order. 2017-10-12 12:44:51 -07:00
meson.build mesa: Add core support for EXT_multisampled_render_to_texture{,2} 2018-12-06 16:55:30 -08:00
NV_conditional_render.xml Revert "mesa: expose NV_conditional_render on GLES" 2018-11-09 17:39:25 +01:00
NV_primitive_restart.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
NV_texture_barrier.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
NV_vdpau_interop.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
OES_EGL_image.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
OES_fixed_point.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:23:33 -07:00
OES_single_precision.xml glapi: Whitespace clean up after the previous commit 2015-05-15 20:22:40 -07:00
OES_texture_compression_astc.xml glapi: Update dispatch XML files for OES_texture_compression_astc.xml 2016-05-03 03:43:18 -07:00
remap_helper.py python: Use the print function 2018-07-06 10:04:22 -07:00
SConscript mapi: Fix enums.c build with other build systems. 2015-12-01 12:19:02 -08:00
static_data.py mapi: add all _glapi_table entrypoints to static_data.py 2019-01-24 18:13:25 +00:00
typeexpr.py python: Stop using the string module 2018-07-24 11:07:04 -07:00