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

Unified Diff: sky/tests/widgets/syncs1-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/widgets/syncs1-expected.txt
diff --git a/sky/tests/widgets/syncs1-expected.txt b/sky/tests/widgets/syncs1-expected.txt
index cae40f3019787fa4637cc510085a17ff9682728b..7184936a832ce47dabac86d20324824271b5a03d 100644
--- a/sky/tests/widgets/syncs1-expected.txt
+++ b/sky/tests/widgets/syncs1-expected.txt
@@ -15,27 +15,31 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
2 | | | paintChild RenderPadding at Point(425.0, 99.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+2 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-2 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+2 | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderParagraph at Point(0.0, 10.0)
+2 | | | | | | paintChild RenderParagraph at Point(441.0, 117.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | translate(441.0, 117.0)
+2 | | | | | | | translate(-441.0, -117.0)
2 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
+2 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 250.0), Paint(color:Color(0xff00ffff)))
-2 | | | paintChild RenderPadding at Point(0.0, 0.0)
+2 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
+2 | | | paintChild RenderPadding at Point(0.0, 250.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+2 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-2 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+2 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderParagraph at Point(212.5, 109.0)
+2 | | | | | | paintChild RenderParagraph at Point(228.5, 367.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | translate(228.5, 367.0)
+2 | | | | | | | translate(-228.5, -367.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
@@ -49,27 +53,31 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 549.0, 250.0), Paint(color:Color(0xefff9f00)))
3 | | | paintChild RenderPadding at Point(549.0, 99.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+3 | | | | paintChild RenderConstrainedBox at Point(557.0, 107.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-3 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+3 | | | | | paintChild RenderPositionedBox at Point(565.0, 107.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderParagraph at Point(0.0, 10.0)
+3 | | | | | | paintChild RenderParagraph at Point(565.0, 117.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+3 | | | | | | | translate(565.0, 117.0)
+3 | | | | | | | translate(-565.0, -117.0)
3 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
+3 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 250.0), Paint(color:Color(0xefff9f00)))
-3 | | | paintChild RenderPadding at Point(0.0, 0.0)
+3 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xefff9f00)))
+3 | | | paintChild RenderPadding at Point(0.0, 250.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+3 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-3 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+3 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderParagraph at Point(274.5, 109.0)
+3 | | | | | | paintChild RenderParagraph at Point(290.5, 367.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+3 | | | | | | | translate(290.5, 367.0)
+3 | | | | | | | translate(-290.5, -367.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
@@ -83,26 +91,30 @@ PAINT FOR FRAME #4 ----------------------------------------------
4 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
4 | | | paintChild RenderPadding at Point(425.0, 99.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+4 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
4 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-4 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+4 | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
4 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | | | | paintChild RenderParagraph at Point(0.0, 10.0)
+4 | | | | | | paintChild RenderParagraph at Point(441.0, 117.0)
4 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+4 | | | | | | | translate(441.0, 117.0)
+4 | | | | | | | translate(-441.0, -117.0)
4 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
4 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
+4 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 250.0), Paint(color:Color(0xff00ffff)))
-4 | | | paintChild RenderPadding at Point(0.0, 0.0)
+4 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
+4 | | | paintChild RenderPadding at Point(0.0, 250.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+4 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
4 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-4 | | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+4 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
4 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | | | | paintChild RenderParagraph at Point(212.5, 109.0)
+4 | | | | | | paintChild RenderParagraph at Point(228.5, 367.0)
4 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+4 | | | | | | | translate(228.5, 367.0)
+4 | | | | | | | translate(-228.5, -367.0)
------------------------------------------------------------------------
PAINTED 4 FRAMES
« sky/sdk/lib/rendering/paragraph.dart ('K') | « sky/tests/widgets/dialog-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698