commit | 8366f563a621981be0a83b675cbbc714c6d98cd1 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Mon Mar 25 19:44:06 2019 +0800 |
committer | Yichi Chen <yichichen@google.com> | Tue Apr 02 12:01:33 2019 +0000 |
tree | fed1811de7fe33e0b27bc204e3a7a9ca80988136 | |
parent | 945a7006f905b5f460668923b9875cd6637931a6 [diff] |
HWC2: Optimize execution by caching all HWC2 calls in setPerFrameData To avoid redundant HWC2 calls into hwcomposer service, we cache all HWC2 calls in BufferLayer::setPerFrameData by having visible region, damage region and layer buffers cached in HWC2::Layer. Bug: 119414178 Test: Display function test on F2. Test: b/129317072 Display function tests on M1/S1, M2/S2, B1/C1, B4/S4, and C2/F2. Change-Id: I1679e755ac55a459c93b42b9f8225f0c270228e6