diff options
author | Chia-I Wu <[email protected]> | 2011-08-05 14:39:18 +0900 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-28 21:56:23 +0800 |
commit | 9779f6f5c143506d71420d78bb51b2fa7c995378 (patch) | |
tree | a2e1fe1c5f410341daa38c85120921c56a1f3730 /Makefile | |
parent | 58911b86a15676f116c693e84ea6b9ebabb906ed (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 'Makefile')
0 files changed, 0 insertions, 0 deletions