| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 (bounds 400.00 400.00) | 48 (bounds 400.00 400.00) |
| 49 (contentsOpaque 1) | 49 (contentsOpaque 1) |
| 50 (drawsContent 1) | 50 (drawsContent 1) |
| 51 (backgroundColor #808080) | 51 (backgroundColor #808080) |
| 52 ) | 52 ) |
| 53 (GraphicsLayer | 53 (GraphicsLayer |
| 54 (position 140.00 140.00) | 54 (position 140.00 140.00) |
| 55 (bounds 260.00 260.00) | 55 (bounds 260.00 260.00) |
| 56 (drawsContent 1) | 56 (drawsContent 1) |
| 57 (repaint rects | 57 (repaint rects |
| 58 (rect 160.00 160.00 20.00 20.00) |
| 59 (rect 80.00 80.00 100.00 100.00) |
| 58 (rect 0.00 0.00 100.00 100.00) | 60 (rect 0.00 0.00 100.00 100.00) |
| 59 (rect 80.00 80.00 100.00 100.00) | |
| 60 (rect 160.00 160.00 20.00 20.00) | |
| 61 ) | 61 ) |
| 62 ) | 62 ) |
| 63 ) | 63 ) |
| 64 ) | 64 ) |
| 65 ) | 65 ) |
| 66 ) | 66 ) |
| 67 ) | 67 ) |
| 68 ) | 68 ) |
| 69 CASE 3, overlap2 gets removed. Since this does not resize the layer, there shoul
d only be a repaint of overlap2: | 69 CASE 3, overlap2 gets removed. Since this does not resize the layer, there shoul
d only be a repaint of overlap2: |
| 70 (GraphicsLayer | 70 (GraphicsLayer |
| (...skipping 11 matching lines...) Expand all Loading... |
| 82 (bounds 400.00 400.00) | 82 (bounds 400.00 400.00) |
| 83 (contentsOpaque 1) | 83 (contentsOpaque 1) |
| 84 (drawsContent 1) | 84 (drawsContent 1) |
| 85 (backgroundColor #808080) | 85 (backgroundColor #808080) |
| 86 ) | 86 ) |
| 87 (GraphicsLayer | 87 (GraphicsLayer |
| 88 (position 140.00 140.00) | 88 (position 140.00 140.00) |
| 89 (bounds 260.00 260.00) | 89 (bounds 260.00 260.00) |
| 90 (drawsContent 1) | 90 (drawsContent 1) |
| 91 (repaint rects | 91 (repaint rects |
| 92 (rect 160.00 160.00 100.00 100.00) |
| 92 (rect 80.00 80.00 100.00 100.00) | 93 (rect 80.00 80.00 100.00 100.00) |
| 93 (rect 160.00 160.00 100.00 100.00) | |
| 94 ) | 94 ) |
| 95 ) | 95 ) |
| 96 ) | 96 ) |
| 97 ) | 97 ) |
| 98 ) | 98 ) |
| 99 ) | 99 ) |
| 100 ) | 100 ) |
| 101 ) | 101 ) |
| 102 CASE 4, overlap1 gets removed: | 102 CASE 4, overlap1 gets removed: |
| 103 (GraphicsLayer | 103 (GraphicsLayer |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 (bounds 400.00 400.00) | 150 (bounds 400.00 400.00) |
| 151 (contentsOpaque 1) | 151 (contentsOpaque 1) |
| 152 (drawsContent 1) | 152 (drawsContent 1) |
| 153 (backgroundColor #808080) | 153 (backgroundColor #808080) |
| 154 ) | 154 ) |
| 155 (GraphicsLayer | 155 (GraphicsLayer |
| 156 (position 220.00 220.00) | 156 (position 220.00 220.00) |
| 157 (bounds 180.00 180.00) | 157 (bounds 180.00 180.00) |
| 158 (drawsContent 1) | 158 (drawsContent 1) |
| 159 (repaint rects | 159 (repaint rects |
| 160 (rect 0.00 0.00 100.00 100.00) |
| 160 (rect 0.00 0.00 20.00 20.00) | 161 (rect 0.00 0.00 20.00 20.00) |
| 161 (rect 0.00 0.00 100.00 100.00) | |
| 162 ) | 162 ) |
| 163 ) | 163 ) |
| 164 ) | 164 ) |
| 165 ) | 165 ) |
| 166 ) | 166 ) |
| 167 ) | 167 ) |
| 168 ) | 168 ) |
| 169 ) | 169 ) |
| 170 CASE 6, overlap1 gets added back, and overlap3 gets removed: | 170 CASE 6, overlap1 gets added back, and overlap3 gets removed: |
| 171 (GraphicsLayer | 171 (GraphicsLayer |
| (...skipping 16 matching lines...) Expand all Loading... |
| 188 (drawsContent 1) | 188 (drawsContent 1) |
| 189 (backgroundColor #808080) | 189 (backgroundColor #808080) |
| 190 ) | 190 ) |
| 191 (GraphicsLayer | 191 (GraphicsLayer |
| 192 (position 140.00 140.00) | 192 (position 140.00 140.00) |
| 193 (bounds 180.00 180.00) | 193 (bounds 180.00 180.00) |
| 194 (drawsContent 1) | 194 (drawsContent 1) |
| 195 (repaint rects | 195 (repaint rects |
| 196 (rect 80.00 80.00 100.00 100.00) | 196 (rect 80.00 80.00 100.00 100.00) |
| 197 (rect 0.00 0.00 100.00 100.00) | 197 (rect 0.00 0.00 100.00 100.00) |
| 198 (rect 0.00 0.00 100.00 100.00) |
| 198 (rect 0.00 0.00 20.00 20.00) | 199 (rect 0.00 0.00 20.00 20.00) |
| 199 (rect 0.00 0.00 100.00 100.00) | |
| 200 ) | 200 ) |
| 201 ) | 201 ) |
| 202 ) | 202 ) |
| 203 ) | 203 ) |
| 204 ) | 204 ) |
| 205 ) | 205 ) |
| 206 ) | 206 ) |
| 207 ) | 207 ) |
| 208 | 208 |
| OLD | NEW |