diff options
author | Corey Tabaka <eieio@google.com> | 2017-09-28 11:15:50 -0700 |
---|---|---|
committer | Corey Tabaka <eieio@google.com> | 2017-09-28 13:51:21 -0700 |
commit | 0d07cdd593f982e5f6e75706c7f9a99a3c5a9264 (patch) | |
tree | 91629517717eb13c52be63aa8f3bf508f0462b9e /opengl/tests/gl_basic/gl_basic.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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions