From 99be968e99141c01b0fd3c045fe0f4c0c595ed51 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 22 Aug 2011 11:04:46 +0800 Subject: android: add support for i915g Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not. --- src/gallium/targets/egl-static/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/targets/egl-static/Android.mk') diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk index b7c29ae533e..a6b026c8869 100644 --- a/src/gallium/targets/egl-static/Android.mk +++ b/src/gallium/targets/egl-static/Android.mk @@ -46,6 +46,9 @@ LOCAL_C_INCLUDES := \ # swrast LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE +ifneq ($(filter i915g, $(MESA_GPU_DRIVERS)),) +LOCAL_CFLAGS += -D_EGL_PIPE_I915=1 +endif ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),) LOCAL_CFLAGS += -D_EGL_PIPE_R600=1 endif -- cgit v1.2.3