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 (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) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 (bounds 400.00 400.00) | 49 (bounds 400.00 400.00) |
50 (contentsOpaque 1) | 50 (contentsOpaque 1) |
51 (drawsContent 1) | 51 (drawsContent 1) |
52 (backgroundColor #808080) | 52 (backgroundColor #808080) |
53 ) | 53 ) |
54 (GraphicsLayer | 54 (GraphicsLayer |
55 (position 140.00 140.00) | 55 (position 140.00 140.00) |
56 (bounds 260.00 260.00) | 56 (bounds 260.00 260.00) |
57 (drawsContent 1) | 57 (drawsContent 1) |
58 (repaint rects | 58 (repaint rects |
59 (rect 160.00 160.00 20.00 20.00) | 59 (rect 160.00 160.00 100.00 100.00) |
60 (rect 140.00 140.00 40.00 40.00) | |
61 (rect 80.00 80.00 100.00 100.00) | 60 (rect 80.00 80.00 100.00 100.00) |
62 (rect 0.00 0.00 100.00 100.00) | 61 (rect 0.00 0.00 100.00 100.00) |
63 ) | 62 ) |
64 ) | 63 ) |
65 ) | 64 ) |
66 ) | 65 ) |
67 ) | 66 ) |
68 ) | 67 ) |
69 ) | 68 ) |
70 ) | 69 ) |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 (bounds 400.00 400.00) | 152 (bounds 400.00 400.00) |
154 (contentsOpaque 1) | 153 (contentsOpaque 1) |
155 (drawsContent 1) | 154 (drawsContent 1) |
156 (backgroundColor #808080) | 155 (backgroundColor #808080) |
157 ) | 156 ) |
158 (GraphicsLayer | 157 (GraphicsLayer |
159 (position 220.00 220.00) | 158 (position 220.00 220.00) |
160 (bounds 180.00 180.00) | 159 (bounds 180.00 180.00) |
161 (drawsContent 1) | 160 (drawsContent 1) |
162 (repaint rects | 161 (repaint rects |
| 162 (rect 80.00 80.00 100.00 100.00) |
163 (rect 0.00 0.00 100.00 100.00) | 163 (rect 0.00 0.00 100.00 100.00) |
164 (rect 0.00 0.00 100.00 100.00) | 164 (rect 0.00 0.00 100.00 100.00) |
165 (rect 0.00 0.00 100.00 100.00) | 165 (rect 0.00 0.00 100.00 100.00) |
166 (rect 0.00 0.00 20.00 20.00) | |
167 ) | 166 ) |
168 ) | 167 ) |
169 ) | 168 ) |
170 ) | 169 ) |
171 ) | 170 ) |
172 ) | 171 ) |
173 ) | 172 ) |
174 ) | 173 ) |
175 CASE 6, overlap1 gets added back, and overlap3 gets removed: | 174 CASE 6, overlap1 gets added back, and overlap3 gets removed: |
176 (GraphicsLayer | 175 (GraphicsLayer |
(...skipping 16 matching lines...) Expand all Loading... |
193 (contentsOpaque 1) | 192 (contentsOpaque 1) |
194 (drawsContent 1) | 193 (drawsContent 1) |
195 (backgroundColor #808080) | 194 (backgroundColor #808080) |
196 ) | 195 ) |
197 (GraphicsLayer | 196 (GraphicsLayer |
198 (position 140.00 140.00) | 197 (position 140.00 140.00) |
199 (bounds 180.00 180.00) | 198 (bounds 180.00 180.00) |
200 (drawsContent 1) | 199 (drawsContent 1) |
201 (repaint rects | 200 (repaint rects |
202 (rect 80.00 80.00 100.00 100.00) | 201 (rect 80.00 80.00 100.00 100.00) |
| 202 (rect 80.00 80.00 100.00 100.00) |
203 (rect 0.00 0.00 100.00 100.00) | 203 (rect 0.00 0.00 100.00 100.00) |
204 (rect 0.00 0.00 100.00 100.00) | 204 (rect 0.00 0.00 100.00 100.00) |
205 (rect 0.00 0.00 100.00 100.00) | 205 (rect 0.00 0.00 100.00 100.00) |
206 (rect 0.00 0.00 20.00 20.00) | |
207 (rect 0.00 0.00 20.00 20.00) | |
208 ) | 206 ) |
209 ) | 207 ) |
210 ) | 208 ) |
211 ) | 209 ) |
212 ) | 210 ) |
213 ) | 211 ) |
214 ) | 212 ) |
215 ) | 213 ) |
216 | 214 |
OLD | NEW |