Changeset 230030 in webkit
- Timestamp:
- Mar 28, 2018 9:10:04 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r230029 r230030 1 2018-03-28 Tim Horton <timothy_horton@apple.com> 2 3 Make use of HAVE(CORE_ANIMATION_RENDER_SERVER) in more places 4 https://bugs.webkit.org/show_bug.cgi?id=184072 5 <rdar://problem/38946530> 6 7 Reviewed by Dan Bernstein. 8 9 * Platform/mac/LayerHostingContext.mm: 10 (WebKit::LayerHostingContext::createForExternalHostingProcess): 11 * UIProcess/mac/ViewSnapshotStore.h: 12 * UIProcess/mac/ViewSnapshotStore.mm: 13 (WebKit::ViewSnapshot::clearImage): 14 1 15 2018-03-28 Wenson Hsieh <wenson_hsieh@apple.com> 2 16 -
trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm
r229629 r230030 62 62 // without being explicitly parented. See <rdar://problem/16089267> for details. 63 63 layerHostingContext->m_context = [CAContext remoteContextWithOptions:@{ 64 #if HAVE(CORE_ANIMATION_RENDER_SERVER) 64 65 kCAContextIgnoresHitTest : @YES, 65 kCAContextDisplayId : @10000 }]; 66 kCAContextDisplayId : @10000 67 #endif 68 }]; 66 69 #elif __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 67 70 [CAContext setAllowsCGSConnections:NO]; -
trunk/Source/WebKit/UIProcess/mac/ViewSnapshotStore.h
r228853 r230030 128 128 bool disableSnapshotVolatilityForTesting() const { return m_disableSnapshotVolatility; } 129 129 130 #if !HAVE(IOSURFACE) 130 #if !HAVE(IOSURFACE) && HAVE(CORE_ANIMATION_RENDER_SERVER) 131 131 static CAContext *snapshottingContext(); 132 132 #endif -
trunk/Source/WebKit/UIProcess/mac/ViewSnapshotStore.mm
r228853 r230030 61 61 } 62 62 63 #if !HAVE(IOSURFACE) 63 #if !HAVE(IOSURFACE) && HAVE(CORE_ANIMATION_RENDER_SERVER) 64 64 CAContext *ViewSnapshotStore::snapshottingContext() 65 65 { … … 196 196 m_surface = nullptr; 197 197 #else 198 #if HAVE(CORE_ANIMATION_RENDER_SERVER) 198 199 [ViewSnapshotStore::snapshottingContext() deleteSlot:m_slotID]; 200 #endif 199 201 m_slotID = 0; 200 202 m_imageSizeInBytes = 0;
Note: See TracChangeset
for help on using the changeset viewer.