diff options
author | Chia-I Wu <[email protected]> | 2011-08-19 14:35:45 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-25 08:54:16 +0800 |
commit | 7b1972d7be8ed68676786288ac2d77b8d71d113d (patch) | |
tree | 3874ffd33982095901087916eae384ab3acddb63 /src/gallium/targets | |
parent | 689b45fb27c36db49d68eb99a015f68a651d75ef (diff) |
android: add support for r600g
Tested with a Radeon HD 6250. SurfaceFlinger (the display server and
compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D
apps, some work but some don't (with serious rendering defects).
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/egl-static/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk index 8a65585b72b..ebc89ead454 100644 --- a/src/gallium/targets/egl-static/Android.mk +++ b/src/gallium/targets/egl-static/Android.mk @@ -46,6 +46,10 @@ LOCAL_C_INCLUDES := \ # swrast LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE +ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),) +LOCAL_CFLAGS += -D_EGL_PIPE_R600=1 +endif + LOCAL_MODULE := libmesa_egl_gallium include $(GALLIUM_COMMON_MK) |