summaryrefslogtreecommitdiffstats
path: root/src/egl/main/Android.mk
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-05 14:39:18 +0900
committerChia-I Wu <[email protected]>2011-08-28 21:56:23 +0800
commit9779f6f5c143506d71420d78bb51b2fa7c995378 (patch)
treea2e1fe1c5f410341daa38c85120921c56a1f3730 /src/egl/main/Android.mk
parent58911b86a15676f116c693e84ea6b9ebabb906ed (diff)
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 <[email protected]> Reviewed-by: Chad Versace <[email protected]> [olv: with assorted minor changes, mostly suggested during the review]
Diffstat (limited to 'src/egl/main/Android.mk')
0 files changed, 0 insertions, 0 deletions