summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/scenes/RectGridAnimation.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-12-07 10:01:38 -0800
committerChris Craik <ccraik@google.com>2015-12-07 16:41:35 -0800
commit27e58b4f54d693ff1db7ab2edb5d47ca296c1278 (patch)
treec53dba1d814cba2ac29c4a1614381883cdaa35bd /libs/hwui/tests/common/scenes/RectGridAnimation.cpp
parent1daf35db0fa05bf579e41aa62ee8a4478af182ff (diff)
Build hwui test scenes as common test code
And start using them in other non-macrobench tests Change-Id: If155b531f3c89f97491001c06d1996df527b9f85
Diffstat (limited to 'libs/hwui/tests/common/scenes/RectGridAnimation.cpp')
-rw-r--r--libs/hwui/tests/common/scenes/RectGridAnimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/tests/common/scenes/RectGridAnimation.cpp b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp
index a1f04d67c785..a9293ab244dd 100644
--- a/libs/hwui/tests/common/scenes/RectGridAnimation.cpp
+++ b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp
@@ -19,11 +19,11 @@
class RectGridAnimation;
-static Benchmark _RectGrid(BenchmarkInfo{
+static TestScene::Registrar _RectGrid(TestScene::Info{
"rectgrid",
"A dense grid of 1x1 rects that should visually look like a single rect. "
"Low CPU/GPU load.",
- simpleCreateScene<RectGridAnimation>
+ TestScene::simpleCreateScene<RectGridAnimation>
});
class RectGridAnimation : public TestScene {