summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueProducer.cpp
diff options
context:
space:
mode:
author Jim Shargo <jshargo@google.com> 2024-10-22 20:29:12 +0000
committer Jim Shargo <jshargo@google.com> 2024-12-12 23:35:58 +0000
commit4f9c275b3f43c4f683b4778b3d3c5464d3dad9a0 (patch)
tree6a28f9fe79e653fa7adc24b1e3c88b2cc24b0264 /libs/gui/BufferQueueProducer.cpp
parent2e614a493cbfbc34430993ee158378fba235a3b2 (diff)
libgui: Add unlimited slot support to Surfaces and Consumers
Surfaces can now use `setMaxDequeuedBufferCount` with any value when the consumer supports it to give themselves an essentially unlimited number of buffers to use. ConsumerBase and its libgui children have been updated to allow for unlimited buffer slots by default (meaning all users opt into this automatically), and their implementations have been updated to track the new variable slot limit. This is part of go/warren-buffers. Bug: 341359185 Flag: com.android.graphics.libgui.flags.wb_unlimited_slots Test: new tests, old tests Change-Id: I374aa204a2e42a17d95c6e0ffaef2c2caaa9c963
Diffstat (limited to 'libs/gui/BufferQueueProducer.cpp')
0 files changed, 0 insertions, 0 deletions