diff options
| author | 2013-05-07 12:24:47 -0700 | |
|---|---|---|
| committer | 2013-05-07 12:32:59 -0700 | |
| commit | 7bfdf27539cb5082e9d11da780d2d24405a008d6 (patch) | |
| tree | 6558eee914e9b465e19f45ccd76c805320a31a0d /cmds/flatland/Main.cpp | |
| parent | 779434378ee7ca43800a7c7d949c1433c39736fc (diff) | |
flatland: add 3:2 tests
Change-Id: I90496207fbf972c9a8e6baa2188a7732a282f879
Diffstat (limited to 'cmds/flatland/Main.cpp')
| -rw-r--r-- | cmds/flatland/Main.cpp | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/cmds/flatland/Main.cpp b/cmds/flatland/Main.cpp index 99715d39d6..5ac8100510 100644 --- a/cmds/flatland/Main.cpp +++ b/cmds/flatland/Main.cpp @@ -73,6 +73,24 @@ static const BenchmarkDesc benchmarks[] = { }, }, + { "3:2 Single Static Window", + 2048, 1536, { 1536 }, + { + { // Window + 0, staticGradient, opaque, + 0, 50, 2048, 1440, + }, + { // Status bar + 0, staticGradient, opaque, + 0, 0, 2048, 50, + }, + { // Navigation bar + 0, staticGradient, opaque, + 0, 1440, 2048, 96, + }, + }, + }, + { "16:10 App -> Home Transition", 2560, 1600, { 800, 1600, 2400 }, { @@ -99,6 +117,32 @@ static const BenchmarkDesc benchmarks[] = { }, }, + { "3:2 App -> Home Transition", + 2048, 1536, { 1536 }, + { + { // Wallpaper + 0, staticGradient, opaque, + 0, 50, 2048, 1440, + }, + { // Launcher + 0, staticGradient, blend, + 0, 50, 2048, 1440, + }, + { // Outgoing activity + 0, staticGradient, blendShrink, + 20, 70, 2048, 1400, + }, + { // Status bar + 0, staticGradient, opaque, + 0, 0, 2048, 50, + }, + { // Navigation bar + 0, staticGradient, opaque, + 0, 1440, 2048, 96, + }, + }, + }, + { "16:10 SurfaceView -> Home Transition", 2560, 1600, { 800, 1600, 2400 }, { @@ -128,6 +172,36 @@ static const BenchmarkDesc benchmarks[] = { }, }, }, + + { "3:2 SurfaceView -> Home Transition", + 2048, 1536, { 1536 }, + { + { // Wallpaper + 0, staticGradient, opaque, + 0, 50, 2048, 1440, + }, + { // Launcher + 0, staticGradient, blend, + 0, 50, 2048, 1440, + }, + { // Outgoing SurfaceView + 0, staticGradient, blendShrink, + 20, 70, 2048, 1400, + }, + { // Outgoing activity + 0, staticGradient, blendShrink, + 20, 70, 2048, 1400, + }, + { // Status bar + 0, staticGradient, opaque, + 0, 0, 2048, 50, + }, + { // Navigation bar + 0, staticGradient, opaque, + 0, 1440, 2048, 96, + }, + }, + }, }; static const ShaderDesc shaders[] = { |