OLD | NEW |
1 Test that layers can be nicely added or removed from a squashed layer, without u
nnecessary repaints on any layer. Click anywhere to test interactively; keep cli
cking to proceed through the test. | 1 Test that layers can be nicely added or removed from a squashed layer, without u
nnecessary repaints on any layer. Click anywhere to test interactively; keep cli
cking to proceed through the test. |
2 | 2 |
3 CASE 1, original layer tree with overlap1 and overlap2: | 3 CASE 1, original layer tree with overlap1 and overlap2: |
4 { | 4 { |
5 "bounds": [800, 600], | 5 "bounds": [800, 600], |
6 "children": [ | 6 "children": [ |
7 { | 7 { |
8 "bounds": [800, 600], | 8 "bounds": [800, 600], |
9 "contentsOpaque": true, | 9 "contentsOpaque": true, |
10 "drawsContent": true, | 10 "drawsContent": true, |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 "drawsContent": true, | 150 "drawsContent": true, |
151 "backgroundColor": "#808080" | 151 "backgroundColor": "#808080" |
152 }, | 152 }, |
153 { | 153 { |
154 "position": [220, 220], | 154 "position": [220, 220], |
155 "bounds": [180, 180], | 155 "bounds": [180, 180], |
156 "drawsContent": true, | 156 "drawsContent": true, |
157 "repaintRects": [ | 157 "repaintRects": [ |
158 [80, 80, 100, 100], | 158 [80, 80, 100, 100], |
159 [0, 0, 100, 100], | 159 [0, 0, 100, 100], |
| 160 [0, 0, 100, 100], |
160 [0, 0, 100, 100] | 161 [0, 0, 100, 100] |
161 ] | 162 ] |
162 } | 163 } |
163 ] | 164 ] |
164 } | 165 } |
165 ] | 166 ] |
166 } | 167 } |
167 ] | 168 ] |
168 } | 169 } |
169 CASE 6, overlap1 gets added back, and overlap3 gets removed: | 170 CASE 6, overlap1 gets added back, and overlap3 gets removed: |
(...skipping 16 matching lines...) Expand all Loading... |
186 "backgroundColor": "#808080" | 187 "backgroundColor": "#808080" |
187 }, | 188 }, |
188 { | 189 { |
189 "position": [140, 140], | 190 "position": [140, 140], |
190 "bounds": [180, 180], | 191 "bounds": [180, 180], |
191 "drawsContent": true, | 192 "drawsContent": true, |
192 "repaintRects": [ | 193 "repaintRects": [ |
193 [80, 80, 100, 100], | 194 [80, 80, 100, 100], |
194 [80, 80, 100, 100], | 195 [80, 80, 100, 100], |
195 [0, 0, 100, 100], | 196 [0, 0, 100, 100], |
| 197 [0, 0, 100, 100], |
196 [0, 0, 100, 100] | 198 [0, 0, 100, 100] |
197 ] | 199 ] |
198 } | 200 } |
199 ] | 201 ] |
200 } | 202 } |
201 ] | 203 ] |
202 } | 204 } |
203 ] | 205 ] |
204 } | 206 } |
205 | 207 |
OLD | NEW |