| OLD | NEW |
| 1 Basic repaint test for squashed layers. The entire squashing layer should not ne
ed repainting when only a portion of it is invalidated. Test interactively by us
ing --show-paint-rects and hovering over elements to change their color. | 1 Basic repaint test for squashed layers. The entire squashing layer should not ne
ed repainting when only a portion of it is invalidated. Test interactively by us
ing --show-paint-rects and hovering over elements to change their color. |
| 2 | 2 |
| 3 CASE 1, original layer tree: | 3 CASE 1, original layer tree: |
| 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 100.00 100.00) | 16 (bounds 100.00 100.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 260.00 260.00) | 23 (bounds 260.00 260.00) |
| 22 (drawsContent 1) | 24 (drawsContent 1) |
| 23 ) | 25 ) |
| 24 ) | 26 ) |
| 25 ) | 27 ) |
| 26 ) | 28 ) |
| 27 ) | 29 ) |
| 28 ) | 30 ) |
| 29 ) | 31 ) |
| 30 CASE 2, overlap1 changes color: | 32 CASE 2, overlap1 changes color: |
| 31 (GraphicsLayer | 33 (GraphicsLayer |
| 32 (bounds 800.00 600.00) | 34 (bounds 800.00 600.00) |
| 33 (children 1 | 35 (children 1 |
| 34 (GraphicsLayer | 36 (GraphicsLayer |
| 35 (bounds 800.00 600.00) | 37 (bounds 800.00 600.00) |
| 36 (contentsOpaque 1) | 38 (contentsOpaque 1) |
| 37 (drawsContent 1) | 39 (drawsContent 1) |
| 38 (children 1 | 40 (children 1 |
| 39 (GraphicsLayer | 41 (GraphicsLayer |
| 40 (children 2 | 42 (children 2 |
| 41 (GraphicsLayer | 43 (GraphicsLayer |
| 42 (position 60.00 60.00) | 44 (position 60.00 60.00) |
| 43 (bounds 100.00 100.00) | 45 (bounds 100.00 100.00) |
| 44 (contentsOpaque 1) | 46 (contentsOpaque 1) |
| 47 (drawsContent 1) |
| 48 (backgroundColor #808080) |
| 45 ) | 49 ) |
| 46 (GraphicsLayer | 50 (GraphicsLayer |
| 47 (position 140.00 140.00) | 51 (position 140.00 140.00) |
| 48 (bounds 260.00 260.00) | 52 (bounds 260.00 260.00) |
| 49 (drawsContent 1) | 53 (drawsContent 1) |
| 50 (repaint rects | 54 (repaint rects |
| 51 (rect 0.00 0.00 100.00 100.00) | 55 (rect 0.00 0.00 100.00 100.00) |
| 52 (rect 0.00 0.00 100.00 100.00) | 56 (rect 0.00 0.00 100.00 100.00) |
| 53 (rect 0.00 0.00 100.00 100.00) | 57 (rect 0.00 0.00 100.00 100.00) |
| 54 ) | 58 ) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 67 (bounds 800.00 600.00) | 71 (bounds 800.00 600.00) |
| 68 (contentsOpaque 1) | 72 (contentsOpaque 1) |
| 69 (drawsContent 1) | 73 (drawsContent 1) |
| 70 (children 1 | 74 (children 1 |
| 71 (GraphicsLayer | 75 (GraphicsLayer |
| 72 (children 2 | 76 (children 2 |
| 73 (GraphicsLayer | 77 (GraphicsLayer |
| 74 (position 60.00 60.00) | 78 (position 60.00 60.00) |
| 75 (bounds 100.00 100.00) | 79 (bounds 100.00 100.00) |
| 76 (contentsOpaque 1) | 80 (contentsOpaque 1) |
| 81 (drawsContent 1) |
| 82 (backgroundColor #808080) |
| 77 ) | 83 ) |
| 78 (GraphicsLayer | 84 (GraphicsLayer |
| 79 (position 140.00 140.00) | 85 (position 140.00 140.00) |
| 80 (bounds 260.00 260.00) | 86 (bounds 260.00 260.00) |
| 81 (drawsContent 1) | 87 (drawsContent 1) |
| 82 (repaint rects | 88 (repaint rects |
| 83 (rect 80.00 80.00 100.00 100.00) | 89 (rect 80.00 80.00 100.00 100.00) |
| 84 (rect 80.00 80.00 100.00 100.00) | 90 (rect 80.00 80.00 100.00 100.00) |
| 85 (rect 80.00 80.00 100.00 100.00) | 91 (rect 80.00 80.00 100.00 100.00) |
| 86 (rect 0.00 0.00 100.00 100.00) | 92 (rect 0.00 0.00 100.00 100.00) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 102 (bounds 800.00 600.00) | 108 (bounds 800.00 600.00) |
| 103 (contentsOpaque 1) | 109 (contentsOpaque 1) |
| 104 (drawsContent 1) | 110 (drawsContent 1) |
| 105 (children 1 | 111 (children 1 |
| 106 (GraphicsLayer | 112 (GraphicsLayer |
| 107 (children 2 | 113 (children 2 |
| 108 (GraphicsLayer | 114 (GraphicsLayer |
| 109 (position 60.00 60.00) | 115 (position 60.00 60.00) |
| 110 (bounds 100.00 100.00) | 116 (bounds 100.00 100.00) |
| 111 (contentsOpaque 1) | 117 (contentsOpaque 1) |
| 118 (drawsContent 1) |
| 119 (backgroundColor #808080) |
| 112 ) | 120 ) |
| 113 (GraphicsLayer | 121 (GraphicsLayer |
| 114 (position 140.00 140.00) | 122 (position 140.00 140.00) |
| 115 (bounds 260.00 260.00) | 123 (bounds 260.00 260.00) |
| 116 (drawsContent 1) | 124 (drawsContent 1) |
| 117 (repaint rects | 125 (repaint rects |
| 118 (rect 160.00 160.00 100.00 100.00) | 126 (rect 160.00 160.00 100.00 100.00) |
| 119 (rect 160.00 160.00 100.00 100.00) | 127 (rect 160.00 160.00 100.00 100.00) |
| 120 (rect 160.00 160.00 100.00 100.00) | 128 (rect 160.00 160.00 100.00 100.00) |
| 121 (rect 80.00 80.00 100.00 100.00) | 129 (rect 80.00 80.00 100.00 100.00) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 137 (bounds 800.00 600.00) | 145 (bounds 800.00 600.00) |
| 138 (contentsOpaque 1) | 146 (contentsOpaque 1) |
| 139 (drawsContent 1) | 147 (drawsContent 1) |
| 140 (children 1 | 148 (children 1 |
| 141 (GraphicsLayer | 149 (GraphicsLayer |
| 142 (children 2 | 150 (children 2 |
| 143 (GraphicsLayer | 151 (GraphicsLayer |
| 144 (position 60.00 60.00) | 152 (position 60.00 60.00) |
| 145 (bounds 100.00 100.00) | 153 (bounds 100.00 100.00) |
| 146 (contentsOpaque 1) | 154 (contentsOpaque 1) |
| 155 (drawsContent 1) |
| 156 (backgroundColor #808080) |
| 147 ) | 157 ) |
| 148 (GraphicsLayer | 158 (GraphicsLayer |
| 149 (position 140.00 140.00) | 159 (position 140.00 140.00) |
| 150 (bounds 260.00 260.00) | 160 (bounds 260.00 260.00) |
| 151 (drawsContent 1) | 161 (drawsContent 1) |
| 152 (repaint rects | 162 (repaint rects |
| 153 (rect 160.00 160.00 100.00 100.00) | 163 (rect 160.00 160.00 100.00 100.00) |
| 154 (rect 160.00 160.00 100.00 100.00) | 164 (rect 160.00 160.00 100.00 100.00) |
| 155 (rect 160.00 160.00 100.00 100.00) | 165 (rect 160.00 160.00 100.00 100.00) |
| 156 (rect 0.00 0.00 100.00 100.00) | 166 (rect 0.00 0.00 100.00 100.00) |
| 157 (rect 0.00 0.00 100.00 100.00) | 167 (rect 0.00 0.00 100.00 100.00) |
| 158 (rect 0.00 0.00 100.00 100.00) | 168 (rect 0.00 0.00 100.00 100.00) |
| 159 ) | 169 ) |
| 160 ) | 170 ) |
| 161 ) | 171 ) |
| 162 ) | 172 ) |
| 163 ) | 173 ) |
| 164 ) | 174 ) |
| 165 ) | 175 ) |
| 166 ) | 176 ) |
| 167 | 177 |
| OLD | NEW |