depot: mesa recipe

Fixes #2784
This commit is contained in:
Christian Prochaska 2018-04-17 14:01:00 +02:00 committed by Christian Helmuth
parent 0bded4478e
commit be8addc608
13 changed files with 1429 additions and 5 deletions

View File

@ -1 +1 @@
INC_DIR += $(call select_from_ports,mesa)/include/mesa
INC_DIR += $(call select_from_ports,mesa)/include

View File

@ -0,0 +1,125 @@
_eglAddAtExitCall T
_eglAppendArray T
_eglBindContext T
_eglBindTexImage T
_eglBuiltInDriverDRI2 T
_eglBuiltInDrivers D 32
_eglCheckDisplayHandle T
_eglCheckResource T
_eglChooseConfig T
_eglCleanupDisplay T
_eglCompareConfigs T
_eglCreateArray T
_eglDestroyArray T
_eglDestroyCurrentThread T
_eglEraseArray T
_eglError T
_eglFilterArray T
_eglFilterConfigArray T
_eglFindArray T
_eglFindDisplay T
_eglFiniDisplay T
_eglFlattenArray T
_eglGetAPIContext T
_eglGetConfigAttrib T
_eglGetConfigs T
_eglGetCurrentContext T
_eglGetCurrentThread T
_eglGetDriverProc T
_eglGetNativePlatform T
_eglGetResource T
_eglGetSyncAttrib T
_eglGlobal D 112
_eglInitConfig T
_eglInitContext T
_eglInitDriverFallbacks T
_eglInitImage T
_eglInitResource T
_eglInitSurface T
_eglInitSync T
_eglIsCurrentThreadDummy T
_eglLinkConfig T
_eglLinkResource T
_eglLog T
_eglLookupConfig T
_eglMatchConfig T
_eglMatchDriver T
_eglParseConfigAttribList T
_eglParseImageAttribList T
_eglPutResource T
_eglQueryContext T
_eglQuerySurface T
_eglReleaseDisplayResources T
_eglReleaseTexImage T
_eglSetLogLevel T
_eglSetLogProc T
_eglSurfaceAttrib T
_eglSwapInterval T
_eglUnlinkResource T
_eglUnloadDrivers T
_eglValidateConfig T
blit T
dri2_add_config T
dri2_create_image_khr T
dri2_create_screen T
dri2_flush_drawable_for_swapbuffers T
dri2_genode_create_pixmap_surface T
dri2_genode_create_window_surface T
dri2_genode_destroy_surface T
dri2_genode_swap_interval T
dri2_get_dri_config T
dri2_initialize_genode T
dri2_load_driver T
dri2_load_driver_dri3 T
dri2_load_driver_swrast T
dri2_lookup_egl_image T
dri2_setup_screen T
dri2_surface_get_dri_drawable T
dri2_to_egl_attribute_map D 196
eglBindAPI T
eglBindTexImage T
eglChooseConfig T
eglClientWaitSync T
eglCopyBuffers T
eglCreateContext T
eglCreateImage T
eglCreatePbufferFromClientBuffer T
eglCreatePbufferSurface T
eglCreatePixmapSurface T
eglCreatePlatformPixmapSurface T
eglCreatePlatformWindowSurface T
eglCreateSync T
eglCreateWindowSurface T
eglDestroyContext T
eglDestroyImage T
eglDestroySurface T
eglDestroySync T
eglGetConfigAttrib T
eglGetConfigs T
eglGetCurrentContext T
eglGetCurrentDisplay T
eglGetCurrentSurface T
eglGetDisplay T
eglGetError T
eglGetPlatformDisplay T
eglGetProcAddress T
eglGetSyncAttrib T
eglInitialize T
eglMakeCurrent T
eglQueryAPI T
eglQueryContext T
eglQueryString T
eglQuerySurface T
eglReleaseTexImage T
eglReleaseThread T
eglSurfaceAttrib T
eglSwapBuffers T
eglSwapInterval T
eglTerminate T
eglWaitClient T
eglWaitGL T
eglWaitNative T
eglWaitSync T
genode_blit T
image_lookup_extension D 24
use_invalidate D 16

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
599f6a13e280b5410f5b7e7730f571fd1a73037b
d4ed8f2823932a7031c52a4e6bf9a1e78585b7bf

View File

@ -14,8 +14,8 @@ HASH_INPUT += $(REP_DIR)/src/lib/mesa/files.list
PATCHES := src/lib/mesa/patches/egl.patch
PATCH_OPT := -p1
DIRS := include/mesa
DIR_CONTENT(include/mesa) = $(wildcard src/lib/mesa/include/*)
DIRS := include
DIR_CONTENT(include) = $(wildcard src/lib/mesa/include/*)
#
# Check for tools

View File

@ -0,0 +1,22 @@
MIRROR_FROM_REP_DIR := lib/import/import-mesa.mk \
lib/symbols/egl \
lib/symbols/mesa
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/mesa)
content: include
include:
mkdir -p $@
cp -r $(PORT_DIR)/include/* $@
cp -r $(REP_DIR)/include/EGL $@
content: LICENSE
LICENSE:
cp $(PORT_DIR)/src/lib/mesa/docs/COPYING $@

View File

@ -0,0 +1 @@
2018-04-19 a12204ee27bfd2a09dbf3088e87f7599bb1d9807

View File

@ -16,7 +16,7 @@ include:
mkdir -p $@
cp -r $(SDL_PORT_DIR)/include/SDL $@/
cp -r $(REP_DIR)/include/SDL $@/
cp -r $(MESA_PORT_DIR)/include/mesa/* $@/
cp -r $(MESA_PORT_DIR)/include/* $@/
cp -r $(REP_DIR)/include/EGL $@/
src/lib/sdl:

View File

@ -0,0 +1 @@
mesa

View File

@ -0,0 +1,37 @@
MIRROR_FROM_REP_DIR := lib/mk/egl.mk \
lib/mk/egl_i965.mk \
lib/mk/egl_swrast.mk \
lib/mk/glapi.mk \
lib/mk/i965.mk \
lib/mk/mesa.inc \
lib/mk/mesa_api.mk \
lib/mk/mesa-common.inc \
lib/mk/spec/arm/mesa.mk \
lib/mk/spec/x86_32/mesa.mk \
lib/mk/spec/x86_64/mesa.mk \
lib/mk/swrast.mk \
src/lib/mesa
content: $(MIRROR_FROM_REP_DIR) src/lib/mesa/target.mk
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
src/lib/mesa/target.mk:
mkdir -p $(dir $@)
echo "LIBS = mesa" > $@
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/mesa)
MIRROR_FROM_PORT_DIR := src/lib/mesa/src \
content: $(MIRROR_FROM_PORT_DIR)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $(dir $@)
content: LICENSE
LICENSE:
cp $(PORT_DIR)/src/lib/mesa/docs/COPYING $@

View File

@ -0,0 +1 @@
2018-04-20 92a41d5d30067988510732d710ecf897ccc20edb

View File

@ -0,0 +1,9 @@
base
blit
drm
expat
gpu_session
libc
os
stdcxx
timer_session

View File

@ -1,3 +1,4 @@
mesa-11.2.2/docs/COPYING
mesa-11.2.2/include/c11/threads.h
mesa-11.2.2/include/c11/threads_posix.h
mesa-11.2.2/include/c99_alloca.h