Log Message
Fix rendering of WKRemoteView layers in the simulator https://bugs.webkit.org/show_bug.cgi?id=184752
Reviewed by Tim Horton. * Platform/mac/LayerHostingContext.mm: (WebKit::LayerHostingContext::createForExternalHostingProcess):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (230779 => 230780)
--- trunk/Source/WebKit/ChangeLog 2018-04-18 21:17:18 UTC (rev 230779)
+++ trunk/Source/WebKit/ChangeLog 2018-04-18 21:17:37 UTC (rev 230780)
@@ -1,5 +1,15 @@
2018-04-18 Jer Noble <[email protected]>
+ Fix rendering of WKRemoteView layers in the simulator
+ https://bugs.webkit.org/show_bug.cgi?id=184752
+
+ Reviewed by Tim Horton.
+
+ * Platform/mac/LayerHostingContext.mm:
+ (WebKit::LayerHostingContext::createForExternalHostingProcess):
+
+2018-04-18 Jer Noble <[email protected]>
+
Fix entitlements and sandboxing for iphoneminimalsimulator
https://bugs.webkit.org/show_bug.cgi?id=184692
Modified: trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm (230779 => 230780)
--- trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm 2018-04-18 21:17:18 UTC (rev 230779)
+++ trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm 2018-04-18 21:17:37 UTC (rev 230780)
@@ -55,7 +55,7 @@
auto layerHostingContext = std::make_unique<LayerHostingContext>();
layerHostingContext->m_layerHostingMode = LayerHostingMode::OutOfProcess;
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && !ENABLE(MINIMAL_SIMULATOR)
// Use a very large display ID to ensure that the context is never put on-screen
// without being explicitly parented. See <rdar://problem/16089267> for details.
layerHostingContext->m_context = [CAContext remoteContextWithOptions:@{
@@ -64,7 +64,7 @@
kCAContextDisplayId : @10000
#endif
}];
-#elif __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
+#elif !ENABLE(MINIMAL_SIMULATOR) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
[CAContext setAllowsCGSConnections:NO];
layerHostingContext->m_context = [CAContext remoteContextWithOptions:@{kCAContextCIFilterBehavior : @"ignore"}];
#else
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
