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

Skip to content
Commit 17dde617 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

BlastBufferQueue: Handle queue to window composer queries

When queuing protected buffers, libstagefright queries
ANativeWindow to check if the ANativeWindow sends buffers
directly to SurfaceFlinger. This check works by verifying
the IGBP matches one of the tracked IGBPs in SurfaceFlinger.

This does not apply to blast layers since SurfaceFlinger does
not create IGBPs and there may not be any IGBP used to
submit buffers. To fix this for the blast adapter, we query the
blast buffer queue producer to see if it queues to
SurfaceFlinger.

Bug: b/175904021, b/168917217

Test: atest BlastBufferQueueTest
Test: Play protected content via Google Play on AndroidTV

Change-Id: Id1affce09742c6b438c7499b525615b8bd294b9a
parent 0e94797b
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