summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Eason Chiu <eason.chiu@mediatek.com> 2023-10-23 08:55:48 +0800
committer Leon Scroggins III <scroggo@google.com> 2024-02-27 10:37:34 -0500
commit7303877bdf68883078c0fb98231f9de9d3a2e322 (patch)
tree98deb0223d77fd4ba12c162b487ac1445ee99a68 /libs/gui/DisplayLuts.cpp
parent05d40cd779aaa5cc768dff895d9211c687789e58 (diff)
Fix "Abnormal while playing netflix in PIP mode"
protected buffer usage of output buffer of framebuffer is determined by if any input layer contains protected buffer. If all the protected layers are handled by HWC,then GPU will process normal layers only. It means, GPU got normal buffer as input but need output to protected buffer.It would be memory violation for ARM as it required at least one normal buffer as input for such case Cherry-picked from AOSP. Conflicts in the test file are uninteresting; both branches simply added new tests. - services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp Update OutputComposeSurfacesTest_HandlesProtectedContent to pass. Bug: 307674749 Test: atest libcompositionengine_test:OutputUpdateProtectedContentStateTest Change-Id: I11d7c73c8eee4a46383516e8eb672827b26314e6 Merged-In: I11d7c73c8eee4a46383516e8eb672827b26314e6
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions