st/egl: add android backend
authorChia-I Wu <olvaffe@gmail.com>
Thu, 18 Aug 2011 02:28:29 +0000 (10:28 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 20 Aug 2011 18:01:48 +0000 (02:01 +0800)
commit15418a850575b2a33132165605293ed835b4be53
treedd3e75eda751421ac0029e5bedf65cbade38ace0
parent8e54c47a6163d437cc44bc1b6ea6e0cfa6d4e774
st/egl: add android backend

Both HW and SW rendering are supported for Android.  For SW rendering,
we use the generic gralloc lock/unlock for mapping and unmapping color
buffers (in winsys/android).

For HW rendering, we need to know the real type of color buffers.  This
backend works with drm_gralloc, where a color buffer is backed by a GEM
object.
src/gallium/state_trackers/egl/android/native_android.cpp [new file with mode: 0644]
src/gallium/state_trackers/egl/common/egl_g3d.c
src/gallium/state_trackers/egl/common/egl_g3d_image.c
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/common/native_buffer.h