summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-20 22:21:23 +0100
committerEmil Velikov <[email protected]>2014-08-13 00:46:53 +0100
commit792041ebe5d6ccfdd03cf6903f4942aa115387c6 (patch)
treea298c3d553124167f996ab1cf342ab68bad591e0 /src/egl
parentbf05e067577a8d8e87a377dfb357806b67b6afca (diff)
android: egl/main: add/enable freedreno
For all everyone willing to give the freedreno driver a go they can now build it under Android. Cc: "10.1 10.2" <[email protected]> Cc: Rob Clark <[email protected]> Cc: [email protected] Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index b134682f465..c3d91975654 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -80,6 +80,12 @@ gallium_DRIVERS :=
# swrast
gallium_DRIVERS += libmesa_pipe_softpipe libmesa_winsys_sw_android
+# freedreno
+ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),)
+gallium_DRIVERS += libmesa_winsys_freedreno libmesa_pipe_freedreno
+LOCAL_SHARED_LIBRARIES += libdrm_freedreno
+endif
+
# i915g
ifneq ($(filter i915g, $(MESA_GPU_DRIVERS)),)
gallium_DRIVERS += libmesa_winsys_i915 libmesa_pipe_i915