diff options
author | Ady Abraham <adyabr@google.com> | 2021-02-03 18:33:11 -0800 |
---|---|---|
committer | Ady Abraham <adyabr@google.com> | 2021-02-08 18:13:45 +0000 |
commit | 7bb70faa04725b675f2b5047bb1f262564645d4c (patch) | |
tree | 8911700c57aef263fa9fb130d3d6f7cfaed4076f /libs/hwui/tests/macrobench/TestSceneRunner.cpp | |
parent | dba0fb5580c7881b4981a5f30fd4be623fef30ce (diff) |
Remove render ahead from hwui
As HWUI uses vsync id to send buffers to SF, SF applies the right
amount of render ahead by latching the buffers at the configured time.
Test: launch an app and observe systrace
Bug: 178148035
Change-Id: Ifd3e1a2971aad0a085cb35d33e950194046aa634
Diffstat (limited to 'libs/hwui/tests/macrobench/TestSceneRunner.cpp')
-rw-r--r-- | libs/hwui/tests/macrobench/TestSceneRunner.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/hwui/tests/macrobench/TestSceneRunner.cpp b/libs/hwui/tests/macrobench/TestSceneRunner.cpp index eda5d2266dcf..8c7d2612f39b 100644 --- a/libs/hwui/tests/macrobench/TestSceneRunner.cpp +++ b/libs/hwui/tests/macrobench/TestSceneRunner.cpp @@ -153,11 +153,6 @@ void run(const TestScene::Info& info, const TestScene::Options& opts, proxy->resetProfileInfo(); proxy->fence(); - if (opts.renderAhead) { - usleep(33000); - } - proxy->setRenderAheadDepth(opts.renderAhead); - ModifiedMovingAverage<double> avgMs(opts.reportFrametimeWeight); nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); |