summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-06-03 15:16:37 -0400
committer Leon Scroggins III <scroggo@google.com> 2021-06-03 15:35:57 -0400
commit30562981b980ff97e421fa5e9643c04d32d997a7 (patch)
tree735637635032a94a43382bff172fd0648b2d08c2 /libs/gui/DisplayLuts.cpp
parentf824b538078f701b6881db46b630378b55a66dd0 (diff)
Remove fatal assert from CachedSet::render
Bug: 189392914 Test: libcompositionengine_test Test: manual The intent was to catch a case where we somehow were looking at the wrong layer (e.g. a shadow instead of the PIP itself). In practice, the PIP will only have one layer. That said, if the content was protected, BufferLayer::prepareClientComposition will not have supplied the buffer; instead, it will have called prepareClearClientComposition to draw pure black instead (since the CachedSet does not support protected content). The intent of the CachedSet is to draw transparent anyway, so it is fine that the buffer is not included in the LayerSettings. Change-Id: I6a69886cca6f78b5f704c78457ee50f381b1c49d
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions