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

Side by Side 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 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 RenderScaffold at Point(0.0, 0.0) 9 2 | paintChild RenderScaffold 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 RenderDecoratedBox at Point(0.0, 81.0) 11 2 | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
12 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0 12 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
13 2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa))) 13 2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa)))
14 2 | | | paintChild RenderFlex at Point(8.0, 0.0) 14 2 | | | paintChild RenderFlex at Point(8.0, 81.0)
15 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 15 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
16 2 | | | | paintChild RenderParagraph at Point(0.0, 95.0) 16 2 | | | | paintChild RenderParagraph at Point(8.0, 176.0)
17 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 17 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
18 2 | | | | paintChild RenderPadding at Point(0.0, 145.0) 18 2 | | | | | translate(8.0, 176.0)
19 2 | | | | | translate(-8.0, -176.0)
20 2 | | | | paintChild RenderPadding at Point(8.0, 226.0)
19 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 21 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
20 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 22 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 236.0)
21 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 23 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
22 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 24 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
23 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 25 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
24 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 26 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
25 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 27 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
26 2 | | | | paintChild RenderParagraph at Point(0.0, 165.0) 28 2 | | | | paintChild RenderParagraph at Point(8.0, 246.0)
27 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 29 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
28 2 | | | | paintChild RenderPadding at Point(0.0, 181.0) 30 2 | | | | | translate(8.0, 246.0)
31 2 | | | | | translate(-8.0, -246.0)
32 2 | | | | paintChild RenderPadding at Point(8.0, 262.0)
29 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 33 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
30 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 34 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 272.0)
31 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 35 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
32 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 36 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
33 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 37 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
34 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 38 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
35 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 39 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
36 2 | | | | paintChild RenderParagraph at Point(0.0, 201.0) 40 2 | | | | paintChild RenderParagraph at Point(8.0, 282.0)
37 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 41 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
38 2 | | | | paintChild RenderPadding at Point(0.0, 226.0) 42 2 | | | | | translate(8.0, 282.0)
43 2 | | | | | translate(-8.0, -282.0)
44 2 | | | | paintChild RenderPadding at Point(8.0, 307.0)
39 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 45 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
40 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 46 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 317.0)
41 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 47 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
42 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 48 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
43 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 49 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
44 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 50 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
45 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 51 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
46 2 | | | | paintChild RenderParagraph at Point(0.0, 246.0) 52 2 | | | | paintChild RenderParagraph at Point(8.0, 327.0)
47 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 53 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
48 2 | | | | paintChild RenderPadding at Point(0.0, 262.0) 54 2 | | | | | translate(8.0, 327.0)
55 2 | | | | | translate(-8.0, -327.0)
56 2 | | | | paintChild RenderPadding at Point(8.0, 343.0)
49 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 57 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
50 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 58 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 353.0)
51 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 59 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
52 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 60 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
53 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 61 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
54 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 62 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
55 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 63 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
56 2 | | | | paintChild RenderParagraph at Point(0.0, 282.0) 64 2 | | | | paintChild RenderParagraph at Point(8.0, 363.0)
57 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 65 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
58 2 | | | | paintChild RenderPadding at Point(0.0, 307.0) 66 2 | | | | | translate(8.0, 363.0)
67 2 | | | | | translate(-8.0, -363.0)
68 2 | | | | paintChild RenderPadding at Point(8.0, 388.0)
59 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 69 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
60 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 70 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 398.0)
61 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 71 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
62 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 72 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
63 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 73 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
64 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 74 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
65 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 75 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
66 2 | | | | paintChild RenderParagraph at Point(0.0, 327.0) 76 2 | | | | paintChild RenderParagraph at Point(8.0, 408.0)
67 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 77 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
68 2 | | | | paintChild RenderPadding at Point(0.0, 343.0) 78 2 | | | | | translate(8.0, 408.0)
79 2 | | | | | translate(-8.0, -408.0)
80 2 | | | | paintChild RenderPadding at Point(8.0, 424.0)
69 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 81 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
70 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 82 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 434.0)
71 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 83 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
72 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 84 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
73 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 85 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
74 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 86 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
75 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 87 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
76 2 | | | | paintChild RenderParagraph at Point(0.0, 363.0) 88 2 | | | | paintChild RenderParagraph at Point(8.0, 444.0)
77 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 89 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
78 2 | | | | paintChild RenderPadding at Point(0.0, 388.0) 90 2 | | | | | translate(8.0, 444.0)
91 2 | | | | | translate(-8.0, -444.0)
92 2 | | | | paintChild RenderPadding at Point(8.0, 469.0)
79 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 93 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
80 2 | | | | | paintChild RenderConstrainedBox at Point(64.0, 10.0) 94 2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 479.0)
81 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 95 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
82 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 96 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
83 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 97 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
84 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000))) 98 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
85 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000))) 99 2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
86 2 | | | | paintChild RenderParagraph at Point(0.0, 408.0) 100 2 | | | | paintChild RenderParagraph at Point(8.0, 489.0)
87 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 101 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
102 2 | | | | | translate(8.0, 489.0)
103 2 | | | | | translate(-8.0, -489.0)
88 2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0) 104 2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
89 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0 105 2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
90 2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff2 196f3), drawLooper:true)) 106 2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff2 196f3), drawLooper:true))
91 2 | | | paintChild RenderFlex at Point(8.0, 0.0) 107 2 | | | paintChild RenderFlex at Point(8.0, 0.0)
92 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0 108 2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
93 2 | | | | paintChild RenderConstrainedBox at Point(0.0, 25.0) 109 2 | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
94 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 110 2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
95 2 | | | | | paintChild RenderPadding at Point(0.0, 16.0) 111 2 | | | | | paintChild RenderPadding at Point(8.0, 41.0)
96 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 112 2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
97 2 | | | | | | paintChild RenderParagraph at Point(24.0, 0.0) 113 2 | | | | | | paintChild RenderParagraph at Point(32.0, 41.0)
98 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0 114 2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
115 2 | | | | | | | translate(32.0, 41.0)
116 2 | | | | | | | translate(-32.0, -41.0)
99 ------------------------------------------------------------------------ 117 ------------------------------------------------------------------------
100 PAINTED 2 FRAMES 118 PAINTED 2 FRAMES
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698