diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2011-08-19 14:35:45 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-08-25 08:54:16 +0800 |
commit | 7b1972d7be8ed68676786288ac2d77b8d71d113d (patch) | |
tree | 3874ffd33982095901087916eae384ab3acddb63 /Android.mk | |
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 <maraeo@gmail.com>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk index 03acbaf2f1..53c619ee50 100644 --- a/Android.mk +++ b/Android.mk @@ -24,7 +24,7 @@ # BOARD_GPU_DRIVERS should be defined. The valid values are # # classic drivers: -# gallium drivers: swrast +# gallium drivers: swrast r600g # # The main target is libGLES_mesa. There is no classic drivers yet. @@ -36,7 +36,7 @@ DRM_TOP := external/drm DRM_GRALLOC_TOP := hardware/drm_gralloc classic_drivers := -gallium_drivers := swrast +gallium_drivers := swrast r600g MESA_GPU_DRIVERS := $(BOARD_GPU_DRIVERS) @@ -110,6 +110,12 @@ gallium_DRIVERS := # swrast gallium_DRIVERS += libmesa_pipe_softpipe libmesa_winsys_sw_android +# r600g +ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),) +gallium_DRIVERS += libmesa_winsys_radeon +gallium_DRIVERS += libmesa_pipe_r600 libmesa_winsys_r600 +endif + # # Notes about the order here: # |