android: add support for ICS
authorChia-I Wu <olv@lunarg.com>
Fri, 25 Nov 2011 03:59:02 +0000 (11:59 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 25 Nov 2011 04:34:33 +0000 (12:34 +0800)
commit75cc24c876059d6eb183e07ed802f997fb416864
treed54eaf925a263684e7086a8671db540636e0660d
parent42c2c371d6c4c82c3e9176e028281a91edfadafd
android: add support for ICS

With ICS (Android 4.0), several headers and structs are renamed.  Define
ANDROID_VERSION so that we can choose a different path depending on the
platform version.

I've tested only softpipe and llvmpipe.  r600g is also reported to work.
Android.common.mk
include/EGL/eglext.h
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c
src/gallium/state_trackers/egl/android/native_android.cpp
src/gallium/state_trackers/egl/common/egl_g3d_image.c
src/gallium/state_trackers/egl/common/native_buffer.h
src/gallium/winsys/sw/android/android_sw_winsys.cpp