History log of /external/mesa3d/src/egl/drivers/dri2/platform_android.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c7775e842bec815ede6badc35dbfe4991c183e3a 13-Aug-2012 Tapani Pälli <tapani.palli@intel.com> android: do not expose single buffered eglconfigs

On Android we want to add only double buffered configs for visuals.
Earlier implementation set the SurfaceType as 0 for single buffered
configs but driver still exposed these configs that were not compatible
with any egl surface type. This caused Khronos conformance test runs to
fail on Android. This patch fixes the issue by skipping single buffered
configs earlier and not exposing them.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit d58ca43b809593314907694e744780ab9b28d590)
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
2a69de60bf9d8a4b35a115a0b1ac115301dd954d 13-Aug-2012 Tapani Pälli <tapani.palli@intel.com> android: fix liblog API changes

android logging macros changed their name in JellyBean.

Signed-off-by: Bruce E. Robertson <bruce.e.robertson@intel.com>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit 29d394b9ba4d7a23524fc6fba6da6e043085744b)
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
81f95ce13d92f15df2941a831ddb5a415f0f816e 24-Apr-2012 Sean V Kelley <sean.v.kelley@linux.intel.com> egl/android: Add support for RGBX_8888 used in Android native buffers

Add new format __DRI_IMAGE_FORMAT_XBGR8888 to __DRI_IMAGE.
HAL_PIXEL_FORMAT_RGBX_8888 now maps to __DRI_IMAGE_FORMAT_XBGR8888.

Signed-off-by: Sean V Kelley <sean.v.kelley@linux.intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
75cc24c876059d6eb183e07ed802f997fb416864 25-Nov-2011 Chia-I Wu <olv@lunarg.com> 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.
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
48eb1fe6f9bca74364cf43c36e48ff3fd7cd53f5 21-Aug-2011 Chia-I Wu <olv@lunarg.com> egl_dri2: add support for RGBA_8888 android native buffer

HAL_PIXEL_FORMAT_RGBA_8888 maps to __DRI_IMAGE_FORMAT_ABGR8888.
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
93d59637446ba98802fa349afc1f365d71a66c9d 26-Aug-2011 Chia-I Wu <olv@lunarg.com> egl_dri2: add pbuffer support to platform_android

This is a simple change thanks to allocateBuffer.

Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
c8e18f85da9b41e79b67c39450917b46b6de8fb4 26-Aug-2011 Chia-I Wu <olv@lunarg.com> egl_dri2: check the surface type in platform_android

Check the surface type is EGL_WINDOW_BIT before doing anything, in
preparation for pbuffer support.

Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
384f228a2573ce592854f58c45564f75419fe987 26-Aug-2011 Chia-I Wu <olv@lunarg.com> egl_dri2: refactor droid_get_buffers_with_format

Move the loop to parse attachments to its own function.

Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/egl/drivers/dri2/platform_android.c
9779f6f5c143506d71420d78bb51b2fa7c995378 05-Aug-2011 Chia-I Wu <olvaffe@gmail.com> egl_dri2: add support for Android

Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works
with drm_gralloc, where back buffers of windows are backed by GEM
objects.

In Android a native window has a queue of back buffers allocated by the
server, through drm_gralloc. For each frame, EGL needs to

dequeue the next back buffer
render to the buffer
enqueue the buffer

After enqueuing, the buffer is no longer valid to EGL. A window has no
depth buffer or other aux buffers. They need to be allocated locally by
EGL.

Reviewed-by: Benjamin Franzke <benjaminfranzke@googlemail.com>
Reviewed-by: Chad Versace <chad@chad-versace.us>

[olv: with assorted minor changes, mostly suggested during the review]
/external/mesa3d/src/egl/drivers/dri2/platform_android.c