Chromium Code Reviews
Descriptionandroid: Tweak readback context memory limits
This context is used for readbacks only, and is destroyed after all
readbacks are done. And readback memory comes from the mapped memory
pool.
Lower the transfer buffer pool to 128k. The readback memory doesn't come
from this pool, so there is no reason it's computed from the screen size.
Lower the mapped memory reclaim limit to 4k. Note this is not the
maximum allocation size, so there is no correctness issue here. It also
lowers the chunk size, ie allocations are rounded up to a multiple of
the chunk. There are very few (only one most of the time) allocations
from this pool, having a lower chunk size should not have have a big
impact on perf (from reuse), but lowers memory overhead.
BUG=680690
Review-Url: https://codereview.chromium.org/2646643002
Cr-Commit-Position: refs/heads/master@{#444579}
Committed: https://chromium.googlesource.com/chromium/src/+/b9ee881336aafb25b77a02b0620605696e2200bc
Patch Set 1 #
Total comments: 2
Patch Set 2 : semicolon #Messages
Total messages: 11 (6 generated)
|