<commit_before># This file isn't used during a normal compilation since we don't want to
# require Python in order to compile Mesa.
# Instead, when the Mesa developers update/change the API interface it's
# up to him/her to re-run this makefile and check in the newly generated files.


TOP = ../../../..
include $(TOP)/configs/current

MESA_DIR = $(TOP)/src/mesa
MESA_GLAPI_DIR = $(TOP)/src/mapi/glapi
MESA_GLX_DIR = $(TOP)/src/glx

MESA_GLAPI_OUTPUTS = \
	$(MESA_GLAPI_DIR)/glprocs.h \
	$(MESA_GLAPI_DIR)/glapitemp.h \
	$(MESA_GLAPI_DIR)/glapitable.h

MESA_GLAPI_ASM_OUTPUTS = \
	$(MESA_GLAPI_DIR)/glapi_x86.S \
	$(MESA_GLAPI_DIR)/glapi_x86-64.S \
	$(MESA_GLAPI_DIR)/glapi_sparc.S

MESA_OUTPUTS = \
	$(MESA_GLAPI_OUTPUTS) \
	$(MESA_GLAPI_ASM_OUTPUTS) \
	$(MESA_DIR)/main/enums.c \
	$(MESA_DIR)/main/glapidispatch.h \
	$(MESA_DIR)/main/remap_helper.h \
	$(MESA_GLX_DIR)/indirect.c \
	$(MESA_GLX_DIR)/indirect.h \
	$(MESA_GLX_DIR)/indirect_init.c \
	$(MESA_GLX_DIR)/indirect_size.h \
	$(MESA_GLX_DIR)/indirect_size.c

######################################################################

XORG_GLX_DIR = $(XORG_BASE)/glx
XORG_GLAPI_DIR = $(XORG_BASE)/glx

XORG_GLAPI_FILES = \
	$(XORG_GLAPI_DIR)/glapi.h \
	$(XORG_GLAPI_DIR)/glapi.c \
	$(XORG_GLAPI_DIR)/glapi_getproc.c \
	$(XORG_GLAPI_DIR)/glapi_nop.c \
	$(XORG_GLAPI_DIR)/glthread.c \
	$(XORG_GLAPI_DIR)/glthread.h

XORG_GLAPI_OUTPUTS = \
	$(XORG_GLAPI_DIR)/glprocs.h \
	$(XORG_GLAPI_DIR)/glapitemp.h \
	$(XORG_GLAPI_DIR)/glapioffsets.h \
	$(XORG_GLAPI_DIR)/glapitable.h \
	$(XORG_GLAPI_DIR)/glapidispatch.h

XORG_OUTPUTS = \
	$(XORG_GLAPI_FILES) \
	$(XORG_GLAPI_OUTPUTS) \
	$(XORG_GLX_DIR)/indirect_dispatch.c \
	$(XORG_GLX_DIR)/indirect_dispatch_swap.c \
	$(XORG_GLX_DIR)/indirect_dispatch.h \
	$(XORG_GLX_DIR)/indirect_reqsize.c \
	$(XORG_GLX_DIR)/indirect_reqsize.h \
	$(XORG_GLX_DIR)/indirect_size.h \
	$(XORG_GLX_DIR)/indirect_size_get.c \
	$(XORG_GLX_DIR)/indirect_size_get.h \
	$(XORG_GLX_DIR)/indirect_table.c

######################################################################

API_XML = \
	gl_API.xml \
	ARB_copy_buffer.xml \
	ARB_depth_clamp.xml \
	ARB_draw_elements_base_vertex.xml \
	ARB_draw_instanced.xml \
	ARB_ES2_compatibility.xml \
	ARB_framebuffer_object.xml \
	ARB_geometry_shader4.xml \
	ARB_map_buffer_range.xml \
	ARB_seamless_cube_map.xml \
	ARB_sync.xml \
	ARB_vertex_array_object.xml \
	APPLE_object_purgeable.xml \
	APPLE_vertex_array_object.xml \
	EXT_draw_buffers2.xml \<commit_msg>glapi: GL_ARB_instanced_arrays support<commit_after># This file isn't used during a normal compilation since we don't want to
# require Python in order to compile Mesa.
# Instead, when the Mesa developers update/change the API interface it's
# up to him/her to re-run this makefile and check in the newly generated files.


TOP = ../../../..
include $(TOP)/configs/current

MESA_DIR = $(TOP)/src/mesa
MESA_GLAPI_DIR = $(TOP)/src/mapi/glapi
MESA_GLX_DIR = $(TOP)/src/glx

MESA_GLAPI_OUTPUTS = \
	$(MESA_GLAPI_DIR)/glprocs.h \
	$(MESA_GLAPI_DIR)/glapitemp.h \
	$(MESA_GLAPI_DIR)/glapitable.h

MESA_GLAPI_ASM_OUTPUTS = \
	$(MESA_GLAPI_DIR)/glapi_x86.S \
	$(MESA_GLAPI_DIR)/glapi_x86-64.S \
	$(MESA_GLAPI_DIR)/glapi_sparc.S

MESA_OUTPUTS = \
	$(MESA_GLAPI_OUTPUTS) \
	$(MESA_GLAPI_ASM_OUTPUTS) \
	$(MESA_DIR)/main/enums.c \
	$(MESA_DIR)/main/glapidispatch.h \
	$(MESA_DIR)/main/remap_helper.h \
	$(MESA_GLX_DIR)/indirect.c \
	$(MESA_GLX_DIR)/indirect.h \
	$(MESA_GLX_DIR)/indirect_init.c \
	$(MESA_GLX_DIR)/indirect_size.h \
	$(MESA_GLX_DIR)/indirect_size.c

######################################################################

XORG_GLX_DIR = $(XORG_BASE)/glx
XORG_GLAPI_DIR = $(XORG_BASE)/glx

XORG_GLAPI_FILES = \
	$(XORG_GLAPI_DIR)/glapi.h \
	$(XORG_GLAPI_DIR)/glapi.c \
	$(XORG_GLAPI_DIR)/glapi_getproc.c \
	$(XORG_GLAPI_DIR)/glapi_nop.c \
	$(XORG_GLAPI_DIR)/glthread.c \
	$(XORG_GLAPI_DIR)/glthread.h

XORG_GLAPI_OUTPUTS = \
	$(XORG_GLAPI_DIR)/glprocs.h \
	$(XORG_GLAPI_DIR)/glapitemp.h \
	$(XORG_GLAPI_DIR)/glapioffsets.h \
	$(XORG_GLAPI_DIR)/glapitable.h \
	$(XORG_GLAPI_DIR)/glapidispatch.h

XORG_OUTPUTS = \
	$(XORG_GLAPI_FILES) \
	$(XORG_GLAPI_OUTPUTS) \
	$(XORG_GLX_DIR)/indirect_dispatch.c \
	$(XORG_GLX_DIR)/indirect_dispatch_swap.c \
	$(XORG_GLX_DIR)/indirect_dispatch.h \
	$(XORG_GLX_DIR)/indirect_reqsize.c \
	$(XORG_GLX_DIR)/indirect_reqsize.h \
	$(XORG_GLX_DIR)/indirect_size.h \
	$(XORG_GLX_DIR)/indirect_size_get.c \
	$(XORG_GLX_DIR)/indirect_size_get.h \
	$(XORG_GLX_DIR)/indirect_table.c

######################################################################

API_XML = \
	gl_API.xml \
	ARB_copy_buffer.xml \
	ARB_depth_clamp.xml \
	ARB_draw_elements_base_vertex.xml \
	ARB_draw_instanced.xml \
	ARB_ES2_compatibility.xml \
	ARB_framebuffer_object.xml \
	ARB_geometry_shader4.xml \
	ARB_instanced_arrays.xml \
	ARB_map_buffer_range.xml \
	ARB_seamless_cube_map.xml \
	ARB_sync.xml \
	ARB_vertex_array_object.xml \
	APPLE_object_purgeable.xml \
	APPLE_vertex_array_object.xml \
	EXT_draw_buffers2.xml \
{'fraction_non_alphanumeric': 0.1864610454636491, 'fraction_numerical': 0.0036050470658922492, 'mean_word_length': 4.83411214953271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 31}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4597398', 'n_tokens_mistral': 2293, 'n_tokens_neox': 2317, 'n_words': 239}