summaryrefslogtreecommitdiff
path: root/libs/battery/MultiStateCounterTest.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-20 15:54:17 -0500
commit4509966315ca9334d4637f8f364a34a12985ab13 (patch)
tree5df19c0085dc5459a8d872afe59b5519a26fb839 /libs/battery/MultiStateCounterTest.cpp
parent43cacc5820060c97e8d1c6192f5912a39932bf61 (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 Put the behavior change behind a flag. Bug: 307674749 Test: atest libcompositionengine_test:OutputUpdateProtectedContentStateTest Change-Id: I11d7c73c8eee4a46383516e8eb672827b26314e6
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions