| 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) |
| 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 400.00 400.00) | 16 (bounds 400.00 400.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 180.00 180.00) | 21 (bounds 180.00 180.00) |
| 24 (drawsContent 1) | 22 (drawsContent 1) |
| 25 ) | 23 ) |
| 26 ) | 24 ) |
| 27 ) | 25 ) |
| 28 ) | 26 ) |
| 29 ) | 27 ) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 40 (repaint rects | 38 (repaint rects |
| 41 (rect 300.00 300.00 100.00 100.00) | 39 (rect 300.00 300.00 100.00 100.00) |
| 42 ) | 40 ) |
| 43 (children 1 | 41 (children 1 |
| 44 (GraphicsLayer | 42 (GraphicsLayer |
| 45 (children 2 | 43 (children 2 |
| 46 (GraphicsLayer | 44 (GraphicsLayer |
| 47 (position 60.00 60.00) | 45 (position 60.00 60.00) |
| 48 (bounds 400.00 400.00) | 46 (bounds 400.00 400.00) |
| 49 (contentsOpaque 1) | 47 (contentsOpaque 1) |
| 50 (drawsContent 1) | |
| 51 (backgroundColor #808080) | |
| 52 ) | 48 ) |
| 53 (GraphicsLayer | 49 (GraphicsLayer |
| 54 (position 140.00 140.00) | 50 (position 140.00 140.00) |
| 55 (bounds 260.00 260.00) | 51 (bounds 260.00 260.00) |
| 56 (drawsContent 1) | 52 (drawsContent 1) |
| 57 (repaint rects | 53 (repaint rects |
| 58 (rect 0.00 0.00 100.00 100.00) | 54 (rect 0.00 0.00 100.00 100.00) |
| 59 ) | 55 ) |
| 60 ) | 56 ) |
| 61 ) | 57 ) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 72 (bounds 800.00 600.00) | 68 (bounds 800.00 600.00) |
| 73 (contentsOpaque 1) | 69 (contentsOpaque 1) |
| 74 (drawsContent 1) | 70 (drawsContent 1) |
| 75 (children 1 | 71 (children 1 |
| 76 (GraphicsLayer | 72 (GraphicsLayer |
| 77 (children 2 | 73 (children 2 |
| 78 (GraphicsLayer | 74 (GraphicsLayer |
| 79 (position 60.00 60.00) | 75 (position 60.00 60.00) |
| 80 (bounds 400.00 400.00) | 76 (bounds 400.00 400.00) |
| 81 (contentsOpaque 1) | 77 (contentsOpaque 1) |
| 82 (drawsContent 1) | |
| 83 (backgroundColor #808080) | |
| 84 ) | 78 ) |
| 85 (GraphicsLayer | 79 (GraphicsLayer |
| 86 (position 140.00 140.00) | 80 (position 140.00 140.00) |
| 87 (bounds 260.00 260.00) | 81 (bounds 260.00 260.00) |
| 88 (drawsContent 1) | 82 (drawsContent 1) |
| 89 (repaint rects | 83 (repaint rects |
| 90 (rect 80.00 80.00 100.00 100.00) | 84 (rect 80.00 80.00 100.00 100.00) |
| 91 ) | 85 ) |
| 92 ) | 86 ) |
| 93 ) | 87 ) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 104 (bounds 800.00 600.00) | 98 (bounds 800.00 600.00) |
| 105 (contentsOpaque 1) | 99 (contentsOpaque 1) |
| 106 (drawsContent 1) | 100 (drawsContent 1) |
| 107 (children 1 | 101 (children 1 |
| 108 (GraphicsLayer | 102 (GraphicsLayer |
| 109 (children 2 | 103 (children 2 |
| 110 (GraphicsLayer | 104 (GraphicsLayer |
| 111 (position 60.00 60.00) | 105 (position 60.00 60.00) |
| 112 (bounds 400.00 400.00) | 106 (bounds 400.00 400.00) |
| 113 (contentsOpaque 1) | 107 (contentsOpaque 1) |
| 114 (drawsContent 1) | |
| 115 (backgroundColor #808080) | |
| 116 ) | 108 ) |
| 117 (GraphicsLayer | 109 (GraphicsLayer |
| 118 (position 300.00 300.00) | 110 (position 300.00 300.00) |
| 119 (bounds 100.00 100.00) | 111 (bounds 100.00 100.00) |
| 120 (drawsContent 1) | 112 (drawsContent 1) |
| 121 (repaint rects | 113 (repaint rects |
| 122 (rect 0.00 0.00 100.00 100.00) | 114 (rect 0.00 0.00 100.00 100.00) |
| 123 ) | 115 ) |
| 124 ) | 116 ) |
| 125 ) | 117 ) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 139 (repaint rects | 131 (repaint rects |
| 140 (rect 220.00 220.00 100.00 100.00) | 132 (rect 220.00 220.00 100.00 100.00) |
| 141 ) | 133 ) |
| 142 (children 1 | 134 (children 1 |
| 143 (GraphicsLayer | 135 (GraphicsLayer |
| 144 (children 2 | 136 (children 2 |
| 145 (GraphicsLayer | 137 (GraphicsLayer |
| 146 (position 60.00 60.00) | 138 (position 60.00 60.00) |
| 147 (bounds 400.00 400.00) | 139 (bounds 400.00 400.00) |
| 148 (contentsOpaque 1) | 140 (contentsOpaque 1) |
| 149 (drawsContent 1) | |
| 150 (backgroundColor #808080) | |
| 151 ) | 141 ) |
| 152 (GraphicsLayer | 142 (GraphicsLayer |
| 153 (position 220.00 220.00) | 143 (position 220.00 220.00) |
| 154 (bounds 180.00 180.00) | 144 (bounds 180.00 180.00) |
| 155 (drawsContent 1) | 145 (drawsContent 1) |
| 156 (repaint rects | 146 (repaint rects |
| 157 (rect 0.00 0.00 100.00 100.00) | 147 (rect 0.00 0.00 100.00 100.00) |
| 158 (rect 0.00 0.00 100.00 100.00) | 148 (rect 0.00 0.00 100.00 100.00) |
| 159 ) | 149 ) |
| 160 ) | 150 ) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 175 (repaint rects | 165 (repaint rects |
| 176 (rect 140.00 140.00 100.00 100.00) | 166 (rect 140.00 140.00 100.00 100.00) |
| 177 ) | 167 ) |
| 178 (children 1 | 168 (children 1 |
| 179 (GraphicsLayer | 169 (GraphicsLayer |
| 180 (children 2 | 170 (children 2 |
| 181 (GraphicsLayer | 171 (GraphicsLayer |
| 182 (position 60.00 60.00) | 172 (position 60.00 60.00) |
| 183 (bounds 400.00 400.00) | 173 (bounds 400.00 400.00) |
| 184 (contentsOpaque 1) | 174 (contentsOpaque 1) |
| 185 (drawsContent 1) | |
| 186 (backgroundColor #808080) | |
| 187 ) | 175 ) |
| 188 (GraphicsLayer | 176 (GraphicsLayer |
| 189 (position 140.00 140.00) | 177 (position 140.00 140.00) |
| 190 (bounds 180.00 180.00) | 178 (bounds 180.00 180.00) |
| 191 (drawsContent 1) | 179 (drawsContent 1) |
| 192 (repaint rects | 180 (repaint rects |
| 193 (rect 80.00 80.00 100.00 100.00) | 181 (rect 80.00 80.00 100.00 100.00) |
| 194 (rect 0.00 0.00 100.00 100.00) | 182 (rect 0.00 0.00 100.00 100.00) |
| 195 (rect 0.00 0.00 100.00 100.00) | 183 (rect 0.00 0.00 100.00 100.00) |
| 196 ) | 184 ) |
| 197 ) | 185 ) |
| 198 ) | 186 ) |
| 199 ) | 187 ) |
| 200 ) | 188 ) |
| 201 ) | 189 ) |
| 202 ) | 190 ) |
| 203 ) | 191 ) |
| 204 | 192 |
| OLD | NEW |