summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:14:33 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:32 +0800
commit04dbb37eaa1aa6c60eb7130ebba6893954418b78 (patch)
tree6d51bc575bad9bcaa9619520c4becc70474fdb39 /src/gallium/targets/egl-static
parent0cc088900725945bf381a07c8d85d1c8fdb447ac (diff)
android: add support for vmwgfx
Quickly tested with VMWare Workstation 7.1.4 on Linux with GeForce GT220. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB visual works. However, due to missing PIPE_FORMAT_R8G8B8A8_UNORM support, those with RGBA visual do not.
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index ebc89ead454..b7c29ae533e 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -49,6 +49,9 @@ LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE
ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
LOCAL_CFLAGS += -D_EGL_PIPE_R600=1
endif
+ifneq ($(filter vmwgfx, $(MESA_GPU_DRIVERS)),)
+LOCAL_CFLAGS += -D_EGL_PIPE_VMWGFX=1
+endif
LOCAL_MODULE := libmesa_egl_gallium