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 80.00 80.00 100.00 100.00) |
60 (rect 0.00 0.00 100.00 100.00) | 59 (rect 0.00 0.00 100.00 100.00) |
60 (rect 0.00 0.00 100.00 100.00) | |
leviw_travelin_and_unemployed
2014/05/29 20:49:00
I assume you've validated these are, indeed, corre
chrishtr
2014/05/29 21:06:11
Yes, checked them.
| |
61 (rect 0.00 0.00 100.00 100.00) | |
61 ) | 62 ) |
62 ) | 63 ) |
63 ) | 64 ) |
64 ) | 65 ) |
65 ) | 66 ) |
66 ) | 67 ) |
67 ) | 68 ) |
68 ) | 69 ) |
69 CASE 3, overlap2 gets removed. Since this does not resize the layer, there shoul d only be a repaint of overlap2: | 70 CASE 3, overlap2 gets removed. Since this does not resize the layer, there shoul d only be a repaint of overlap2: |
70 (GraphicsLayer | 71 (GraphicsLayer |
(...skipping 13 matching lines...) Expand all Loading... | |
84 (drawsContent 1) | 85 (drawsContent 1) |
85 (backgroundColor #808080) | 86 (backgroundColor #808080) |
86 ) | 87 ) |
87 (GraphicsLayer | 88 (GraphicsLayer |
88 (position 140.00 140.00) | 89 (position 140.00 140.00) |
89 (bounds 260.00 260.00) | 90 (bounds 260.00 260.00) |
90 (drawsContent 1) | 91 (drawsContent 1) |
91 (repaint rects | 92 (repaint rects |
92 (rect 160.00 160.00 100.00 100.00) | 93 (rect 160.00 160.00 100.00 100.00) |
93 (rect 80.00 80.00 100.00 100.00) | 94 (rect 80.00 80.00 100.00 100.00) |
95 (rect 0.00 0.00 100.00 100.00) | |
94 ) | 96 ) |
95 ) | 97 ) |
96 ) | 98 ) |
97 ) | 99 ) |
98 ) | 100 ) |
99 ) | 101 ) |
100 ) | 102 ) |
101 ) | 103 ) |
102 CASE 4, overlap1 gets removed: | 104 CASE 4, overlap1 gets removed: |
103 (GraphicsLayer | 105 (GraphicsLayer |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 (contentsOpaque 1) | 153 (contentsOpaque 1) |
152 (drawsContent 1) | 154 (drawsContent 1) |
153 (backgroundColor #808080) | 155 (backgroundColor #808080) |
154 ) | 156 ) |
155 (GraphicsLayer | 157 (GraphicsLayer |
156 (position 220.00 220.00) | 158 (position 220.00 220.00) |
157 (bounds 180.00 180.00) | 159 (bounds 180.00 180.00) |
158 (drawsContent 1) | 160 (drawsContent 1) |
159 (repaint rects | 161 (repaint rects |
160 (rect 0.00 0.00 100.00 100.00) | 162 (rect 0.00 0.00 100.00 100.00) |
161 (rect 0.00 0.00 20.00 20.00) | 163 (rect 0.00 0.00 100.00 100.00) |
164 (rect 0.00 0.00 100.00 100.00) | |
162 ) | 165 ) |
163 ) | 166 ) |
164 ) | 167 ) |
165 ) | 168 ) |
166 ) | 169 ) |
167 ) | 170 ) |
168 ) | 171 ) |
169 ) | 172 ) |
170 CASE 6, overlap1 gets added back, and overlap3 gets removed: | 173 CASE 6, overlap1 gets added back, and overlap3 gets removed: |
171 (GraphicsLayer | 174 (GraphicsLayer |
(...skipping 17 matching lines...) Expand all Loading... | |
189 (backgroundColor #808080) | 192 (backgroundColor #808080) |
190 ) | 193 ) |
191 (GraphicsLayer | 194 (GraphicsLayer |
192 (position 140.00 140.00) | 195 (position 140.00 140.00) |
193 (bounds 180.00 180.00) | 196 (bounds 180.00 180.00) |
194 (drawsContent 1) | 197 (drawsContent 1) |
195 (repaint rects | 198 (repaint rects |
196 (rect 80.00 80.00 100.00 100.00) | 199 (rect 80.00 80.00 100.00 100.00) |
197 (rect 0.00 0.00 100.00 100.00) | 200 (rect 0.00 0.00 100.00 100.00) |
198 (rect 0.00 0.00 100.00 100.00) | 201 (rect 0.00 0.00 100.00 100.00) |
199 (rect 0.00 0.00 20.00 20.00) | 202 (rect 0.00 0.00 100.00 100.00) |
200 ) | 203 ) |
201 ) | 204 ) |
202 ) | 205 ) |
203 ) | 206 ) |
204 ) | 207 ) |
205 ) | 208 ) |
206 ) | 209 ) |
207 ) | 210 ) |
208 | 211 |
OLD | NEW |