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

Skip to content
Commit 670b3f73 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Add buffer rejection logic to BlastBufferQueue

If the client sets the buffer scaling mode to freeze, then we want to
reject any buffers that do not match default width and size of the
buffer.

Additionally, we add logic to wait for the first callback before
acquiring a second buffer this is to ensure we will present the first
buffer if multiple buffers are queued in succession.

Test: atest SurfaceViewBufferTests
Bug: 168504870
Change-Id: I987f8ce4047a6f7f52726cfd404fbe9d565f83a2
parent 6b7c5c94
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