summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-02-02 14:23:07 -0600
committerEmil Velikov <emil.l.velikov@gmail.com>2016-04-01 13:44:25 +0100
commit8975527f58afd4af77966c6e46b485fc04008779 (patch)
treece4f391af9cb9c066077161ed73cee9a3402ef10 /src/egl/main/eglapi.c
parent2d9e0f24e1a13648a9bceb03dbfb438e03c81fd7 (diff)
downloadexternal_mesa3d-8975527f58afd4af77966c6e46b485fc04008779.zip
external_mesa3d-8975527f58afd4af77966c6e46b485fc04008779.tar.gz
external_mesa3d-8975527f58afd4af77966c6e46b485fc04008779.tar.bz2
egl: Add EGL_FRAMEBUFFER_TARGET_ANDROID attribute
This is used by Android to select an eglconfig compatible with HWComposer. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Rob Herring <robh@kernel.org> [Emil Velikov: add the _eglIsConfigAttribValid check] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r--src/egl/main/eglapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index dd145a1..6c395bd 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -381,6 +381,7 @@ _eglCreateExtensionsString(_EGLDisplay *dpy)
char *exts = dpy->ExtensionsString;
/* Please keep these sorted alphabetically. */
+ _EGL_CHECK_EXTENSION(ANDROID_framebuffer_target);
_EGL_CHECK_EXTENSION(ANDROID_image_native_buffer);
_EGL_CHECK_EXTENSION(CHROMIUM_sync_control);