RESOLVED FIXED 134189
[wk2] Synchronously wait a short time for a layer tree update after bringing a web view in-window
https://bugs.webkit.org/show_bug.cgi?id=134189
Summary [wk2] Synchronously wait a short time for a layer tree update after bringing ...
Tim Horton
Reported 2014-06-23 02:01:55 PDT
So that we don't flash white because of the unparented layer tree. We can probably short-circuit this sometimes if we have view snapshots, but that is a future optimization.
Attachments
patch (27.13 KB, patch)
2014-06-23 02:48 PDT, Tim Horton
simon.fraser: review+
Tim Horton
Comment 1 2014-06-23 02:48:15 PDT
Tim Horton
Comment 2 2014-06-23 12:39:49 PDT
This won't apply because it's on top of https://bugs.webkit.org/show_bug.cgi?id=134004
Simon Fraser (smfr)
Comment 3 2014-06-23 13:53:37 PDT
Comment on attachment 233589 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=233589&action=review > Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:327 > + auto viewStateUpdateTimeout = std::chrono::milliseconds(500); 500 vs... > Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm:132 > + auto viewStateUpdateTimeout = std::chrono::milliseconds(250); 250? > Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:124 > + static PassRefPtr<BackingStoreFlusher> create(FlushingContext); Did you mean to pass by value? > Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:320 > + BackingStoreFlusher::FlushingContext flushingContext; I can has constructor?
Tim Horton
Comment 4 2014-06-23 14:33:39 PDT
Radar WebKit Bug Importer
Comment 5 2014-06-23 14:34:38 PDT
Note You need to log in before you can comment on or make changes to this bug.