Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7303877b authored by Eason Chiu's avatar Eason Chiu Committed by Leon Scroggins III
Browse files

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
parent 05d40cd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment