diff options
| author | 2017-09-28 11:15:50 -0700 | |
|---|---|---|
| committer | 2017-09-28 13:51:21 -0700 | |
| commit | 0d07cdd593f982e5f6e75706c7f9a99a3c5a9264 (patch) | |
| tree | 91629517717eb13c52be63aa8f3bf508f0462b9e /libs/gui/LayerDebugInfo.cpp | |
| parent | 55f8883bb5b93c6b88350eeb6052a3f145496fdd (diff) | |
Use the HWC caching mechanism to avoid stalls in the ion driver.
HWC supports caching buffers for layers using "slot" assignments.
Use this in VrFlinger to avoid importing a buffer handle every
frame. The avoids periodic stalls we observe in the ion driver
when mapping a buffer into the HWC address space.
Bug: 66459419
Test: Observe systraces no longer have MapBuffer in HWC in steady
state; system does not drop frames.
Change-Id: Iba4161b33561322bfbccbfafe600b432a6fa7c44
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions