TiledBackingStore: When checking if the visible area is covered, only convert to scaled coordinates once.
Created attachment 132599 [details] Patch
Committed r111560: <http://trac.webkit.org/changeset/111560>
This test: compositing/geometry/preserve-3d-switching.html fails(timeout) on x86-32 Linux Qt version. After this patch these tests keep crashing: compositing/geometry/layer-due-to-layer-children.html compositing/geometry/repaint-foreground-layer.html. So this bug should be reopened. --- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/compositing/geometry/preserve-3d-switching-expected.txt +++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/compositing/geometry/preserve-3d-switching-actual.txt @@ -1,39 +1,1 @@ -The green box appear angled out from the yellow box and embedded in it. - --webkit-transform: translateZ(-100px) rotateY(45deg); -(GraphicsLayer - (bounds 800.00 600.00) - (children 1 - (GraphicsLayer - (bounds 800.00 600.00) - (children 1 - (GraphicsLayer - (position 108.00 74.00) - (bounds 304.00 304.00) - (drawsContent 1) - (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]) - (children 1 - (GraphicsLayer - (position 12.00 12.00) - (bounds 280.00 280.00) - (opacity 0.80) - (preserves3D 1) - (drawsContent 1) - (transform [0.77 -0.56 -0.32 0.00] [0.00 0.50 -0.87 0.00] [0.64 0.66 0.38 0.00] [0.00 0.00 0.00 1.00]) - (children 1 - (GraphicsLayer - (position 40.00 40.00) - (bounds 200.00 200.00) - (opacity 0.70) - (drawsContent 1) - (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 50.00 1.00]) - ) - ) - ) - ) - ) - ) - ) - ) -) - +Timed out waiting for final message from web process
Reopen based on Comment #3
Skipped on Qt WK2 - http://trac.webkit.org/changeset/111711/trunk/LayoutTests/platform/qt-5.0-wk2/Skipped Please unskip with the proper fix.
Committed r111735: <http://trac.webkit.org/changeset/111735>
Should be fixed now, thanks for finding it out. I couldn't reproduce the crash on the two other tests but they were probably caused by the same problem so I unskipped them too.