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

Unified Diff: sky/tests/examples/stocks-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/stocks-expected.txt
diff --git a/sky/tests/examples/stocks-expected.txt b/sky/tests/examples/stocks-expected.txt
index eb59c3dccfca52572999da21f986dc5cc5732841..bffc18a99bc7d54efcdf0fb4fd7773486df8c902 100644
--- a/sky/tests/examples/stocks-expected.txt
+++ b/sky/tests/examples/stocks-expected.txt
@@ -12,10 +12,11 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0), Paint(color:Color(0xfffafafa)))
+2 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color(0xfffafafa)))
2 | | | | save
-2 | | | | clipRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0))
+2 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
2 | | | | save
+2 | | | | translate(0.0, 81.0)
2 | | | | concat([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])
2 | | | | restore
2 | | | | restore
@@ -24,30 +25,32 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff9c27b0), 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, 8.0)
+2 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+2 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderPadding at Point(40.0, 16.0)
+2 | | | | | | paintChild RenderPadding at Point(48.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(72.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderPadding at Point(704.0, 8.0)
+2 | | | | | | | | translate(72.0, 41.0)
+2 | | | | | | | | translate(-72.0, -41.0)
+2 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+2 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderPadding at Point(744.0, 8.0)
+2 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+2 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | drawCircle(Point(28.0, 28.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
-2 | | | | saveLayer(Rect.fromLTRB(0.0, 0.0, 56.0, 56.0), Paint(color:Color(0xff000000)))
+2 | | | | drawCircle(Point(1120.0, 820.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
+2 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Color(0xff000000)))
2 | | | | clipPath(Instance of 'Path')
-2 | | | | paintChild RenderImage at Point(16.0, 16.0)
+2 | | | | paintChild RenderImage at Point(744.0, 544.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | restore
------------------------------------------------------------------------
@@ -60,10 +63,11 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0), Paint(color:Color(0xfffafafa)))
+3 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color(0xfffafafa)))
3 | | | | save
-3 | | | | clipRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0))
+3 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
3 | | | | save
+3 | | | | translate(0.0, 81.0)
3 | | | | concat([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])
3 | | | | restore
3 | | | | restore
@@ -72,30 +76,32 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff9c27b0), drawLooper:true))
3 | | | | paintChild RenderFlex at Point(8.0, 0.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | paintChild RenderConstrainedBox at Point(0.0, 25.0)
+3 | | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderPadding at Point(0.0, 8.0)
+3 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+3 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderPadding at Point(40.0, 16.0)
+3 | | | | | | paintChild RenderPadding at Point(48.0, 41.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | | paintChild RenderParagraph at Point(24.0, 0.0)
+3 | | | | | | | paintChild RenderParagraph at Point(72.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderPadding at Point(704.0, 8.0)
+3 | | | | | | | | translate(72.0, 41.0)
+3 | | | | | | | | translate(-72.0, -41.0)
+3 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+3 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | paintChild RenderPadding at Point(744.0, 8.0)
+3 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0)
+3 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | drawCircle(Point(28.0, 28.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
-3 | | | | saveLayer(Rect.fromLTRB(0.0, 0.0, 56.0, 56.0), Paint(color:Color(0xff000000)))
+3 | | | | drawCircle(Point(1120.0, 820.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
+3 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Color(0xff000000)))
3 | | | | clipPath(Instance of 'Path')
-3 | | | | paintChild RenderImage at Point(16.0, 16.0)
+3 | | | | paintChild RenderImage at Point(744.0, 544.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | restore
------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698