OLD | NEW |
---|---|
1 { | 1 { |
2 "bounds": [800, 600], | 2 "bounds": [800, 600], |
3 "children": [ | 3 "children": [ |
4 { | 4 { |
5 "bounds": [800, 600], | 5 "bounds": [800, 600], |
6 "contentsOpaque": true, | 6 "contentsOpaque": true, |
7 "drawsContent": true, | 7 "drawsContent": true, |
8 "repaintRects": [ | |
9 [8, 413, 784, 28], | |
10 [8, 13, 784, 15], | |
11 [0, 421, 800, 28] | |
12 ], | |
Xianzhu
2014/07/21 18:33:37
This was extra repaints caused by the output of la
| |
13 "children": [ | 8 "children": [ |
14 { | 9 { |
15 "position": [8, 41], | 10 "position": [8, 8], |
chrishtr
2014/07/21 19:05:34
What about this change? Why does it happen?
Xianzhu
2014/07/21 19:15:24
This is because there is no more layer-tree-text (
| |
16 "bounds": [400, 400], | 11 "bounds": [400, 400], |
17 "contentsOpaque": true, | 12 "contentsOpaque": true, |
18 "drawsContent": true, | 13 "drawsContent": true, |
19 "backgroundColor": "#008000", | 14 "backgroundColor": "#008000", |
20 "repaintRects": [ | 15 "repaintRects": [ |
21 [0, 0, 400, 400], | 16 [0, 0, 400, 400], |
22 [0, 0, 400, 400] | 17 [0, 0, 400, 400] |
23 ], | 18 ], |
24 "children": [ | 19 "children": [ |
25 { | 20 { |
26 "position": [50, 50], | 21 "position": [50, 50], |
27 "bounds": [75, 75], | 22 "bounds": [75, 75], |
28 "contentsOpaque": true, | 23 "contentsOpaque": true, |
29 "drawsContent": true, | 24 "drawsContent": true, |
30 "backgroundColor": "#0000FF", | 25 "backgroundColor": "#0000FF", |
31 "repaintRects": [ | 26 "repaintRects": [ |
32 [0, 0, 75, 75], | 27 [0, 0, 75, 75], |
33 [0, 0, 75, 75] | 28 [0, 0, 75, 75] |
34 ] | 29 ] |
35 } | 30 } |
36 ] | 31 ] |
37 } | 32 } |
38 ] | 33 ] |
39 } | 34 } |
40 ] | 35 ] |
41 } | 36 } |
42 | 37 |
OLD | NEW |