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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
1 CONSOLE: TestRenderView enabled 1 CONSOLE: TestRenderView enabled
2 CONSOLE: 2 CONSOLE:
3 PAINT FOR FRAME #1 ---------------------------------------------- 3 PAINT FOR FRAME #1 ----------------------------------------------
4 1 | TestRenderCanvas() constructor: 800.0 x 600.0 4 1 | TestRenderCanvas() constructor: 800.0 x 600.0
5 ------------------------------------------------------------------------ 5 ------------------------------------------------------------------------
6 CONSOLE: 6 CONSOLE:
7 PAINT FOR FRAME #2 ---------------------------------------------- 7 PAINT FOR FRAME #2 ----------------------------------------------
8 2 | TestRenderCanvas() constructor: 800.0 x 600.0 8 2 | TestRenderCanvas() constructor: 800.0 x 600.0
9 2 | paintChild RenderStack at Point(0.0, 0.0) 9 2 | paintChild RenderStack at Point(0.0, 0.0)
10 2 | | TestRenderCanvas() constructor: 800.0 x 600.0 10 2 | | TestRenderCanvas() constructor: 800.0 x 600.0
11 2 | | paintChild RenderScaffold at Point(0.0, 0.0) 11 2 | | paintChild RenderScaffold at Point(0.0, 0.0)
12 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0 12 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
13 2 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0) 13 2 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
14 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 14 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
15 2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0), Paint(color:Color(0 xfffafafa))) 15 2 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color( 0xfffafafa)))
16 2 | | | | save 16 2 | | | | save
17 2 | | | | clipRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0)) 17 2 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
18 2 | | | | save 18 2 | | | | save
19 2 | | | | translate(0.0, 81.0)
19 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]) 20 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])
20 2 | | | | restore 21 2 | | | | restore
21 2 | | | | restore 22 2 | | | | restore
22 2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0) 23 2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
23 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 24 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
24 2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0x ff9c27b0), drawLooper:true)) 25 2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0x ff9c27b0), drawLooper:true))
25 2 | | | | paintChild RenderFlex at Point(8.0, 0.0) 26 2 | | | | paintChild RenderFlex at Point(8.0, 0.0)
26 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 27 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
27 2 | | | | | paintChild RenderConstrainedBox at Point(0.0, 25.0) 28 2 | | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
28 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 29 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
29 2 | | | | | | paintChild RenderPadding at Point(0.0, 8.0) 30 2 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
30 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 31 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
31 2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 32 2 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
32 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 33 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
33 2 | | | | | | paintChild RenderPadding at Point(40.0, 16.0) 34 2 | | | | | | paintChild RenderPadding at Point(48.0, 41.0)
34 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 35 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
35 2 | | | | | | | paintChild RenderParagraph at Point(24.0, 0.0) 36 2 | | | | | | | paintChild RenderParagraph at Point(72.0, 41.0)
36 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 37 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
37 2 | | | | | | paintChild RenderPadding at Point(704.0, 8.0) 38 2 | | | | | | | | translate(72.0, 41.0)
39 2 | | | | | | | | translate(-72.0, -41.0)
40 2 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
38 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 41 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
39 2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 42 2 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
40 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 43 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
41 2 | | | | | | paintChild RenderPadding at Point(744.0, 8.0) 44 2 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
42 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 45 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
43 2 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 46 2 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
44 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 47 2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
45 2 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0) 48 2 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
46 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 49 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
47 2 | | | | drawCircle(Point(28.0, 28.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true)) 50 2 | | | | drawCircle(Point(1120.0, 820.0), 28.0, Paint(color:Color(0xffff5252 ), drawLooper:true))
48 2 | | | | saveLayer(Rect.fromLTRB(0.0, 0.0, 56.0, 56.0), Paint(color:Color(0x ff000000))) 51 2 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Co lor(0xff000000)))
49 2 | | | | clipPath(Instance of 'Path') 52 2 | | | | clipPath(Instance of 'Path')
50 2 | | | | paintChild RenderImage at Point(16.0, 16.0) 53 2 | | | | paintChild RenderImage at Point(744.0, 544.0)
51 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 54 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
52 2 | | | | restore 55 2 | | | | restore
53 ------------------------------------------------------------------------ 56 ------------------------------------------------------------------------
54 CONSOLE: 57 CONSOLE:
55 PAINT FOR FRAME #3 ---------------------------------------------- 58 PAINT FOR FRAME #3 ----------------------------------------------
56 3 | TestRenderCanvas() constructor: 800.0 x 600.0 59 3 | TestRenderCanvas() constructor: 800.0 x 600.0
57 3 | paintChild RenderStack at Point(0.0, 0.0) 60 3 | paintChild RenderStack at Point(0.0, 0.0)
58 3 | | TestRenderCanvas() constructor: 800.0 x 600.0 61 3 | | TestRenderCanvas() constructor: 800.0 x 600.0
59 3 | | paintChild RenderScaffold at Point(0.0, 0.0) 62 3 | | paintChild RenderScaffold at Point(0.0, 0.0)
60 3 | | | TestRenderCanvas() constructor: 800.0 x 600.0 63 3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
61 3 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0) 64 3 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
62 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 65 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
63 3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0), Paint(color:Color(0 xfffafafa))) 66 3 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color( 0xfffafafa)))
64 3 | | | | save 67 3 | | | | save
65 3 | | | | clipRect(Rect.fromLTRB(0.0, 0.0, 800.0, 519.0)) 68 3 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
66 3 | | | | save 69 3 | | | | save
70 3 | | | | translate(0.0, 81.0)
67 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]) 71 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])
68 3 | | | | restore 72 3 | | | | restore
69 3 | | | | restore 73 3 | | | | restore
70 3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0) 74 3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
71 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 75 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
72 3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0x ff9c27b0), drawLooper:true)) 76 3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0x ff9c27b0), drawLooper:true))
73 3 | | | | paintChild RenderFlex at Point(8.0, 0.0) 77 3 | | | | paintChild RenderFlex at Point(8.0, 0.0)
74 3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 78 3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
75 3 | | | | | paintChild RenderConstrainedBox at Point(0.0, 25.0) 79 3 | | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
76 3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 80 3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
77 3 | | | | | | paintChild RenderPadding at Point(0.0, 8.0) 81 3 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
78 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 82 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
79 3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 83 3 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
80 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 84 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
81 3 | | | | | | paintChild RenderPadding at Point(40.0, 16.0) 85 3 | | | | | | paintChild RenderPadding at Point(48.0, 41.0)
82 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 86 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
83 3 | | | | | | | paintChild RenderParagraph at Point(24.0, 0.0) 87 3 | | | | | | | paintChild RenderParagraph at Point(72.0, 41.0)
84 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 88 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
85 3 | | | | | | paintChild RenderPadding at Point(704.0, 8.0) 89 3 | | | | | | | | translate(72.0, 41.0)
90 3 | | | | | | | | translate(-72.0, -41.0)
91 3 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
86 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 92 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
87 3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 93 3 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
88 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 94 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
89 3 | | | | | | paintChild RenderPadding at Point(744.0, 8.0) 95 3 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
90 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 96 3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
91 3 | | | | | | | paintChild RenderImage at Point(8.0, 8.0) 97 3 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
92 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 98 3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
93 3 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0) 99 3 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
94 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 100 3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
95 3 | | | | drawCircle(Point(28.0, 28.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true)) 101 3 | | | | drawCircle(Point(1120.0, 820.0), 28.0, Paint(color:Color(0xffff5252 ), drawLooper:true))
96 3 | | | | saveLayer(Rect.fromLTRB(0.0, 0.0, 56.0, 56.0), Paint(color:Color(0x ff000000))) 102 3 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Co lor(0xff000000)))
97 3 | | | | clipPath(Instance of 'Path') 103 3 | | | | clipPath(Instance of 'Path')
98 3 | | | | paintChild RenderImage at Point(16.0, 16.0) 104 3 | | | | paintChild RenderImage at Point(744.0, 544.0)
99 3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 105 3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
100 3 | | | | restore 106 3 | | | | restore
101 ------------------------------------------------------------------------ 107 ------------------------------------------------------------------------
102 PAINTED 3 FRAMES 108 PAINTED 3 FRAMES
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698