android: use gralloc_drm_get_gem_handle api
authorTapani Pälli <tapani.palli@intel.com>
Thu, 24 Jan 2013 07:56:47 +0000 (09:56 +0200)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 28 Jan 2013 20:49:41 +0000 (12:49 -0800)
commit407029591c24edfd75970e8709f68b8e800ff50a
tree8dddb83d879e5b4db83d95ff2efd14f4582fb5c9
parent8e4bb4bc0913ceac3b8e2953d4172367cd85c20e
android: use gralloc_drm_get_gem_handle api

Currently a gralloc internal structure is exposed to Mesa,
Use a query function instead to maintain ABI compatibility.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/platform_android.c
src/egl/main/Android.mk
src/gallium/state_trackers/egl/android/native_android.cpp