egl: Add EGL_FRAMEBUFFER_TARGET_ANDROID attribute
authorRob Herring <robh@kernel.org>
Tue, 2 Feb 2016 20:23:07 +0000 (14:23 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 1 Apr 2016 12:44:25 +0000 (13:44 +0100)
commit8975527f58afd4af77966c6e46b485fc04008779
treece4f391af9cb9c066077161ed73cee9a3402ef10
parent2d9e0f24e1a13648a9bceb03dbfb438e03c81fd7
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>
src/egl/main/eglapi.c
src/egl/main/eglconfig.c
src/egl/main/eglconfig.h
src/egl/main/egldisplay.h