OSDN Git Service

Support EGL_EXT_protected_content in GLConsumer.
authorCraig Donner <cdonner@google.com>
Fri, 29 Apr 2016 01:09:40 +0000 (18:09 -0700)
committerCraig Donner <cdonner@google.com>
Fri, 29 Apr 2016 17:09:55 +0000 (10:09 -0700)
commitaec8697fcaa8bb30e335f7850cffdd0364c35532
tree5cdfa797a2ab51842241466626f265926235f285
parentd97e99f7d4665530a699bb72ee694174cb938536
Support EGL_EXT_protected_content in GLConsumer.

When the consumer creates an EGLImage, it must now pass
EGL_PROTECTED_CONTENT_EXT to eglCreateImageKHR for protected buffers to be
mapped onto the GPU.  This allows us to no longer need QCOM specific flags in
a few places (already removed).

Bug: 27536318
Change-Id: I1c49886d2dcbdceaf5fa9a33288753115651b4f2
libs/gui/GLConsumer.cpp
opengl/libs/EGL/eglApi.cpp