OSDN Git Service

Keep protected content in EGLImage attrs as needed.
authorCraig Donner <cdonner@google.com>
Thu, 20 Oct 2016 00:18:17 +0000 (17:18 -0700)
committerCraig Donner <cdonner@google.com>
Thu, 27 Oct 2016 16:36:58 +0000 (16:36 +0000)
commita94d940c75456714b1c4425dde1e44802cb838f7
treeea7680c65ff41756c84368dd6e384aa9f8aae99e
parent4466e11fd4469462cc6f7d218d4978eb335e16f2
Keep protected content in EGLImage attrs as needed.

When image_crop isn't supported, we also throw away the
protected_content_ext attrs in GLConsumer. Instead, keep them
around if they're used.

Bug: 32222880
Change-Id: Ic182810cbaacdfaf912c57667f5176d3e47941a9
libs/gui/GLConsumer.cpp