summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2019-01-25 10:45:41 -0800
committer Marissa Wall <marissaw@google.com> 2019-02-04 13:10:57 -0800
commit734116201d021cccd1d446fe8300f995a0019e42 (patch)
treeb33662ce1d8713ea269869c06705ceea7bae5df7 /libs/gui/BufferQueueThreadState.cpp
parentdf93796a1b8455ae1653f22270e13b0a6494d822 (diff)
blast: implicitly cache buffers
Sending buffers between processes is expensive so they must be cached. Currently buffers are explictly cached. This patch updates them to implicitly cache them per client process. The max buffers per process is 64. After that, the cache will try to evict buffers that have been destroyed. If it doesn't find any, it will evict the least recently used buffer. Test: Transaction_test Bug: 80477568 Change-Id: Id048d32e05e19d0ce875212cbcddf997736110fd
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions