Changeset 167792 in webkit
- Timestamp:
- Apr 24, 2014 11:28:33 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r167788 r167792 1 2014-04-24 Andreas Kling <akling@apple.com> 2 3 [iOS WebKit2] RemoteLayerTreeDrawingArea should force CA to garbage collect surfaces. 4 <https://webkit.org/b/132160> 5 <rdar://problem/16110687> 6 7 Do an empty CATransaction at the end of RemoteLayerTreeDrawingArea::flushLayers() 8 to get CA to garbage collect its IOSurfaces. This helps clean up unused surfaces 9 that we'd otherwise end up hanging on to for a long time. 10 11 Reviewed by Tim Horton. 12 13 * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm: 14 (WebKit::RemoteLayerTreeDrawingArea::didUpdate): 15 1 16 2014-04-24 Commit Queue <commit-queue@webkit.org> 2 17 -
trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm
r167740 r167792 43 43 #import <WebCore/Settings.h> 44 44 #import <WebCore/TiledBacking.h> 45 #import <QuartzCore/QuartzCore.h> 45 46 46 47 using namespace WebCore; … … 296 297 m_hadFlushDeferredWhileWaitingForBackingStoreSwap = false; 297 298 } 299 300 // This empty transaction serves to trigger CA's garbage collection of IOSurfaces. See <rdar://problem/16110687> 301 [CATransaction begin]; 302 [CATransaction commit]; 298 303 } 299 304
Note: See TracChangeset
for help on using the changeset viewer.