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