diff options
author | John Reck <jreck@google.com> | 2016-04-06 07:50:47 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-04-07 14:10:43 -0700 |
commit | 51f2d606dcbfba3cc5b03dfea37c1304b91c232f (patch) | |
tree | 110249f497eddafcb33ba8aed6989bd965b2a7da /libs/hwui/tests/macrobench/TestSceneRunner.cpp | |
parent | 3397c88f7900d8db677204cdbe9e7a5dc26e453a (diff) |
Fix some edge cases
Bug: 27709981
This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo
Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258
Diffstat (limited to 'libs/hwui/tests/macrobench/TestSceneRunner.cpp')
-rw-r--r-- | libs/hwui/tests/macrobench/TestSceneRunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/tests/macrobench/TestSceneRunner.cpp b/libs/hwui/tests/macrobench/TestSceneRunner.cpp index 58c0876cb4cb..cc0fdd5537d2 100644 --- a/libs/hwui/tests/macrobench/TestSceneRunner.cpp +++ b/libs/hwui/tests/macrobench/TestSceneRunner.cpp @@ -95,7 +95,7 @@ void run(const TestScene::Info& info, const TestScene::Options& opts) { testContext.waitForVsync(); nsecs_t vsync = systemTime(CLOCK_MONOTONIC); UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); - proxy->syncAndDrawFrame(); + proxy->syncAndDrawFrame(nullptr); } proxy->resetProfileInfo(); @@ -110,7 +110,7 @@ void run(const TestScene::Info& info, const TestScene::Options& opts) { ATRACE_NAME("UI-Draw Frame"); UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); scene->doFrame(i); - proxy->syncAndDrawFrame(); + proxy->syncAndDrawFrame(nullptr); } if (opts.reportFrametimeWeight) { proxy->fence(); |