Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: sky/tests/examples/tabs-expected.txt

Issue 1209413004: Instead of applying a transform for every RenderObject, pass down an Offset for where to paint. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/tests/examples/tabs-expected.txt
diff --git a/sky/tests/examples/tabs-expected.txt b/sky/tests/examples/tabs-expected.txt
index a6797f7d6e9ae15570909691cee9f601030d310c..376f5a238a8245ba76deac2693ad6b199209af8d 100644
--- a/sky/tests/examples/tabs-expected.txt
+++ b/sky/tests/examples/tabs-expected.txt
@@ -11,126 +11,144 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xff9e9e9e)))
-2 | | | paintChild RenderBlock at Point(0.0, 150.5)
+2 | | | paintChild RenderBlock at Point(0.0, 231.5)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 0.0)
+2 | | | | paintChild RenderPadding at Point(0.0, 231.5)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderTabBar at Point(0.0, 0.0)
+2 | | | | | paintChild RenderTabBar at Point(0.0, 231.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 48.0), Paint(color:Color(0xff3f51b5)))
-2 | | | | | | paintChild RenderInkWell at Point(0.0, 0.0)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 231.5, 800.0, 279.5), Paint(color:Color(0xff3f51b5)))
+2 | | | | | | paintChild RenderInkWell at Point(0.0, 231.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(65.5, 16.0)
+2 | | | | | | | paintChild RenderOpacity at Point(65.5, 247.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 46.0, 200.0, 48.0), Paint(color:Color(0xffff4081)))
-2 | | | | | | paintChild RenderInkWell at Point(200.0, 0.0)
+2 | | | | | | | | translate(65.5, 247.5)
+2 | | | | | | | | translate(-65.5, -247.5)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 277.5, 200.0, 279.5), Paint(color:Color(0xffff4081)))
+2 | | | | | | paintChild RenderInkWell at Point(200.0, 231.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(64.0, 16.0)
+2 | | | | | | | paintChild RenderOpacity at Point(264.0, 247.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
+2 | | | | | | | | translate(264.0, 247.5)
+2 | | | | | | | | translate(-264.0, -247.5)
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(400.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(400.0, 231.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(63.0, 16.0)
+2 | | | | | | | paintChild RenderOpacity at Point(463.0, 247.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
+2 | | | | | | | | translate(463.0, 247.5)
+2 | | | | | | | | translate(-463.0, -247.5)
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(600.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(600.0, 231.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(61.0, 16.0)
+2 | | | | | | | paintChild RenderOpacity at Point(661.0, 247.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
+2 | | | | | | | | translate(661.0, 247.5)
+2 | | | | | | | | translate(-661.0, -247.5)
2 | | | | | | | | restore
-2 | | | | paintChild RenderPadding at Point(0.0, 64.0)
+2 | | | | paintChild RenderPadding at Point(0.0, 295.5)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderTabBar at Point(0.0, 0.0)
+2 | | | | | paintChild RenderTabBar at Point(0.0, 295.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 48.0), Paint(color:Color(0xff3f51b5)))
-2 | | | | | | paintChild RenderInkWell at Point(0.0, 0.0)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 295.5, 800.0, 343.5), Paint(color:Color(0xff3f51b5)))
+2 | | | | | | paintChild RenderInkWell at Point(0.0, 295.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(88.0, 12.0)
+2 | | | | | | | paintChild RenderOpacity at Point(88.0, 307.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 46.0, 200.0, 48.0), Paint(color:Color(0xffff4081)))
-2 | | | | | | paintChild RenderInkWell at Point(200.0, 0.0)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 341.5, 200.0, 343.5), Paint(color:Color(0xffff4081)))
+2 | | | | | | paintChild RenderInkWell at Point(200.0, 295.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(88.0, 12.0)
+2 | | | | | | | paintChild RenderOpacity at Point(288.0, 307.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(400.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(400.0, 295.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(88.0, 12.0)
+2 | | | | | | | paintChild RenderOpacity at Point(488.0, 307.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(600.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(600.0, 295.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(88.0, 12.0)
+2 | | | | | | | paintChild RenderOpacity at Point(688.0, 307.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
2 | | | | | | | | restore
-2 | | | | paintChild RenderPadding at Point(0.0, 128.0)
+2 | | | | paintChild RenderPadding at Point(0.0, 359.5)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderTabBar at Point(0.0, 0.0)
+2 | | | | | paintChild RenderTabBar at Point(0.0, 359.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 74.0), Paint(color:Color(0xff3f51b5)))
-2 | | | | | | paintChild RenderInkWell at Point(0.0, 0.0)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 359.5, 800.0, 433.5), Paint(color:Color(0xff3f51b5)))
+2 | | | | | | paintChild RenderInkWell at Point(0.0, 359.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(65.5, 0.0)
+2 | | | | | | | paintChild RenderOpacity at Point(65.5, 359.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | paintChild RenderPadding at Point(22.5, 12.0)
+2 | | | | | | | | paintChild RenderPadding at Point(88.0, 371.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | | paintChild RenderImage at Point(0.0, 0.0)
+2 | | | | | | | | | paintChild RenderImage at Point(88.0, 371.5)
2 | | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | paintChild RenderParagraph at Point(0.0, 46.0)
+2 | | | | | | | | paintChild RenderParagraph at Point(65.5, 405.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawRect(Rect.fromLTRB(0.0, 72.0, 200.0, 74.0), Paint(color:Color(0xffff4081)))
-2 | | | | | | paintChild RenderInkWell at Point(200.0, 0.0)
+2 | | | | | | | | | translate(65.5, 405.5)
+2 | | | | | | | | | translate(-65.5, -405.5)
+2 | | | | | | drawRect(Rect.fromLTRB(0.0, 431.5, 200.0, 433.5), Paint(color:Color(0xffff4081)))
+2 | | | | | | paintChild RenderInkWell at Point(200.0, 359.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(64.0, 0.0)
+2 | | | | | | | paintChild RenderOpacity at Point(264.0, 359.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
-2 | | | | | | | | paintChild RenderPadding at Point(24.0, 12.0)
+2 | | | | | | | | paintChild RenderPadding at Point(288.0, 371.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | | paintChild RenderImage at Point(0.0, 0.0)
+2 | | | | | | | | | paintChild RenderImage at Point(288.0, 371.5)
2 | | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | paintChild RenderParagraph at Point(0.0, 46.0)
+2 | | | | | | | | paintChild RenderParagraph at Point(264.0, 405.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | | translate(264.0, 405.5)
+2 | | | | | | | | | translate(-264.0, -405.5)
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(400.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(400.0, 359.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(63.0, 0.0)
+2 | | | | | | | paintChild RenderOpacity at Point(463.0, 359.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
-2 | | | | | | | | paintChild RenderPadding at Point(25.0, 12.0)
+2 | | | | | | | | paintChild RenderPadding at Point(488.0, 371.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | | paintChild RenderImage at Point(0.0, 0.0)
+2 | | | | | | | | | paintChild RenderImage at Point(488.0, 371.5)
2 | | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | paintChild RenderParagraph at Point(0.0, 46.0)
+2 | | | | | | | | paintChild RenderParagraph at Point(463.0, 405.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | | translate(463.0, 405.5)
+2 | | | | | | | | | translate(-463.0, -405.5)
2 | | | | | | | | restore
-2 | | | | | | paintChild RenderInkWell at Point(600.0, 0.0)
+2 | | | | | | paintChild RenderInkWell at Point(600.0, 359.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderOpacity at Point(61.0, 0.0)
+2 | | | | | | | paintChild RenderOpacity at Point(661.0, 359.5)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
-2 | | | | | | | | paintChild RenderPadding at Point(27.0, 12.0)
+2 | | | | | | | | paintChild RenderPadding at Point(688.0, 371.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | | paintChild RenderImage at Point(0.0, 0.0)
+2 | | | | | | | | | paintChild RenderImage at Point(688.0, 371.5)
2 | | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | | paintChild RenderParagraph at Point(0.0, 46.0)
+2 | | | | | | | | paintChild RenderParagraph at Point(661.0, 405.5)
2 | | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | | translate(661.0, 405.5)
+2 | | | | | | | | | translate(-661.0, -405.5)
2 | | | | | | | | restore
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff3f51b5), drawLooper:true))
2 | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderConstrainedBox at Point(0.0, 25.0)
+2 | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderPadding at Point(0.0, 16.0)
+2 | | | | | paintChild RenderPadding at Point(8.0, 41.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderParagraph at Point(24.0, 0.0)
+2 | | | | | | paintChild RenderParagraph at Point(32.0, 41.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | translate(32.0, 41.0)
+2 | | | | | | | translate(-32.0, -41.0)
------------------------------------------------------------------------
PAINTED 2 FRAMES

Powered by Google App Engine
This is Rietveld 408576698