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

Unified Diff: sky/tests/examples/styled_text-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/styled_text-expected.txt
diff --git a/sky/tests/examples/styled_text-expected.txt b/sky/tests/examples/styled_text-expected.txt
index 77f4bf4848ca84290a0a40436f0eb74d9283204a..a6b043631f5d67397666c3f002d491303c52aa8d 100644
--- a/sky/tests/examples/styled_text-expected.txt
+++ b/sky/tests/examples/styled_text-expected.txt
@@ -11,90 +11,108 @@ 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(0xfffafafa)))
-2 | | | paintChild RenderFlex at Point(8.0, 0.0)
+2 | | | paintChild RenderFlex at Point(8.0, 81.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderParagraph at Point(0.0, 95.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 176.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 145.0)
+2 | | | | | translate(8.0, 176.0)
+2 | | | | | translate(-8.0, -176.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 226.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 236.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 165.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 246.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 181.0)
+2 | | | | | translate(8.0, 246.0)
+2 | | | | | translate(-8.0, -246.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 262.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 272.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 201.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 282.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 226.0)
+2 | | | | | translate(8.0, 282.0)
+2 | | | | | translate(-8.0, -282.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 307.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 317.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 246.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 327.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 262.0)
+2 | | | | | translate(8.0, 327.0)
+2 | | | | | translate(-8.0, -327.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 343.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 353.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 282.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 363.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 307.0)
+2 | | | | | translate(8.0, 363.0)
+2 | | | | | translate(-8.0, -363.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 388.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 398.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 327.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 408.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 343.0)
+2 | | | | | translate(8.0, 408.0)
+2 | | | | | translate(-8.0, -408.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 424.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 434.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 363.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 444.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderPadding at Point(0.0, 388.0)
+2 | | | | | translate(8.0, 444.0)
+2 | | | | | translate(-8.0, -444.0)
+2 | | | | paintChild RenderPadding at Point(8.0, 469.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 479.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(0.0, 408.0)
+2 | | | | paintChild RenderParagraph at Point(8.0, 489.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | translate(8.0, 489.0)
+2 | | | | | translate(-8.0, -489.0)
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(0xff2196f3), 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