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

Skip to content
Commit a62f051c authored by Jim Shargo's avatar Jim Shargo
Browse files

BufferQueues: Always respect setMaxDequeuedBufferCount

For some reason, this wouldn't be respected if no buffers had been
queued. This could lead to surprising behavior of a (with unlimited
buffers, essentially unbounded) buffers being dequeued for new BQs.

This is flag gated to capture potential issues, since I'm worried about
chesterton's fence.

Bug: 399328309
Flag: com.android.graphics.libgui.flags.bq_always_use_max_dequeued_buffer_count
Test: new tests

Change-Id: I756eb4f621f6eec1a5bb43a490305018ec69c477
parent 6075c6ae
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