Update QuartzCoreSPI.h for <rdar://problem/26584828>.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jun 2016 00:09:58 +0000 (00:09 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jun 2016 00:09:58 +0000 (00:09 +0000)
* platform/spi/cocoa/QuartzCoreSPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201576 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h

index 8c23f0d..394c069 100644 (file)
@@ -1,3 +1,9 @@
+2016-06-01  Alexey Proskuryakov  <ap@apple.com>
+
+        Update QuartzCoreSPI.h for <rdar://problem/26584828>.
+
+        * platform/spi/cocoa/QuartzCoreSPI.h:
+
 2016-06-01  Brady Eidson  <beidson@apple.com>
 
         Modernize lambda usage for all callers of RunLoop::dispatch().
index 402b22e..c4704be 100644 (file)
@@ -145,14 +145,15 @@ typedef enum {
 
 #endif
 
+// FIXME: Declare these functions even when USE(APPLE_INTERNAL_SDK) is true once we can fix <rdar://problem/26584828> in a better way.
+#if !USE(APPLE_INTERNAL_SDK)
 EXTERN_C void CARenderServerCaptureLayerWithTransform(mach_port_t serverPort, uint32_t clientId, uint64_t layerId,
                                                       uint32_t slotId, int32_t ox, int32_t oy, const CATransform3D *);
-
 #if USE(IOSURFACE)
 EXTERN_C void CARenderServerRenderLayerWithTransform(mach_port_t server_port, uint32_t client_id, uint64_t layer_id, IOSurfaceRef iosurface, int32_t ox, int32_t oy, const CATransform3D *matrix);
 EXTERN_C void CARenderServerRenderDisplayLayerWithTransformAndTimeOffset(mach_port_t server_port, CFStringRef display_name, uint32_t client_id, uint64_t layer_id, IOSurfaceRef iosurface, int32_t ox, int32_t oy, const CATransform3D *matrix, CFTimeInterval offset);
 #endif
-
+#endif
 
 // FIXME: Move this into the APPLE_INTERNAL_SDK block once it's in an SDK.
 @interface CAContext (AdditionalDetails)