diff options
author | Eric Anholt <eric@anholt.net> | 2015-06-03 10:15:31 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-06-15 10:32:23 -0700 |
commit | 6ce0b0e31754d88a542d4e3c90062e3f6a67f7b9 (patch) | |
tree | a012e3ab1ed24b435831c66d8409bfb3de401f33 /src/gallium/targets | |
parent | fd3234891f7203d6b2b0992c34e880df325f75ea (diff) | |
download | external_mesa3d-6ce0b0e31754d88a542d4e3c90062e3f6a67f7b9.zip external_mesa3d-6ce0b0e31754d88a542d4e3c90062e3f6a67f7b9.tar.gz external_mesa3d-6ce0b0e31754d88a542d4e3c90062e3f6a67f7b9.tar.bz2 |
vc4: Add support for building on Android.
v2: Add a comment explaining why we link libmesa_glsl. Drop warning
option from freedreno. Add vc4 to the documentation for
BOARD_GPU_DRIVERS.
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/dri/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 1772d25..5ba129b 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -90,6 +90,10 @@ ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),) gallium_DRIVERS += libmesa_pipe_softpipe libmesa_winsys_sw_dri libmesa_winsys_sw_kms_dri LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE endif +ifneq ($(filter vc4,$(MESA_GPU_DRIVERS)),) +LOCAL_CFLAGS += -DGALLIUM_VC4 +gallium_DRIVERS += libmesa_winsys_vc4 libmesa_pipe_vc4 +endif ifneq ($(filter vmwgfx,$(MESA_GPU_DRIVERS)),) gallium_DRIVERS += libmesa_winsys_svga libmesa_pipe_svga LOCAL_CFLAGS += -DGALLIUM_VMWGFX |