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

Side by Side Diff: trunk/LayoutTests/compositing/squashing/squashed-repaints-expected.txt

Issue 183763024: Revert 168245 "Drop background color optimization for composited..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 Basic repaint test for squashed layers. The entire squashing layer should not ne ed repainting when only a portion of it is invalidated. Test interactively by us ing --show-paint-rects and hovering over elements to change their color. 1 Basic repaint test for squashed layers. The entire squashing layer should not ne ed repainting when only a portion of it is invalidated. Test interactively by us ing --show-paint-rects and hovering over elements to change their color.
2 2
3 CASE 1, original layer tree: 3 CASE 1, original layer tree:
4 (GraphicsLayer 4 (GraphicsLayer
5 (bounds 800.00 600.00) 5 (bounds 800.00 600.00)
6 (children 1 6 (children 1
7 (GraphicsLayer 7 (GraphicsLayer
8 (bounds 800.00 600.00) 8 (bounds 800.00 600.00)
9 (contentsOpaque 1) 9 (contentsOpaque 1)
10 (drawsContent 1) 10 (drawsContent 1)
11 (children 1 11 (children 1
12 (GraphicsLayer 12 (GraphicsLayer
13 (children 2 13 (children 2
14 (GraphicsLayer 14 (GraphicsLayer
15 (position 60.00 60.00) 15 (position 60.00 60.00)
16 (bounds 100.00 100.00) 16 (bounds 100.00 100.00)
17 (contentsOpaque 1) 17 (contentsOpaque 1)
18 (drawsContent 1)
19 (backgroundColor #808080)
20 ) 18 )
21 (GraphicsLayer 19 (GraphicsLayer
22 (position 140.00 140.00) 20 (position 140.00 140.00)
23 (bounds 260.00 260.00) 21 (bounds 260.00 260.00)
24 (drawsContent 1) 22 (drawsContent 1)
25 ) 23 )
26 ) 24 )
27 ) 25 )
28 ) 26 )
29 ) 27 )
30 ) 28 )
31 ) 29 )
32 CASE 2, overlap1 changes color: 30 CASE 2, overlap1 changes color:
33 (GraphicsLayer 31 (GraphicsLayer
34 (bounds 800.00 600.00) 32 (bounds 800.00 600.00)
35 (children 1 33 (children 1
36 (GraphicsLayer 34 (GraphicsLayer
37 (bounds 800.00 600.00) 35 (bounds 800.00 600.00)
38 (contentsOpaque 1) 36 (contentsOpaque 1)
39 (drawsContent 1) 37 (drawsContent 1)
40 (children 1 38 (children 1
41 (GraphicsLayer 39 (GraphicsLayer
42 (children 2 40 (children 2
43 (GraphicsLayer 41 (GraphicsLayer
44 (position 60.00 60.00) 42 (position 60.00 60.00)
45 (bounds 100.00 100.00) 43 (bounds 100.00 100.00)
46 (contentsOpaque 1) 44 (contentsOpaque 1)
47 (drawsContent 1)
48 (backgroundColor #808080)
49 ) 45 )
50 (GraphicsLayer 46 (GraphicsLayer
51 (position 140.00 140.00) 47 (position 140.00 140.00)
52 (bounds 260.00 260.00) 48 (bounds 260.00 260.00)
53 (drawsContent 1) 49 (drawsContent 1)
54 (repaint rects 50 (repaint rects
55 (rect 0.00 0.00 100.00 100.00) 51 (rect 0.00 0.00 100.00 100.00)
56 (rect 0.00 0.00 100.00 100.00) 52 (rect 0.00 0.00 100.00 100.00)
57 (rect 0.00 0.00 100.00 100.00) 53 (rect 0.00 0.00 100.00 100.00)
58 ) 54 )
(...skipping 12 matching lines...) Expand all
71 (bounds 800.00 600.00) 67 (bounds 800.00 600.00)
72 (contentsOpaque 1) 68 (contentsOpaque 1)
73 (drawsContent 1) 69 (drawsContent 1)
74 (children 1 70 (children 1
75 (GraphicsLayer 71 (GraphicsLayer
76 (children 2 72 (children 2
77 (GraphicsLayer 73 (GraphicsLayer
78 (position 60.00 60.00) 74 (position 60.00 60.00)
79 (bounds 100.00 100.00) 75 (bounds 100.00 100.00)
80 (contentsOpaque 1) 76 (contentsOpaque 1)
81 (drawsContent 1)
82 (backgroundColor #808080)
83 ) 77 )
84 (GraphicsLayer 78 (GraphicsLayer
85 (position 140.00 140.00) 79 (position 140.00 140.00)
86 (bounds 260.00 260.00) 80 (bounds 260.00 260.00)
87 (drawsContent 1) 81 (drawsContent 1)
88 (repaint rects 82 (repaint rects
89 (rect 80.00 80.00 100.00 100.00) 83 (rect 80.00 80.00 100.00 100.00)
90 (rect 80.00 80.00 100.00 100.00) 84 (rect 80.00 80.00 100.00 100.00)
91 (rect 80.00 80.00 100.00 100.00) 85 (rect 80.00 80.00 100.00 100.00)
92 (rect 0.00 0.00 100.00 100.00) 86 (rect 0.00 0.00 100.00 100.00)
(...skipping 15 matching lines...) Expand all
108 (bounds 800.00 600.00) 102 (bounds 800.00 600.00)
109 (contentsOpaque 1) 103 (contentsOpaque 1)
110 (drawsContent 1) 104 (drawsContent 1)
111 (children 1 105 (children 1
112 (GraphicsLayer 106 (GraphicsLayer
113 (children 2 107 (children 2
114 (GraphicsLayer 108 (GraphicsLayer
115 (position 60.00 60.00) 109 (position 60.00 60.00)
116 (bounds 100.00 100.00) 110 (bounds 100.00 100.00)
117 (contentsOpaque 1) 111 (contentsOpaque 1)
118 (drawsContent 1)
119 (backgroundColor #808080)
120 ) 112 )
121 (GraphicsLayer 113 (GraphicsLayer
122 (position 140.00 140.00) 114 (position 140.00 140.00)
123 (bounds 260.00 260.00) 115 (bounds 260.00 260.00)
124 (drawsContent 1) 116 (drawsContent 1)
125 (repaint rects 117 (repaint rects
126 (rect 160.00 160.00 100.00 100.00) 118 (rect 160.00 160.00 100.00 100.00)
127 (rect 160.00 160.00 100.00 100.00) 119 (rect 160.00 160.00 100.00 100.00)
128 (rect 160.00 160.00 100.00 100.00) 120 (rect 160.00 160.00 100.00 100.00)
129 (rect 80.00 80.00 100.00 100.00) 121 (rect 80.00 80.00 100.00 100.00)
(...skipping 15 matching lines...) Expand all
145 (bounds 800.00 600.00) 137 (bounds 800.00 600.00)
146 (contentsOpaque 1) 138 (contentsOpaque 1)
147 (drawsContent 1) 139 (drawsContent 1)
148 (children 1 140 (children 1
149 (GraphicsLayer 141 (GraphicsLayer
150 (children 2 142 (children 2
151 (GraphicsLayer 143 (GraphicsLayer
152 (position 60.00 60.00) 144 (position 60.00 60.00)
153 (bounds 100.00 100.00) 145 (bounds 100.00 100.00)
154 (contentsOpaque 1) 146 (contentsOpaque 1)
155 (drawsContent 1)
156 (backgroundColor #808080)
157 ) 147 )
158 (GraphicsLayer 148 (GraphicsLayer
159 (position 140.00 140.00) 149 (position 140.00 140.00)
160 (bounds 260.00 260.00) 150 (bounds 260.00 260.00)
161 (drawsContent 1) 151 (drawsContent 1)
162 (repaint rects 152 (repaint rects
163 (rect 160.00 160.00 100.00 100.00) 153 (rect 160.00 160.00 100.00 100.00)
164 (rect 160.00 160.00 100.00 100.00) 154 (rect 160.00 160.00 100.00 100.00)
165 (rect 160.00 160.00 100.00 100.00) 155 (rect 160.00 160.00 100.00 100.00)
166 (rect 0.00 0.00 100.00 100.00) 156 (rect 0.00 0.00 100.00 100.00)
167 (rect 0.00 0.00 100.00 100.00) 157 (rect 0.00 0.00 100.00 100.00)
168 (rect 0.00 0.00 100.00 100.00) 158 (rect 0.00 0.00 100.00 100.00)
169 ) 159 )
170 ) 160 )
171 ) 161 )
172 ) 162 )
173 ) 163 )
174 ) 164 )
175 ) 165 )
176 ) 166 )
177 167
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698