Bug 176196

Summary: Simplify compositing layer updating
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, clopez, commit-queue, jlewis3, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 177267    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews126 for ios-simulator-wk2
none
Patch none

Simon Fraser (smfr)
Reported 2017-08-31 16:53:11 PDT
Simplify compositing layer updating
Attachments
Patch (13.94 KB, patch)
2017-08-31 16:57 PDT, Simon Fraser (smfr)
no flags
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1.58 MB, application/zip)
2017-08-31 18:10 PDT, Build Bot
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (1.28 MB, application/zip)
2017-08-31 18:34 PDT, Build Bot
no flags
Patch (16.26 KB, patch)
2017-09-19 20:39 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2017-08-31 16:57:41 PDT
Build Bot
Comment 2 2017-08-31 18:10:33 PDT
Comment on attachment 319541 [details] Patch Attachment 319541 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/4420508 New failing tests: tiled-drawing/background-transparency-toggle.html
Build Bot
Comment 3 2017-08-31 18:10:35 PDT
Created attachment 319558 [details] Archive of layout-test-results from ews106 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 4 2017-08-31 18:34:56 PDT
Comment on attachment 319541 [details] Patch Attachment 319541 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/4420557 New failing tests: scrollingcoordinator/ios/sync-layer-positions-after-scroll.html
Build Bot
Comment 5 2017-08-31 18:34:57 PDT
Created attachment 319560 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Simon Fraser (smfr)
Comment 6 2017-09-19 20:39:01 PDT
WebKit Commit Bot
Comment 7 2017-09-19 23:16:47 PDT
Comment on attachment 321285 [details] Patch Clearing flags on attachment: 321285 Committed r222254: <http://trac.webkit.org/changeset/222254>
WebKit Commit Bot
Comment 8 2017-09-19 23:16:49 PDT
All reviewed patches have been landed. Closing bug.
Matt Lewis
Comment 9 2017-09-20 13:38:33 PDT
This revision has caused the test fast/images/animated-gif-webkit-transform.html to start timing out on all platforms at a high rate. I was able to reproduce the failure with run-webkit-tests fast/images/ -f --guard-malloc --iterations=10 --no-retry-failure https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r222273%20(4605)/results.html Diff: --- /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/fast/images/animated-gif-webkit-transform-expected.txt +++ /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/fast/images/animated-gif-webkit-transform-actual.txt @@ -1,18 +1,3 @@ -Test that animated images are correctly paused / resumed when translated in and out of view using -webkit-transform. +#PID UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 81962) +FAIL: Timed out waiting for notifyDone to be called -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -PASS isFirstImagePaused() became false -PASS isSecondImagePaused() became true -PASS isFirstImagePaused() is false -Translating images left so that first image is no longer visible, but second image is. -PASS isFirstImagePaused() became true -PASS isSecondImagePaused() became false -Translating images right so that second image is no longer visible, but first image is. -PASS isFirstImagePaused() became false -PASS isSecondImagePaused() became true -PASS successfullyParsed is true - -TEST COMPLETE -
WebKit Commit Bot
Comment 10 2017-09-20 13:58:56 PDT
Re-opened since this is blocked by bug 177267
Simon Fraser (smfr)
Comment 11 2017-09-22 13:24:05 PDT
I think this was a performance regression because before the change, we only call RLB::updateGeomery on layers that get a style change, but after the change, we call it on all layers since we do a compositing tree walk every frame.
Simon Fraser (smfr)
Comment 12 2018-12-01 11:09:09 PST
Done as part of the incremental compositing changes.
Radar WebKit Bug Importer
Comment 13 2018-12-01 11:10:32 PST
Note You need to log in before you can comment on or make changes to this bug.