diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-09 23:26:19 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-09 23:26:19 +0000 |
commit | a49d0f8aa39e8ba772c7bb94dd0bd0a7e89ffb42 (patch) | |
tree | db256acecd4c01175f899e53792ed04c1d4b5af5 /cc/test/data | |
parent | 1505e012eb081a747e433624983d232154ec2b11 (diff) | |
download | chromium_src-a49d0f8aa39e8ba772c7bb94dd0bd0a7e89ffb42.zip chromium_src-a49d0f8aa39e8ba772c7bb94dd0bd0a7e89ffb42.tar.gz chromium_src-a49d0f8aa39e8ba772c7bb94dd0bd0a7e89ffb42.tar.bz2 |
cc: Add perf test for scrolling with impl-side painting
This patch adds cc perf test support for scrolling a page with impl-side
painting. It also introduces a specific perf test for a page with
several large transformed layers.
BUG=b/8364918
TEST=ImplSidePaintingPerfTest.HeavyPage
Review URL: https://chromiumcodereview.appspot.com/15068002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/data')
-rw-r--r-- | cc/test/data/heavy_layer_tree.json | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/cc/test/data/heavy_layer_tree.json b/cc/test/data/heavy_layer_tree.json new file mode 100644 index 0000000..b4a4737 --- /dev/null +++ b/cc/test/data/heavy_layer_tree.json @@ -0,0 +1,121 @@ +{ + "Bounds": [ 0, 0 ], + "Children": [ { + "Bounds": [ 384, 519 ], + "Children": [ { + "Bounds": [ 1251, 31876 ], + "Children": [ { + "Bounds": [ 1251, 31876 ], + "Children": [ ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + }, { + "Bounds": [ 1251, 31876 ], + "Children": [ { + "Bounds": [ 1251, 31876 ], + "Children": [ { + "Bounds": [ 1251, 31876 ], + "Children": [ { + "Bounds": [ 200, 400 ], + "Children": [ ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 4.911271095275879, 4.911271095275879, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 8.0, 8.0 ] + }, { + "Bounds": [ 1251, 31876 ], + "Children": [ ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + }, { + "Bounds": [ 500, 15000 ], + "Children": [ ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 35.104542167900945, 24.556355476379395, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 30.0, 40.0 ] + }, { + "Bounds": [ 1000, 15000 ], + "Children": [ ], + "DrawTransform": [ 0.9998477179703191, 0.0174524068355021, 0.0, 0.0, -0.0174524068355021, 0.9998477179703191, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 154.07222265117844, 19.900521499057504, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 120.0, 40.0 ] + }, { + "Bounds": [ 750, 15000 ], + "Children": [ ], + "DrawTransform": [ -0.9998477179703191, -0.017452406835501783, 0.0, 0.0, 0.017452406835501783, -0.9998477179703191, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 472.12652965862395, 9236.506219669747, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 150.0, 40.0 ] + }, { + "Bounds": [ 750, 15000 ], + "Children": [ ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 122.78177738189697, 24.556355476379395, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 0.5, + "Position": [ 200.0, 40.0 ] + } ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + } ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + } ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + } ], + "DrawTransform": [ 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.000000022817403, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -0.0, -0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + } ], + "DrawTransform": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] + }, { + "Bounds": [ 7, 519 ], + "Children": [ { + "Bounds": [ 7, 519 ], + "Children": [ ], + "DrawTransform": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], + "DrawsContent": true, + "LayerType": "ScrollbarLayer", + "Opacity": 0.0, + "Position": [ 0.0, 0.0 ] + } ], + "DrawTransform": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 754.0, 0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 377.0, 0.0 ] + } ], + "DrawTransform": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], + "DrawsContent": false, + "LayerType": "PictureLayer", + "Opacity": 1.0, + "Position": [ 0.0, 0.0 ] +} |