Changeset 112457 in webkit
- Timestamp:
- Mar 28, 2012 3:32:20 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r112415 r112457 1 2012-03-28 Anders Carlsson <andersca@apple.com> 2 3 Massive lag opening a link in a new background tab 4 https://bugs.webkit.org/show_bug.cgi?id=82542 5 <rdar://problem/11004502> 6 7 Reviewed by Sam Weinig. 8 9 Defer waiting for the web process to update the page size until we're actually going to display the layer. 10 This matches what we do in the non-tiled code path. 11 12 * UIProcess/API/mac/WKView.mm: 13 (-[WKView setFrameSize:]): 14 (-[WKView updateLayer]): 15 * UIProcess/DrawingAreaProxy.h: 16 (WebKit::DrawingAreaProxy::waitForPossibleGeometryUpdate): 17 * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: 18 (TiledCoreAnimationDrawingAreaProxy): 19 * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: 20 (WebKit::TiledCoreAnimationDrawingAreaProxy::sizeDidChange): 21 (WebKit): 22 (WebKit::TiledCoreAnimationDrawingAreaProxy::waitForPossibleGeometryUpdate): 23 1 24 2012-03-28 Anders Carlsson <andersca@apple.com> 2 25 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r112415 r112457 2925 2925 { 2926 2926 self.layer.backgroundColor = CGColorGetConstantColor(kCGColorWhite); 2927 _data->_page->drawingArea()->waitForPossibleGeometryUpdate(); 2927 2928 } 2928 2929 #endif -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h
r111001 r112457 85 85 86 86 virtual void pageCustomRepresentationChanged() { } 87 virtual void waitForPossibleGeometryUpdate() { } 87 88 88 89 #if USE(UI_SIDE_COMPOSITING) -
trunk/Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h
r109804 r112457 44 44 virtual void layerHostingModeDidChange() OVERRIDE; 45 45 virtual void sizeDidChange() OVERRIDE; 46 virtual void waitForPossibleGeometryUpdate() OVERRIDE; 46 47 47 48 virtual void enterAcceleratedCompositingMode(uint64_t backingStoreStateID, const LayerTreeContext&) OVERRIDE; -
trunk/Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm
r109804 r112457 73 73 74 74 sendUpdateGeometry(); 75 } 76 77 void TiledCoreAnimationDrawingAreaProxy::waitForPossibleGeometryUpdate() 78 { 79 if (!m_isWaitingForDidUpdateGeometry) 80 return; 75 81 76 82 if (m_webPageProxy->process()->isLaunching())
Note: See TracChangeset
for help on using the changeset viewer.