Changeset 183300 in webkit
- Timestamp:
- Apr 24, 2015, 6:02:52 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r183290 r183300 1 2015-04-24 Simon Fraser <simon.fraser@apple.com> 2 3 Track a coverage rect through GraphicsLayerCA flushes, use it to mark backing store attached 4 https://bugs.webkit.org/show_bug.cgi?id=144165 5 6 Reviewed by Dean Jackson. 7 8 Updated results that now include coverage rects, and a new test that includes both visible 9 and hidden layers. 10 11 * compositing/contents-scale/animating-expected.txt: 12 * compositing/contents-scale/rounded-contents-scale-expected.txt: 13 * compositing/contents-scale/scaled-ancestor-expected.txt: 14 * compositing/contents-scale/simple-scale-expected.txt: 15 * compositing/contents-scale/z-translate-expected.txt: 16 * compositing/visible-rect/coverage-clipped-expected.txt: Added. 17 * compositing/visible-rect/coverage-clipped.html: Added. 18 * compositing/visible-rect/coverage-scrolling-expected.txt: Added. 19 * compositing/visible-rect/coverage-scrolling.html: Added. 20 * platform/ios-simulator-wk2/compositing/visible-rect/coverage-clipped-expected.txt: Added. 21 * platform/ios-simulator-wk2/compositing/visible-rect/coverage-scrolling-expected.txt: Added. 22 * platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt: 23 * platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt: 24 * platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt: 25 * platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt: 26 * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: 27 * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: 28 * platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt: 29 * platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt: 30 * platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt: 31 * platform/mac/compositing/visible-rect/2d-transformed-expected.txt: 32 * platform/mac/compositing/visible-rect/3d-transform-style-expected.txt: 33 * platform/mac/compositing/visible-rect/3d-transformed-expected.txt: 34 * platform/mac/compositing/visible-rect/animated-expected.txt: 35 * platform/mac/compositing/visible-rect/animated-from-none-expected.txt: 36 * platform/mac/compositing/visible-rect/clipped-by-viewport-expected.txt: 37 * platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt: 38 * platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt: 39 * platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt: 40 * platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt: 41 * platform/mac/compositing/visible-rect/nested-transform-expected.txt: 42 * platform/mac/compositing/visible-rect/scrolled-expected.txt: 43 1 44 2015-04-21 Geoffrey Garen <ggaren@apple.com> 2 45 -
trunk/LayoutTests/compositing/contents-scale/animating-expected.txt
r180441 r183300 4 4 (bounds 800.00 600.00) 5 5 (visible rect 0.00, 0.00 800.00 x 600.00) 6 (coverage rect 0.00, 0.00 800.00 x 600.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 10 12 (contentsOpaque 1) 11 13 (visible rect 0.00, 0.00 800.00 x 600.00) 14 (coverage rect 0.00, 0.00 800.00 x 600.00) 15 (intersects coverage rect 1) 12 16 (contentsScale 1.00) 13 17 (children 1 … … 20 24 (transform [1.50 0.00 0.00 0.00] [0.00 1.50 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00]) 21 25 (visible rect 0.00, 0.00 100.00 x 100.00) 26 (coverage rect 0.00, 0.00 800.00 x 600.00) 27 (intersects coverage rect 1) 22 28 (contentsScale 1.00) 23 29 ) -
trunk/LayoutTests/compositing/contents-scale/rounded-contents-scale-expected.txt
r169229 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 16 20 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.78 0.51 1.00 -0.00] [0.00 0.00 0.00 1.00]) 17 21 (visible rect 0.00, 0.00 784.00 x 512.00) 22 (coverage rect -8.00, -8.00 800.00 x 600.00) 23 (intersects coverage rect 1) 18 24 (contentsScale 1.00) 19 25 (children 6 … … 24 30 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 -200.00 1.00]) 25 31 (visible rect 0.00, 0.00 102.00 x 102.00) 32 (coverage rect -8.00, -8.00 800.00 x 600.00) 33 (intersects coverage rect 1) 26 34 (contentsScale 1.00) 27 35 ) … … 33 41 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 -100.00 1.00]) 34 42 (visible rect 0.00, 0.00 102.00 x 102.00) 43 (coverage rect -8.00, -8.00 800.00 x 600.00) 44 (intersects coverage rect 1) 35 45 (contentsScale 1.00) 36 46 ) … … 41 51 (drawsContent 1) 42 52 (visible rect 0.00, 0.00 102.00 x 102.00) 53 (coverage rect -8.00, -8.00 800.00 x 600.00) 54 (intersects coverage rect 1) 43 55 (contentsScale 1.00) 44 56 ) … … 50 62 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 50.00 1.00]) 51 63 (visible rect 0.00, 0.00 102.00 x 102.00) 64 (coverage rect -8.00, -8.00 800.00 x 600.00) 65 (intersects coverage rect 1) 52 66 (contentsScale 1.00) 53 67 ) … … 59 73 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 100.00 1.00]) 60 74 (visible rect 0.00, 0.00 102.00 x 102.00) 75 (coverage rect -8.00, -8.00 800.00 x 600.00) 76 (intersects coverage rect 1) 61 77 (contentsScale 1.00) 62 78 ) … … 68 84 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 150.00 1.00]) 69 85 (visible rect 0.00, 0.00 102.00 x 4.40) 86 (coverage rect -8.00, -8.00 800.00 x 600.00) 87 (intersects coverage rect 1) 70 88 (contentsScale 1.00) 71 89 ) -
trunk/LayoutTests/compositing/contents-scale/scaled-ancestor-expected.txt
r180441 r183300 4 4 (bounds 800.00 600.00) 5 5 (visible rect 0.00, 0.00 800.00 x 600.00) 6 (coverage rect 0.00, 0.00 800.00 x 600.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 10 12 (contentsOpaque 1) 11 13 (visible rect 0.00, 0.00 800.00 x 600.00) 14 (coverage rect 0.00, 0.00 800.00 x 600.00) 15 (intersects coverage rect 1) 12 16 (contentsScale 1.00) 13 17 (children 1 … … 19 23 (transform [2.00 0.00 0.00 0.00] [0.00 2.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00]) 20 24 (visible rect 0.00, 0.00 102.00 x 102.00) 25 (coverage rect 0.00, 0.00 800.00 x 600.00) 26 (intersects coverage rect 1) 21 27 (contentsScale 1.00) 22 28 (children 1 … … 27 33 (drawsContent 1) 28 34 (visible rect 0.00, 0.00 100.00 x 100.00) 35 (coverage rect -11.00, -11.00 800.00 x 600.00) 36 (intersects coverage rect 1) 29 37 (contentsScale 1.00) 30 38 ) -
trunk/LayoutTests/compositing/contents-scale/simple-scale-expected.txt
r180441 r183300 4 4 (bounds 800.00 600.00) 5 5 (visible rect 0.00, 0.00 800.00 x 600.00) 6 (coverage rect 0.00, 0.00 800.00 x 600.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 10 12 (contentsOpaque 1) 11 13 (visible rect 0.00, 0.00 800.00 x 600.00) 14 (coverage rect 0.00, 0.00 800.00 x 600.00) 15 (intersects coverage rect 1) 12 16 (contentsScale 1.00) 13 17 (children 1 … … 20 24 (transform [2.00 0.00 0.00 0.00] [0.00 2.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00]) 21 25 (visible rect 0.00, 0.00 100.00 x 100.00) 26 (coverage rect 0.00, 0.00 800.00 x 600.00) 27 (intersects coverage rect 1) 22 28 (contentsScale 1.00) 23 29 ) -
trunk/LayoutTests/compositing/contents-scale/z-translate-expected.txt
r180441 r183300 5 5 (bounds 800.00 600.00) 6 6 (visible rect 0.00, 0.00 800.00 x 600.00) 7 (coverage rect 0.00, 0.00 800.00 x 600.00) 8 (intersects coverage rect 1) 7 9 (contentsScale 1.00) 8 10 (children 1 … … 11 13 (contentsOpaque 1) 12 14 (visible rect 0.00, 0.00 800.00 x 600.00) 15 (coverage rect 0.00, 0.00 800.00 x 600.00) 16 (intersects coverage rect 1) 13 17 (contentsScale 1.00) 14 18 (children 1 … … 18 22 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 19 23 (visible rect 0.00, 0.00 102.00 x 102.00) 24 (coverage rect -8.00, -8.00 800.00 x 600.00) 25 (intersects coverage rect 1) 20 26 (contentsScale 1.00) 21 27 (children 1 … … 28 34 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 100.00 1.00]) 29 35 (visible rect 0.00, 0.00 100.00 x 100.00) 36 (coverage rect -7.20, -7.20 640.00 x 480.00) 37 (intersects coverage rect 1) 30 38 (contentsScale 1.00) 31 39 (children 1 … … 38 46 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 100.00 1.00]) 39 47 (visible rect 0.00, 0.00 100.00 x 100.00) 48 (coverage rect -15.40, -33.40 480.00 x 360.00) 49 (intersects coverage rect 1) 40 50 (contentsScale 1.00) 41 51 ) -
trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt
r169278 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (tile cache coverage 0, 0 800 x 600) … … 18 22 (bounds 502.00 302.00) 19 23 (visible rect 0.00, 0.00 502.00 x 302.00) 24 (coverage rect -58.00, -50.00 800.00 x 600.00) 25 (intersects coverage rect 1) 20 26 (contentsScale 1.00) 21 27 (children 1 … … 25 31 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 26 32 (visible rect 0.00, 0.00 500.00 x 300.00) 33 (coverage rect 0.00, 0.00 500.00 x 300.00) 34 (intersects coverage rect 1) 27 35 (contentsScale 1.00) 28 36 (children 1 … … 36 44 (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00]) 37 45 (visible rect 0.00, 0.00 2800.00 x 300.00) 46 (coverage rect 0.00, 0.00 500.00 x 300.00) 47 (intersects coverage rect 1) 38 48 (contentsScale 1.00) 39 49 (tile cache coverage 0, 0 2800 x 300) -
trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt
r177200 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (tile cache coverage 0, 0 800 x 600) … … 18 22 (bounds 502.00 302.00) 19 23 (visible rect 0.00, 0.00 502.00 x 302.00) 24 (coverage rect -58.00, -50.00 800.00 x 600.00) 25 (intersects coverage rect 1) 20 26 (contentsScale 1.00) 21 27 (children 1 … … 25 31 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 26 32 (visible rect 0.00, 0.00 500.00 x 300.00) 33 (coverage rect 0.00, 0.00 500.00 x 300.00) 34 (intersects coverage rect 1) 27 35 (contentsScale 1.00) 28 36 (children 1 … … 30 38 (preserves3D 1) 31 39 (visible rect 0.00, 0.00 0.00 x 0.00) 40 (coverage rect 0.00, 0.00 500.00 x 300.00) 41 (intersects coverage rect 0) 32 42 (contentsScale 1.00) 33 43 (children 1 … … 41 51 (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00]) 42 52 (visible rect 0.00, 0.00 2800.00 x 300.00) 53 (coverage rect -1562500.00, -1562500.00 1563571.88 x 1562694.63) 54 (intersects coverage rect 1) 43 55 (contentsScale 1.00) 44 56 (tile cache coverage 0, 0 2800 x 300) -
trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt
r168244 r183300 3 3 (bounds 1932.00 4150.00) 4 4 (visible rect 0.00, 0.00 785.00 x 585.00) 5 (coverage rect 0.00, 0.00 785.00 x 585.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 11 13 (transform [1.60 0.00 0.00 0.00] [0.00 1.60 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00]) 12 14 (visible rect 0.00, 0.00 490.63 x 365.63) 15 (coverage rect 0.00, 0.00 785.00 x 585.00) 16 (intersects coverage rect 1) 13 17 (contentsScale 1.60) 14 18 (tile cache coverage 0, 0 640 x 640) … … 22 26 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 23 27 (visible rect 0.00, 0.00 482.63 x 357.63) 28 (coverage rect 0.00, 0.00 785.00 x 585.00) 29 (intersects coverage rect 1) 24 30 (contentsScale 1.60) 25 31 ) -
trunk/LayoutTests/platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt
r180441 r183300 4 4 (bounds 1508.00 1516.00) 5 5 (visible rect 10.00, 100.00 285.00 x 135.00) 6 (coverage rect 10.00, 100.00 285.00 x 135.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 10 12 (drawsContent 1) 11 13 (visible rect 10.00, 100.00 285.00 x 135.00) 14 (coverage rect 10.00, 100.00 285.00 x 135.00) 15 (intersects coverage rect 1) 12 16 (contentsScale 1.00) 13 17 (children 1 … … 19 23 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 20 24 (visible rect 2.00, 92.00 98.00 x 135.00) 25 (coverage rect 10.00, 100.00 285.00 x 135.00) 26 (intersects coverage rect 1) 21 27 (contentsScale 1.00) 22 28 ) -
trunk/LayoutTests/platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt
r180107 r183300 9 9 (bounds 807.00 585.00) 10 10 (visible rect 0.00, 0.00 800.00 x 585.00) 11 (coverage rect 0.00, 0.00 800.00 x 585.00) 12 (intersects coverage rect 1) 11 13 (contentsScale 1.00) 12 14 (children 1 … … 15 17 (contentsOpaque 1) 16 18 (visible rect 0.00, 0.00 800.00 x 585.00) 19 (coverage rect 0.00, 0.00 800.00 x 585.00) 20 (intersects coverage rect 1) 17 21 (contentsScale 1.00) 18 22 (children 6 … … 22 26 (drawsContent 1) 23 27 (visible rect 0.00, 0.00 22.00 x 22.00) 28 (coverage rect -8.00, -96.00 800.00 x 585.00) 29 (intersects coverage rect 1) 24 30 (contentsScale 1.00) 25 31 ) … … 29 35 (drawsContent 1) 30 36 (visible rect 0.00, 0.00 22.00 x 22.00) 37 (coverage rect -8.00, -138.00 800.00 x 585.00) 38 (intersects coverage rect 1) 31 39 (contentsScale 1.00) 32 40 ) … … 36 44 (drawsContent 1) 37 45 (visible rect 0.00, 0.00 102.00 x 20.00) 46 (coverage rect -8.00, -86.00 800.00 x 585.00) 47 (intersects coverage rect 1) 38 48 (contentsScale 1.00) 39 49 ) … … 42 52 (bounds 100.00 18.00) 43 53 (visible rect 0.00, 0.00 100.00 x 18.00) 54 (coverage rect 0.00, 0.00 100.00 x 18.00) 55 (intersects coverage rect 1) 44 56 (contentsScale 1.00) 45 57 (children 1 … … 48 60 (drawsContent 1) 49 61 (visible rect 0.00, 0.00 100.00 x 18.00) 62 (coverage rect 0.00, 0.00 100.00 x 18.00) 63 (intersects coverage rect 1) 50 64 (contentsScale 1.00) 51 65 ) … … 57 71 (drawsContent 1) 58 72 (visible rect 0.00, 0.00 102.00 x 20.00) 73 (coverage rect -8.00, -128.00 800.00 x 585.00) 74 (intersects coverage rect 1) 59 75 (contentsScale 1.00) 60 76 ) … … 64 80 (drawsContent 1) 65 81 (visible rect 0.00, 0.00 800.00 x 18.00) 82 (coverage rect 0.00, -129.00 800.00 x 585.00) 83 (intersects coverage rect 1) 66 84 (contentsScale 1.00) 67 85 ) -
trunk/LayoutTests/platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt
r180107 r183300 9 9 (bounds 807.00 585.00) 10 10 (visible rect 0.00, 0.00 800.00 x 585.00) 11 (coverage rect 0.00, 0.00 800.00 x 585.00) 12 (intersects coverage rect 1) 11 13 (contentsScale 1.00) 12 14 (children 1 … … 15 17 (contentsOpaque 1) 16 18 (visible rect 0.00, 0.00 800.00 x 585.00) 19 (coverage rect 0.00, 0.00 800.00 x 585.00) 20 (intersects coverage rect 1) 17 21 (contentsScale 1.00) 18 22 (children 6 … … 22 26 (drawsContent 1) 23 27 (visible rect 0.00, 0.00 22.00 x 22.00) 28 (coverage rect -8.00, -96.00 800.00 x 585.00) 29 (intersects coverage rect 1) 24 30 (contentsScale 1.00) 25 31 ) … … 29 35 (drawsContent 1) 30 36 (visible rect 0.00, 0.00 22.00 x 22.00) 37 (coverage rect -8.00, -138.00 800.00 x 585.00) 38 (intersects coverage rect 1) 31 39 (contentsScale 1.00) 32 40 ) … … 36 44 (drawsContent 1) 37 45 (visible rect 0.00, 0.00 102.00 x 20.00) 46 (coverage rect -8.00, -86.00 800.00 x 585.00) 47 (intersects coverage rect 1) 38 48 (contentsScale 1.00) 39 49 ) … … 42 52 (bounds 100.00 18.00) 43 53 (visible rect 0.00, 0.00 100.00 x 18.00) 54 (coverage rect 0.00, 0.00 100.00 x 18.00) 55 (intersects coverage rect 1) 44 56 (contentsScale 1.00) 45 57 (children 1 … … 48 60 (drawsContent 1) 49 61 (visible rect 0.00, 0.00 100.00 x 18.00) 62 (coverage rect 0.00, 0.00 100.00 x 18.00) 63 (intersects coverage rect 1) 50 64 (contentsScale 1.00) 51 65 ) … … 57 71 (drawsContent 1) 58 72 (visible rect 0.00, 0.00 102.00 x 20.00) 73 (coverage rect -8.00, -128.00 800.00 x 585.00) 74 (intersects coverage rect 1) 59 75 (contentsScale 1.00) 60 76 ) … … 64 80 (drawsContent 1) 65 81 (visible rect 0.00, 0.00 791.00 x 18.00) 82 (coverage rect -9.00, -129.00 800.00 x 585.00) 83 (intersects coverage rect 1) 66 84 (contentsScale 1.00) 67 85 ) -
trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 302.00) 16 20 (visible rect 0.00, 0.00 502.00 x 302.00) 21 (coverage rect -58.00, -50.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 22 28 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 29 (visible rect 0.00, 0.00 500.00 x 300.00) 30 (coverage rect 0.00, 0.00 500.00 x 300.00) 31 (intersects coverage rect 1) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 33 41 (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00]) 34 42 (visible rect 0.00, 0.00 2800.00 x 300.00) 43 (coverage rect 0.00, 0.00 500.00 x 300.00) 44 (intersects coverage rect 1) 35 45 (contentsScale 1.00) 36 46 (tile cache coverage 0, 0 2800 x 300) -
trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 302.00) 16 20 (visible rect 0.00, 0.00 502.00 x 302.00) 21 (coverage rect -58.00, -50.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 22 28 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 29 (visible rect 0.00, 0.00 500.00 x 300.00) 30 (coverage rect 0.00, 0.00 500.00 x 300.00) 31 (intersects coverage rect 1) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 27 35 (preserves3D 1) 28 36 (visible rect 0.00, 0.00 0.00 x 0.00) 37 (coverage rect 0.00, 0.00 500.00 x 300.00) 38 (intersects coverage rect 0) 29 39 (contentsScale 1.00) 30 40 (children 1 … … 38 48 (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00]) 39 49 (visible rect 0.00, 0.00 2800.00 x 300.00) 50 (coverage rect -1562500.00, -1562500.00 1563571.88 x 1562694.63) 51 (intersects coverage rect 1) 40 52 (contentsScale 1.00) 41 53 (tile cache coverage 0, 0 2800 x 300) -
trunk/LayoutTests/platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt
r180441 r183300 3 3 (bounds 1932.00 4150.00) 4 4 (visible rect 0.00, 0.00 785.00 x 585.00) 5 (coverage rect 0.00, 0.00 785.00 x 585.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 11 13 (transform [1.60 0.00 0.00 0.00] [0.00 1.60 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00]) 12 14 (visible rect 0.00, 0.00 490.63 x 365.63) 15 (coverage rect 0.00, 0.00 785.00 x 585.00) 16 (intersects coverage rect 1) 13 17 (contentsScale 1.60) 14 18 (children 1 … … 19 23 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 20 24 (visible rect 0.00, 0.00 482.63 x 357.63) 25 (coverage rect 0.00, 0.00 785.00 x 585.00) 26 (intersects coverage rect 1) 21 27 (contentsScale 1.60) 22 28 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/2d-transformed-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 202.00) 16 20 (visible rect 0.00, 0.00 502.00 x 202.00) 21 (coverage rect -8.00, -8.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 21 27 (bounds 500.00 200.00) 22 28 (visible rect 0.00, 0.00 500.00 x 200.00) 29 (coverage rect 0.00, 0.00 500.00 x 200.00) 30 (intersects coverage rect 1) 23 31 (contentsScale 1.00) 24 32 (children 3 … … 28 36 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-100.00 0.00 0.00 1.00]) 29 37 (visible rect 100.00, 0.00 100.00 x 200.00) 38 (coverage rect 100.00, 0.00 500.00 x 200.00) 39 (intersects coverage rect 1) 30 40 (contentsScale 1.00) 31 41 ) … … 35 45 (transform [0.71 0.71 0.00 0.00] [-0.71 0.71 0.00 0.00] [0.00 0.00 1.00 0.00] [150.00 0.00 0.00 1.00]) 36 46 (visible rect 0.00, 0.00 200.00 x 200.00) 47 (coverage rect 0.00, 0.00 500.00 x 200.00) 48 (intersects coverage rect 1) 37 49 (contentsScale 1.00) 38 50 ) … … 42 54 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [400.00 0.00 0.00 1.00]) 43 55 (visible rect 0.00, 0.00 100.00 x 200.00) 56 (coverage rect -400.00, 0.00 500.00 x 200.00) 57 (intersects coverage rect 1) 44 58 (contentsScale 1.00) 45 59 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/3d-transform-style-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 2 … … 15 19 (bounds 204.00 204.00) 16 20 (visible rect 0.00, 0.00 204.00 x 204.00) 21 (coverage rect -18.00, -10.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 22 28 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.07 0.07 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 29 (visible rect 0.00, 0.00 200.00 x 200.00) 30 (coverage rect 0.00, 0.00 200.00 x 200.00) 31 (intersects coverage rect 1) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 27 35 (preserves3D 1) 28 36 (visible rect 0.00, 0.00 0.00 x 0.00) 37 (coverage rect 0.00, 0.00 200.00 x 200.00) 38 (intersects coverage rect 0) 29 39 (contentsScale 1.00) 30 40 (children 1 … … 34 44 (transform [1.00 0.00 0.00 0.00] [0.00 0.91 0.42 0.00] [0.00 -0.42 0.91 0.00] [0.00 0.00 0.00 1.00]) 35 45 (visible rect 0.00, 0.00 213.67 x 200.68) 46 (coverage rect -4.32, -20.27 217.99 x 220.95) 47 (intersects coverage rect 1) 36 48 (contentsScale 1.00) 37 49 ) … … 46 58 (bounds 204.00 204.00) 47 59 (visible rect 0.00, 0.00 204.00 x 204.00) 60 (coverage rect -18.00, -224.00 800.00 x 600.00) 61 (intersects coverage rect 1) 48 62 (contentsScale 1.00) 49 63 (children 1 … … 53 67 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.07 0.07 1.00 -0.00] [0.00 0.00 0.00 1.00]) 54 68 (visible rect 0.00, 0.00 200.00 x 200.00) 69 (coverage rect 0.00, 0.00 200.00 x 200.00) 70 (intersects coverage rect 1) 55 71 (contentsScale 1.00) 56 72 (children 1 … … 58 74 (preserves3D 1) 59 75 (visible rect 0.00, 0.00 0.00 x 0.00) 76 (coverage rect 0.00, 0.00 200.00 x 200.00) 77 (intersects coverage rect 0) 60 78 (contentsScale 1.00) 61 79 (children 1 … … 65 83 (transform [0.91 0.00 0.42 0.00] [0.00 1.00 0.00 0.00] [-0.42 0.00 0.91 0.00] [0.00 0.00 0.00 1.00]) 66 84 (visible rect 0.00, 0.00 200.68 x 213.67) 85 (coverage rect -20.27, -4.32 220.95 x 217.99) 86 (intersects coverage rect 1) 67 87 (contentsScale 1.00) 68 88 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/3d-transformed-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 2 … … 15 19 (bounds 204.00 204.00) 16 20 (visible rect 0.00, 0.00 204.00 x 204.00) 21 (coverage rect -18.00, -10.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 22 28 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.07 0.07 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 29 (visible rect 0.00, 0.00 200.00 x 200.00) 30 (coverage rect 0.00, 0.00 200.00 x 200.00) 31 (intersects coverage rect 1) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 30 38 (transform [1.00 0.00 0.00 0.00] [0.00 0.71 0.71 0.00] [0.00 -0.71 0.71 0.00] [0.00 0.00 0.00 1.00]) 31 39 (visible rect 0.00, 0.00 220.62 x 218.46) 40 (coverage rect 0.00, 0.00 200.00 x 200.00) 41 (intersects coverage rect 1) 32 42 (contentsScale 1.00) 33 43 ) … … 40 50 (bounds 204.00 204.00) 41 51 (visible rect 0.00, 0.00 204.00 x 204.00) 52 (coverage rect -18.00, -224.00 800.00 x 600.00) 53 (intersects coverage rect 1) 42 54 (contentsScale 1.00) 43 55 (children 1 … … 47 59 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.07 0.07 1.00 -0.00] [0.00 0.00 0.00 1.00]) 48 60 (visible rect 0.00, 0.00 200.00 x 200.00) 61 (coverage rect 0.00, 0.00 200.00 x 200.00) 62 (intersects coverage rect 1) 49 63 (contentsScale 1.00) 50 64 (children 1 … … 55 69 (transform [0.71 0.00 0.71 0.00] [0.00 1.00 0.00 0.00] [-0.71 0.00 0.71 0.00] [0.00 0.00 0.00 1.00]) 56 70 (visible rect 0.00, 0.00 218.46 x 220.62) 71 (coverage rect 0.00, 0.00 200.00 x 200.00) 72 (intersects coverage rect 1) 57 73 (contentsScale 1.00) 58 74 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/animated-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 202.00) 16 20 (visible rect 0.00, 0.00 502.00 x 202.00) 21 (coverage rect -8.00, -8.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 21 27 (bounds 500.00 200.00) 22 28 (visible rect 0.00, 0.00 500.00 x 200.00) 29 (coverage rect 0.00, 0.00 500.00 x 200.00) 30 (intersects coverage rect 1) 23 31 (contentsScale 1.00) 24 32 (children 1 … … 28 36 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-100.00 0.00 0.00 1.00]) 29 37 (visible rect 100.00, 0.00 100.00 x 200.00) 38 (coverage rect 100.00, 0.00 500.00 x 200.00) 39 (intersects coverage rect 1) 30 40 (contentsScale 1.00) 31 41 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/animated-from-none-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 202.00) 16 20 (visible rect 0.00, 0.00 502.00 x 202.00) 21 (coverage rect -8.00, -8.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 21 27 (bounds 500.00 200.00) 22 28 (visible rect 0.00, 0.00 500.00 x 200.00) 29 (coverage rect 0.00, 0.00 500.00 x 200.00) 30 (intersects coverage rect 1) 23 31 (contentsScale 1.00) 24 32 (children 1 … … 28 36 (contentsOpaque 1) 29 37 (visible rect 100.00, 0.00 100.00 x 200.00) 38 (coverage rect 100.00, 0.00 500.00 x 200.00) 39 (intersects coverage rect 1) 30 40 (contentsScale 1.00) 31 41 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/clipped-by-viewport-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 2 … … 17 21 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 18 22 (visible rect 100.00, 120.00 100.00 x 80.00) 23 (coverage rect 0.00, 0.00 800.00 x 600.00) 24 (intersects coverage rect 1) 19 25 (contentsScale 1.00) 20 26 ) … … 25 31 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 26 32 (visible rect 100.00, 0.00 100.00 x 200.00) 33 (coverage rect 0.00, 0.00 800.00 x 600.00) 34 (intersects coverage rect 1) 27 35 (contentsScale 1.00) 28 36 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt
r180441 r183300 3 3 (bounds 800.00 600.00) 4 4 (visible rect 0.00, 0.00 800.00 x 600.00) 5 (coverage rect 0.00, 0.00 800.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 800.00 x 600.00) 13 (coverage rect 0.00, 0.00 800.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 15 19 (bounds 502.00 202.00) 16 20 (visible rect 0.00, 0.00 502.00 x 202.00) 21 (coverage rect -8.00, -8.00 800.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 21 27 (bounds 500.00 200.00) 22 28 (visible rect 0.00, 0.00 500.00 x 200.00) 29 (coverage rect 0.00, 0.00 500.00 x 200.00) 30 (intersects coverage rect 1) 23 31 (contentsScale 1.00) 24 32 (children 3 … … 29 37 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 30 38 (visible rect 100.00, 0.00 100.00 x 200.00) 39 (coverage rect 0.00, 0.00 500.00 x 200.00) 40 (intersects coverage rect 1) 31 41 (contentsScale 1.00) 32 42 ) … … 37 47 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 38 48 (visible rect 0.00, 0.00 200.00 x 200.00) 49 (coverage rect 0.00, 0.00 500.00 x 200.00) 50 (intersects coverage rect 1) 39 51 (contentsScale 1.00) 40 52 ) … … 45 57 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 46 58 (visible rect 0.00, 0.00 100.00 x 200.00) 59 (coverage rect 0.00, 0.00 500.00 x 200.00) 60 (intersects coverage rect 1) 47 61 (contentsScale 1.00) 48 62 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt
r168244 r183300 9 9 (bounds 785.00 615.00) 10 10 (visible rect 0.00, 0.00 785.00 x 600.00) 11 (coverage rect 0.00, 0.00 785.00 x 600.00) 12 (intersects coverage rect 1) 11 13 (contentsScale 1.00) 12 14 (children 1 … … 15 17 (contentsOpaque 1) 16 18 (visible rect 0.00, 0.00 785.00 x 600.00) 19 (coverage rect 0.00, 0.00 785.00 x 600.00) 20 (intersects coverage rect 1) 17 21 (contentsScale 1.00) 18 22 (children 1 … … 22 26 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 27 (visible rect 0.00, 0.00 602.00 x 587.00) 28 (coverage rect 0.00, -13.00 785.00 x 600.00) 29 (intersects coverage rect 1) 24 30 (contentsScale 1.00) 25 31 (children 1 … … 31 37 (transform [-1.00 0.00 -0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 -1.00 0.00] [0.00 0.00 0.00 1.00]) 32 38 (visible rect 0.00, 0.00 440.00 x 440.00) 39 (coverage rect -184.00, -114.00 785.00 x 600.00) 40 (intersects coverage rect 1) 33 41 (contentsScale 1.00) 34 42 (children 1 … … 38 46 (transform [-1.00 0.00 -0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 -1.00 0.00] [0.00 0.00 0.00 1.00]) 39 47 (visible rect 0.00, 0.00 420.00 x 420.00) 48 (coverage rect -181.00, -114.00 785.00 x 600.00) 49 (intersects coverage rect 1) 40 50 (contentsScale 1.00) 41 51 (children 1 … … 43 53 (bounds 420.00 420.00) 44 54 (visible rect 0.00, 0.00 420.00 x 420.00) 55 (coverage rect 0.00, 0.00 420.00 x 420.00) 56 (intersects coverage rect 1) 45 57 (contentsScale 1.00) 46 58 (children 1 … … 50 62 (contentsOpaque 1) 51 63 (visible rect 0.00, 90.00 418.00 x 420.00) 64 (coverage rect 0.00, 90.00 420.00 x 420.00) 65 (intersects coverage rect 1) 52 66 (contentsScale 1.00) 53 67 (children 1 … … 55 69 (bounds 418.00 510.00) 56 70 (visible rect 0.00, 90.00 418.00 x 420.00) 71 (coverage rect 0.00, 90.00 418.00 x 420.00) 72 (intersects coverage rect 1) 57 73 (contentsScale 1.00) 58 74 (children 3 … … 64 80 (drawsContent 1) 65 81 (visible rect 3000.00, 90.00 418.00 x 30.00) 82 (coverage rect 3000.00, 90.00 418.00 x 420.00) 83 (intersects coverage rect 1) 66 84 (contentsScale 1.00) 67 85 ) … … 73 91 (drawsContent 1) 74 92 (visible rect 3000.00, 0.00 418.00 x 120.00) 93 (coverage rect 3000.00, -30.00 418.00 x 420.00) 94 (intersects coverage rect 1) 75 95 (contentsScale 1.00) 76 96 ) … … 82 102 (drawsContent 1) 83 103 (visible rect 3000.00, 0.00 418.00 x 120.00) 104 (coverage rect 3000.00, -150.00 418.00 x 420.00) 105 (intersects coverage rect 1) 84 106 (contentsScale 1.00) 85 107 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt
r180441 r183300 4 4 (bounds 1508.00 1516.00) 5 5 (visible rect 0.00, 0.00 785.00 x 585.00) 6 (coverage rect 0.00, 0.00 785.00 x 585.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 10 12 (contentsOpaque 1) 11 13 (visible rect 0.00, 0.00 785.00 x 585.00) 14 (coverage rect 0.00, 0.00 785.00 x 585.00) 15 (intersects coverage rect 1) 12 16 (contentsScale 1.00) 13 17 (children 2 … … 17 21 (drawsContent 1) 18 22 (visible rect 0.00, 0.00 360.00 x 210.00) 23 (coverage rect -10.00, -10.00 785.00 x 585.00) 24 (intersects coverage rect 1) 19 25 (contentsScale 1.00) 20 26 (children 1 … … 22 28 (position 30.00 30.00) 23 29 (visible rect 0.00, 0.00 0.00 x 0.00) 30 (coverage rect -40.00, -40.00 785.00 x 585.00) 31 (intersects coverage rect 0) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 28 36 (bounds 285.00 135.00) 29 37 (visible rect 0.00, 0.00 285.00 x 135.00) 38 (coverage rect 0.00, 0.00 285.00 x 135.00) 39 (intersects coverage rect 1) 30 40 (contentsScale 1.00) 31 41 (children 1 32 42 (GraphicsLayer 33 43 (visible rect 0.00, 0.00 0.00 x 0.00) 44 (coverage rect 0.00, 0.00 285.00 x 135.00) 45 (intersects coverage rect 0) 34 46 (contentsScale 1.00) 35 47 (children 1 … … 38 50 (bounds 1508.00 1516.00) 39 51 (visible rect 0.00, 0.00 285.00 x 135.00) 52 (coverage rect 0.00, 0.00 285.00 x 135.00) 53 (intersects coverage rect 1) 40 54 (contentsScale 1.00) 41 55 (children 1 … … 44 58 (drawsContent 1) 45 59 (visible rect 0.00, 0.00 285.00 x 135.00) 60 (coverage rect 0.00, 0.00 285.00 x 135.00) 61 (intersects coverage rect 1) 46 62 (contentsScale 1.00) 47 63 (children 1 … … 53 69 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 54 70 (visible rect 0.00, 0.00 100.00 x 127.00) 71 (coverage rect 0.00, 0.00 285.00 x 135.00) 72 (intersects coverage rect 1) 55 73 (contentsScale 1.00) 56 74 ) … … 73 91 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 74 92 (visible rect 0.00, 0.00 200.00 x 200.00) 93 (coverage rect 0.00, 0.00 785.00 x 585.00) 94 (intersects coverage rect 1) 75 95 (contentsScale 1.00) 76 96 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt
r180441 r183300 4 4 (bounds 1508.00 1516.00) 5 5 (visible rect 10.00, 100.00 285.00 x 135.00) 6 (coverage rect 10.00, 100.00 285.00 x 135.00) 7 (intersects coverage rect 1) 6 8 (contentsScale 1.00) 7 9 (children 1 … … 9 11 (bounds 1508.00 1516.00) 10 12 (visible rect 10.00, 100.00 285.00 x 135.00) 13 (coverage rect 10.00, 100.00 285.00 x 135.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 18 22 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 19 23 (visible rect 2.00, 92.00 98.00 x 135.00) 24 (coverage rect 10.00, 100.00 285.00 x 135.00) 25 (intersects coverage rect 1) 20 26 (contentsScale 1.00) 21 27 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/nested-transform-expected.txt
r180441 r183300 3 3 (bounds 785.00 669.00) 4 4 (visible rect 0.00, 0.00 785.00 x 600.00) 5 (coverage rect 0.00, 0.00 785.00 x 600.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 0.00, 0.00 785.00 x 600.00) 13 (coverage rect 0.00, 0.00 785.00 x 600.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 2 … … 15 19 (bounds 304.00 304.00) 16 20 (visible rect 0.00, 0.00 304.00 x 304.00) 21 (coverage rect -18.00, -10.00 785.00 x 600.00) 22 (intersects coverage rect 1) 17 23 (contentsScale 1.00) 18 24 (children 1 … … 22 28 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.26 0.26 1.00 -0.00] [0.00 0.00 0.00 1.00]) 23 29 (visible rect 0.00, 0.00 300.00 x 300.00) 30 (coverage rect 0.00, 0.00 300.00 x 300.00) 31 (intersects coverage rect 1) 24 32 (contentsScale 1.00) 25 33 (children 1 … … 29 37 (transform [0.94 0.00 -0.34 0.00] [0.00 1.00 0.00 0.00] [0.34 0.00 0.94 0.00] [0.00 0.00 0.00 1.00]) 30 38 (visible rect 0.00, 0.00 0.00 x 0.00) 39 (coverage rect -2.95, -8.50 360.07 x 353.13) 40 (intersects coverage rect 0) 31 41 (contentsScale 1.00) 32 42 (children 1 … … 36 46 (transform [0.94 0.00 -0.34 0.00] [0.00 1.00 0.00 0.00] [0.34 0.00 0.94 0.00] [0.00 0.00 0.00 1.00]) 37 47 (visible rect 0.00, 0.00 0.00 x 0.00) 48 (coverage rect -27.90, -32.04 593.31 x 500.27) 49 (intersects coverage rect 0) 38 50 (contentsScale 1.00) 39 51 (children 1 … … 43 55 (transform [1.00 0.00 0.00 0.00] [0.00 0.82 0.57 0.00] [0.00 -0.57 0.82 0.00] [0.00 0.00 0.00 1.00]) 44 56 (visible rect 0.00, 0.00 500.00 x 369.91) 57 (coverage rect -21.28, -198.73 1388.86 x 568.64) 58 (intersects coverage rect 1) 45 59 (contentsScale 1.00) 46 60 ) … … 57 71 (bounds 304.00 304.00) 58 72 (visible rect 0.00, 0.00 304.00 x 276.00) 73 (coverage rect -18.00, -324.00 785.00 x 600.00) 74 (intersects coverage rect 1) 59 75 (contentsScale 1.00) 60 76 (children 1 … … 64 80 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.26 0.26 1.00 -0.00] [0.00 0.00 0.00 1.00]) 65 81 (visible rect 0.00, 0.00 300.00 x 274.00) 82 (coverage rect 0.00, 0.00 300.00 x 274.00) 83 (intersects coverage rect 1) 66 84 (contentsScale 1.00) 67 85 (children 1 … … 70 88 (preserves3D 1) 71 89 (visible rect 0.00, 0.00 0.00 x 0.00) 90 (coverage rect 0.00, 0.00 300.00 x 274.00) 91 (intersects coverage rect 0) 72 92 (contentsScale 1.00) 73 93 (children 1 … … 77 97 (transform [0.77 0.00 -0.64 0.00] [0.00 1.00 0.00 0.00] [0.64 0.00 0.77 0.00] [0.00 0.00 0.00 1.00]) 78 98 (visible rect 0.00, 0.00 0.00 x 0.00) 99 (coverage rect -27.90, -32.04 593.31 x 456.91) 100 (intersects coverage rect 0) 79 101 (contentsScale 1.00) 80 102 (children 1 … … 84 106 (transform [1.00 0.00 0.00 0.00] [0.00 0.82 0.57 0.00] [0.00 -0.57 0.82 0.00] [0.00 0.00 0.00 1.00]) 85 107 (visible rect 0.00, 0.00 500.00 x 351.87) 108 (coverage rect -15.25, -198.73 1382.84 x 550.60) 109 (intersects coverage rect 1) 86 110 (contentsScale 1.00) 87 111 ) -
trunk/LayoutTests/platform/mac/compositing/visible-rect/scrolled-expected.txt
r180441 r183300 3 3 (bounds 1508.00 2008.00) 4 4 (visible rect 25.00, 200.00 785.00 x 585.00) 5 (coverage rect 25.00, 200.00 785.00 x 585.00) 6 (intersects coverage rect 1) 5 7 (contentsScale 1.00) 6 8 (children 1 … … 9 11 (contentsOpaque 1) 10 12 (visible rect 25.00, 200.00 785.00 x 585.00) 13 (coverage rect 25.00, 200.00 785.00 x 585.00) 14 (intersects coverage rect 1) 11 15 (contentsScale 1.00) 12 16 (children 1 … … 17 21 (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00]) 18 22 (visible rect 17.00, 200.00 183.00 x 300.00) 23 (coverage rect 25.00, 200.00 785.00 x 585.00) 24 (intersects coverage rect 1) 19 25 (contentsScale 1.00) 20 26 ) -
trunk/Source/WebCore/ChangeLog
r183295 r183300 1 2015-04-24 Simon Fraser <simon.fraser@apple.com> 2 3 Track a coverage rect through GraphicsLayerCA flushes, use it to mark backing store attached 4 https://bugs.webkit.org/show_bug.cgi?id=144165 5 6 Reviewed by Dean Jackson. 7 8 Push in the clipRect as the secondary rect when doing a GraphicsLayerCA flush, 9 which maps this rect through all the layers. Each layer tests intersection with 10 this rect to determine if its backing store should be attached. 11 12 This will cause us to drop backing store for layers that don't intersect the 13 visible part of the view, which is too aggressive. A future patch will add 14 some padding. 15 16 Tests: compositing/visible-rect/coverage-clipped.html 17 compositing/visible-rect/coverage-scrolling.html 18 19 * platform/graphics/ca/GraphicsLayerCA.cpp: 20 (WebCore::GraphicsLayerCA::GraphicsLayerCA): Remove initialization of things with 21 C++11 initializers. Initialize the new m_intersectsCoverageRect bit. 22 (WebCore::GraphicsLayerCA::flushCompositingState): Push the clipRect in as the 23 secondary coverage rect. A future patch will inflate this on the way down the tree. 24 (WebCore::GraphicsLayerCA::computeVisibleRect): If we're clipping, and 25 we have a secondary coverage rect, that rect can be clipped to us too. 26 (WebCore::GraphicsLayerCA::setVisibleAndCoverageRects): 27 (WebCore::GraphicsLayerCA::recursiveCommitChanges): 28 (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): 29 (WebCore::GraphicsLayerCA::updateBackingStoreAttachment): 30 (WebCore::GraphicsLayerCA::dumpAdditionalProperties): 31 * platform/graphics/ca/GraphicsLayerCA.h: New CoverageRectChanged bit. 32 Use more C++11 initializers. 33 (WebCore::GraphicsLayerCA::coverageRect): 34 1 35 2015-04-24 Dean Jackson <dino@apple.com> 2 36 -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
r183274 r183300 352 352 GraphicsLayerCA::GraphicsLayerCA(Type layerType, GraphicsLayerClient& client) 353 353 : GraphicsLayer(layerType, client) 354 , m_contentsLayerPurpose(NoContentsLayer)355 354 , m_needsFullRepaint(false) 356 355 , m_usingBackdropLayerType(false) 357 , m_uncommittedChanges(0) 358 , m_isCommittingChanges(false) 356 , m_intersectsCoverageRect(true) 359 357 { 360 358 } … … 1078 1076 { 1079 1077 TransformState state(TransformState::UnapplyInverseTransformDirection, FloatQuad(clipRect)); 1078 FloatQuad coverageQuad(clipRect); 1079 state.setSecondaryQuad(&coverageQuad); 1080 1080 recursiveCommitChanges(CommitState(), state); 1081 1081 } … … 1212 1212 state.flatten(); 1213 1213 state.setQuad(clipRectForSelf); 1214 if (state.lastPlanarSecondaryQuad()) { 1215 FloatQuad secondaryQuad(clipRectForSelf); 1216 state.setSecondaryQuad(&secondaryQuad); 1217 } 1214 1218 } 1215 1219 … … 1217 1221 } 1218 1222 1219 // rootRelativeTransformForScaling is a transform from the root, but for layers with transform animations, it cherry-picked the state of the 1220 // animation that contributes maximally to the scale (on every layer with animations down the hierarchy). 1221 void GraphicsLayerCA::recursiveCommitChanges(const CommitState& commitState, const TransformState& state, float pageScaleFactor, const FloatPoint& positionRelativeToBase, bool affectedByPageScale) 1222 { 1223 TransformState localState = state; 1224 CommitState childCommitState = commitState; 1225 bool affectedByTransformAnimation = commitState.ancestorHasTransformAnimation; 1226 1227 FloatRect visibleRect = computeVisibleRect(localState); 1228 FloatRect oldVisibleRect = m_visibleRect; 1229 if (visibleRect != m_visibleRect) { 1223 void GraphicsLayerCA::setVisibleAndCoverageRects(const FloatRect& visibleRect, const FloatRect& coverageRect) 1224 { 1225 bool visibleRectChanged = visibleRect != m_visibleRect; 1226 bool coverageRectChanged = coverageRect != m_coverageRect; 1227 if (!visibleRectChanged && !coverageRectChanged) 1228 return; 1229 1230 if (visibleRectChanged) { 1230 1231 m_uncommittedChanges |= VisibleRectChanged; 1231 1232 m_visibleRect = visibleRect; … … 1237 1238 } 1238 1239 } 1240 1241 if (coverageRectChanged) { 1242 m_uncommittedChanges |= CoverageRectChanged; 1243 m_coverageRect = coverageRect; 1244 1245 // FIXME: we need to take reflections into account when determining whether this layer intersects the coverage rect. 1246 m_intersectsCoverageRect = m_coverageRect.intersects(FloatRect(m_boundsOrigin, size())); 1247 1248 if (GraphicsLayerCA* maskLayer = downcast<GraphicsLayerCA>(m_maskLayer)) { 1249 maskLayer->m_uncommittedChanges |= CoverageRectChanged; 1250 maskLayer->m_coverageRect = coverageRect; 1251 } 1252 } 1253 } 1254 1255 // rootRelativeTransformForScaling is a transform from the root, but for layers with transform animations, it cherry-picked the state of the 1256 // animation that contributes maximally to the scale (on every layer with animations down the hierarchy). 1257 void GraphicsLayerCA::recursiveCommitChanges(const CommitState& commitState, const TransformState& state, float pageScaleFactor, const FloatPoint& positionRelativeToBase, bool affectedByPageScale) 1258 { 1259 TransformState localState = state; 1260 CommitState childCommitState = commitState; 1261 bool affectedByTransformAnimation = commitState.ancestorHasTransformAnimation; 1262 1263 FloatRect visibleRect = computeVisibleRect(localState); 1264 FloatRect coverageRect = visibleRect; 1265 if (std::unique_ptr<FloatQuad> quad = localState.mappedSecondaryQuad()) 1266 coverageRect = quad->boundingBox(); 1267 1268 FloatRect oldVisibleRect = m_visibleRect; 1269 setVisibleAndCoverageRects(visibleRect, coverageRect); 1239 1270 1240 1271 #ifdef VISIBLE_TILE_WASH … … 1458 1489 if (m_uncommittedChanges & VisibleRectChanged) 1459 1490 updateVisibleRect(oldVisibleRect); 1491 1492 if (m_uncommittedChanges & CoverageRectChanged) 1493 updateBackingStoreAttachment(); 1460 1494 1461 1495 if (m_uncommittedChanges & TilingAreaChanged) // Needs to happen after VisibleRectChanged, ContentsScaleChanged … … 1929 1963 it->value->setContents(0); 1930 1964 } 1965 } 1966 } 1967 1968 void GraphicsLayerCA::updateBackingStoreAttachment() 1969 { 1970 m_layer->setBackingStoreAttached(m_intersectsCoverageRect); 1971 if (m_layerClones) { 1972 LayerMap::const_iterator end = m_layerClones->end(); 1973 for (LayerMap::const_iterator it = m_layerClones->begin(); it != end; ++it) 1974 it->value->setBackingStoreAttached(m_intersectsCoverageRect); 1931 1975 } 1932 1976 } … … 3134 3178 } 3135 3179 3136 3137 3180 static void dumpInnerLayer(TextStream& textStream, String label, PlatformCALayer* layer, int indent, LayerTreeAsTextBehavior behavior) 3138 3181 { … … 3153 3196 writeIndent(textStream, indent + 1); 3154 3197 textStream << "(visible rect " << m_visibleRect.x() << ", " << m_visibleRect.y() << " " << m_visibleRect.width() << " x " << m_visibleRect.height() << ")\n"; 3198 3199 writeIndent(textStream, indent + 1); 3200 textStream << "(coverage rect " << m_coverageRect.x() << ", " << m_coverageRect.y() << " " << m_coverageRect.width() << " x " << m_coverageRect.height() << ")\n"; 3201 3202 writeIndent(textStream, indent + 1); 3203 textStream << "(intersects coverage rect " << m_intersectsCoverageRect << ")\n"; 3155 3204 3156 3205 writeIndent(textStream, indent + 1); -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
r183274 r183300 277 277 typedef unsigned ComputeVisibleRectFlags; 278 278 FloatRect computeVisibleRect(TransformState&, ComputeVisibleRectFlags = RespectAnimatingTransforms) const; 279 279 280 const FloatRect& visibleRect() const { return m_visibleRect; } 281 const FloatRect& coverageRect() const { return m_coverageRect; } 282 283 void setVisibleAndCoverageRects(const FloatRect& visibleRect, const FloatRect& coverageRect); 280 284 281 285 static FloatRect adjustTiledLayerVisibleRect(TiledBacking*, const FloatRect& oldVisibleRect, const FloatRect& newVisibleRect, const FloatSize& oldSize, const FloatSize& newSize); … … 448 452 ContentsVisibilityChanged = 1LLU << 25, 449 453 VisibleRectChanged = 1LLU << 26, 450 FiltersChanged = 1LLU << 27, 451 BackdropFiltersChanged = 1LLU << 28, 452 TilingAreaChanged = 1LLU << 29, 453 TilesAdded = 1LLU << 30, 454 DebugIndicatorsChanged = 1LLU << 31, 455 CustomAppearanceChanged = 1LLU << 32, 456 BlendModeChanged = 1LLU << 33, 457 ShapeChanged = 1LLU << 34, 458 WindRuleChanged = 1LLU << 35, 454 CoverageRectChanged = 1LLU << 27, 455 FiltersChanged = 1LLU << 28, 456 BackdropFiltersChanged = 1LLU << 29, 457 TilingAreaChanged = 1LLU << 30, 458 TilesAdded = 1LLU << 31, 459 DebugIndicatorsChanged = 1LLU << 32, 460 CustomAppearanceChanged = 1LLU << 33, 461 BlendModeChanged = 1LLU << 34, 462 ShapeChanged = 1LLU << 35, 463 WindRuleChanged = 1LLU << 36, 459 464 }; 460 465 typedef uint64_t LayerChangeFlags; … … 489 494 FloatRect m_visibleRect; 490 495 FloatSize m_sizeAtLastVisibleRectUpdate; 491 492 ContentsLayerPurpose m_contentsLayerPurpose; 496 497 FloatRect m_coverageRect; // Area for which we should maintain backing store, in the coordinate space of this layer. 498 499 ContentsLayerPurpose m_contentsLayerPurpose { NoContentsLayer }; 493 500 bool m_needsFullRepaint : 1; 494 501 bool m_usingBackdropLayerType : 1; 502 bool m_intersectsCoverageRect : 1; 495 503 496 504 Color m_contentsSolidColor; … … 543 551 FloatSize m_pixelAlignmentOffset; 544 552 545 LayerChangeFlags m_uncommittedChanges ;546 bool m_isCommittingChanges ;553 LayerChangeFlags m_uncommittedChanges { 0 }; 554 bool m_isCommittingChanges { false }; 547 555 }; 548 556
Note:
See TracChangeset
for help on using the changeset viewer.