Skip to content

QuartzCore iOS xcode14.0 beta1

Alex Soto edited this page Jun 7, 2022 · 1 revision

#QuartzCore.framework

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h	2022-02-23 07:12:37.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h	2022-06-03 18:06:41.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAAnimation.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CABase.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #ifndef CABASE_H
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CADisplayLink.h
 
-   Copyright (c) 2009-2021, Apple Inc.
+   Copyright (c) 2009-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CABase.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAEAGLLayer.h
 
-   Copyright (c) 2007-2021, Apple Inc.
+   Copyright (c) 2007-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h	2022-05-31 14:51:43.000000000 -0400
@@ -0,0 +1,98 @@
+/* CoreAnimation - CAEDRMetadata.h
+
+ Copyright (c) 2018-2022, Apple Inc.
+ All rights reserved. */
+
+#ifndef CAEDRMetadata_h
+#define CAEDRMetadata_h
+
+
+#include <Foundation/NSObject.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(10.15), ios(16.0))
+@interface CAEDRMetadata : NSObject
+{
+@private
+  struct _CAEDRMetadataPrivate *_priv;
+}
+
+/* Use one of the class methods to instantiate CAEDRMetadata. */
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/* The following two selectors are for static mastering display color volume and
+ * content light level info - typically associated with "HDR10" content. The
+ * data is treated as display referred with 1.0 mapping to diffuse white of 100
+ * nits in a reference grading environment. */
+
+/* Initialize with SEI MDCV and CLLI as defined by ISO/IEC 23008-2:2017
+ *
+ * `displayData'
+ * The value is 24 bytes containing a big-endian structure as defined in D.2.28
+ * Mastering display colour volume SEI message. If nil, uses system defaults.
+ *
+ * `contentData'
+ * The value is 4 bytes containing a big-endian structure as defined in D.2.35
+ * Content light level information SEI message. If nil, uses system defaults.
+ *
+ * `scale'
+ * Scale factor relating (display-referred linear) extended range buffer values
+ * (such as MTLPixelFormatRGBA16Float) to optical output of a reference display.
+ * Values y in the buffer are assumed to be proportional to the optical output
+ * C (in cd/m^2) of a reference display; denoting the opticalOutputScale as C1
+ * (cd/m^2), the relationship is C = C1 * y. As an example, if C1 = 100 cd/m^2,
+ * the optical output corresponding to y = 1 is C = C1 = 100 cd/m^2, and the
+ * display-referred linear value corresponding to C = 4,000 cd/m^2 is y = 40.
+ * If the content, y, is in a normalized pixel format then `scale' is
+ * assumed to be 10,000. */
+
+
++ (CAEDRMetadata *)HDR10MetadataWithDisplayInfo:(nullable NSData *)displayData
+                                    contentInfo:(nullable NSData *)contentData
+                             opticalOutputScale:(float)scale NS_SWIFT_NAME(hdr10(displayInfo:contentInfo:opticalOutputScale:));
+
+/* Simplified HDR10 initializer based on the minimum and maximum candelas per
+ * meters squared ("nits") of the mastering display. Any content greater than
+ * `maxNits' may be clamped when displayed.
+ *
+ * `minNits'
+ * Minimum nits (cd/m^2) of the mastering display
+ *
+ * `maxNits'
+ * Maximum nits (cd/m^2) of the mastering display
+ *
+ * `scale'
+ * Scale factor relating (display-referred linear) extended range buffer values
+ * (such as MTLPixelFormatRGBA16Float) to optical output of a reference display.
+ * Values y in the buffer are assumed to be proportional to the optical output
+ * C (in cd/m^2) of a reference display; denoting the opticalOutputScale as C1
+ * (cd/m^2), the relationship is C = C1 * y. As an example, if C1 = 100 cd/m^2,
+ * the optical output corresponding to y = 1 is C = C1 = 100 cd/m^2, and the
+ * display-referred linear value corresponding to C = 4,000 cd/m^2 is y = 40.
+ * If the content, y, is in a normalized pixel format then `scale' is
+ * assumed to be 10,000.
+ */
+
++ (CAEDRMetadata *)HDR10MetadataWithMinLuminance:(float)minNits
+                                    maxLuminance:(float)maxNits
+                              opticalOutputScale:(float)scale NS_SWIFT_NAME(hdr10(minLuminance:maxLuminance:opticalOutputScale:));
+
+/* Content is scene referred and originally encoded with the ITU-R BT.2100-2
+ * Hybrid Log Gamma (HLG) opto-electrical transfer function (OETF). The system
+ * will apply the opto-optical transfer function (OOTF) based on peak display
+ * brightness and ambient. If rendering to a CAMetalLayer with a linear
+ * colorspace (for floating point extended dynamic range layers), the content
+ * provider must have already applied the HLG inverse OETF. */
+
+@property (class, readonly, retain) CAEDRMetadata *HLGMetadata;
+
+@property (class, readonly, getter=isAvailable) BOOL available API_AVAILABLE(macos(13.0), ios(16.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+
+#endif /* CAEDRMetadata_h */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h	2022-02-23 10:56:13.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h	2022-06-03 18:06:41.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAEmitterCell.h
 
-   Copyright (c) 2007-2021, Apple Inc.
+   Copyright (c) 2007-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAEmitterLayer.h
 
-   Copyright (c) 2007-2021, Apple Inc.
+   Copyright (c) 2007-2022, Apple Inc.
    All rights reserved. */
 
 /* Particle emitter layer.
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,12 +1,11 @@
 /* CoreAnimation - CAFrameRateRange.h
 
-   Copyright (c) 2020-2021, Apple Inc.
+   Copyright (c) 2020-2022, Apple Inc.
    All rights reserved. */
 
 #ifndef CAFRAMERATERANGE_H
 #define CAFRAMERATERANGE_H
 
-
 #include <QuartzCore/CABase.h>
 #include <stdbool.h>
 
@@ -38,5 +37,4 @@
 
 CA_EXTERN_C_END
 
-
 #endif /* CAFRAMERATERANGE_H */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAGradientLayer.h
 
-   Copyright (c) 2008-2021, Apple Inc.
+   Copyright (c) 2008-2022, Apple Inc.
    All rights reserved. */
 
 /* The gradient layer draws a color gradient over its background color,
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h	2022-02-23 07:12:37.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CALayer.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CAMediaTiming.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h	2022-02-23 07:58:53.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAMediaTiming.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CABase.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAMediaTimingFunction.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CAMediaTiming.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h	2022-02-23 07:58:53.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,9 +1,10 @@
 /* CoreAnimation - CAMetalLayer.h
 
-   Copyright (c) 2013-2021, Apple Inc.
+   Copyright (c) 2013-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
+#import <QuartzCore/CAEDRMetadata.h>
 #import <Metal/MTLPixelFormat.h>
 #import <Metal/MTLDrawable.h>
 
@@ -11,7 +12,7 @@
 @protocol MTLTexture;
 @protocol MTLDrawable;
 
-@class CAMetalLayer;
+@class CAMetalLayer, NSDictionary;
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -111,7 +112,20 @@
 
 @property (nullable) CGColorSpaceRef colorspace;
 
-
+/* If any rendering context on the screen has this enabled, all content will be
+ * clamped to its NSScreen’s maximumExtendedDynamicRangeColorComponentValue
+ * rather than 1.0. The default is NO.  */
+
+@property BOOL wantsExtendedDynamicRangeContent
+API_AVAILABLE(macos(10.11), ios(16.0), macCatalyst(16.0)) API_UNAVAILABLE(tvos, watchos);
+
+/* Metadata describing extended dynamic range content in the layer's drawable.
+ * Must be set before calling nextDrawable. If non-nil, content may be
+ * tone mapped to match the current display characteristics. If nil, samples
+ * will be rendered without tone mapping and values above the maximum EDR value
+ * -[NSScreen maximumExtendedDynamicRangeColorComponentValue] may be clamped.
+ * Defaults to nil. */
+@property (strong, nullable) CAEDRMetadata *EDRMetadata API_AVAILABLE(macos(10.15), ios(16.0));
 
 
 /* Controls if `-nextDrawable' is allowed to timeout after 1 second and return
@@ -122,6 +136,11 @@
 @property BOOL allowsNextDrawableTimeout
   API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
 
+/* When non-nil, controls the options of developer HUD. Defaults to nil. */
+
+@property(nullable, copy) NSDictionary *developerHUDProperties
+  API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CARenderer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CARenderer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CARenderer.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CARenderer.h	2022-05-31 14:51:43.000000000 -0400
@@ -0,0 +1,93 @@
+/* CoreAnimation - CARenderer.h
+
+   Copyright (c) 2007-2022, Apple Inc.
+   All rights reserved. */
+
+
+#import <QuartzCore/CABase.h>
+#import <CoreVideo/CVBase.h>
+#import <Foundation/NSObject.h>
+
+@class NSDictionary, CALayer;
+@protocol MTLTexture;
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0))
+@interface CARenderer : NSObject
+{
+@private
+  struct CARendererPriv *_priv;
+}
+
+/* Create a new renderer object. Its render target is the specified
+ * texture. 'dict' is an optional dictionary of parameters.  */
+
++ (CARenderer *)rendererWithMTLTexture:(id<MTLTexture>)tex
+    options:(nullable NSDictionary *)dict
+    API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
+
+/* The root layer associated with the renderer. */
+
+@property(nullable, strong) CALayer *layer;
+
+/* The bounds rect of the render target. */
+
+@property CGRect bounds;
+
+/* Begin rendering a frame at time 't'. If 'ts' is non-null it defines
+ * the host time and update frequency of the target device. */
+
+- (void)beginFrameAtTime:(CFTimeInterval)t timeStamp:(nullable CVTimeStamp *)ts;
+
+/* Returns the bounds of the update region - the area that contains all
+ * pixels that will be rendered by the current frame. Initially this
+ * will include all differences between the current frame and the
+ * previously rendered frame. */
+
+- (CGRect)updateBounds;
+
+/* Add rectangle 'r' to the update region of the current frame. */
+
+- (void)addUpdateRect:(CGRect)r;
+
+/* Render the update region of the current frame to the target context. */
+
+- (void)render;
+
+/* Returns the time at which the next update should happen. If infinite
+ * no update needs to be scheduled yet. If the current frame time, a
+ * continuous animation is running and an update should be scheduled
+ * after a "natural" delay. */
+
+- (CFTimeInterval)nextFrameTime;
+
+/* Release any data associated with the current frame. */
+
+- (void)endFrame;
+
+/* Change the renderer's destination Metal texture. */
+
+- (void)setDestination:(id<MTLTexture>)tex;
+@end
+
+/** Options for the renderer options dictionary. **/
+
+/* The CGColorSpaceRef object defining the output color space. */
+
+CA_EXTERN NSString * const kCARendererColorSpace
+    API_AVAILABLE(macos(10.6), ios(2.0), watchos(2.0), tvos(9.0));
+
+/* The Metal Command Queue object against which to submit work.
+ *
+ * If the client provides a queue, then we will only commit our
+ * command buffer and let the client handle it's own synchronization
+ * and/or resource synchronization blits.
+ *
+ * If none is provided, then we will use an internal queue which
+ * automatically commits and waitUntilScheduled. */
+
+CA_EXTERN NSString * const kCARendererMetalCommandQueue
+    API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAReplicatorLayer.h
 
-   Copyright (c) 2008-2021, Apple Inc.
+   Copyright (c) 2008-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h	2022-02-23 07:58:53.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAScrollLayer.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h	2022-02-23 07:12:37.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h	2022-05-31 14:49:16.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAShapeLayer.h
 
-   Copyright (c) 2008-2021, Apple Inc.
+   Copyright (c) 2008-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CATextLayer.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CATiledLayer.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 /* This is a subclass of CALayer providing a way to asynchronously
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h	2022-02-23 10:56:13.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h	2022-05-31 14:49:16.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CATransaction.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CABase.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h	2022-06-03 18:09:02.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CATransform3D.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #ifndef CATRANSFORM_H
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h	2022-05-31 14:51:44.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CATransformLayer.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CALayer.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h	2022-02-23 07:58:52.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h	2022-05-31 14:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CAValueFunction.h
 
-   Copyright (c) 2008-2021, Apple Inc.
+   Copyright (c) 2008-2022, Apple Inc.
    All rights reserved. */
 
 #import <QuartzCore/CABase.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h	2022-02-16 01:13:54.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h	2022-05-28 00:48:23.000000000 -0400
@@ -1,6 +1,6 @@
 /* CoreAnimation - CoreAnimation.h
 
-   Copyright (c) 2006-2021, Apple Inc.
+   Copyright (c) 2006-2022, Apple Inc.
    All rights reserved. */
 
 #ifndef COREANIMATION_H
@@ -22,6 +22,7 @@
 #import <QuartzCore/CALayer.h>
 #import <QuartzCore/CAMediaTiming.h>
 #import <QuartzCore/CAMediaTimingFunction.h>
+#import <QuartzCore/CARenderer.h>
 #import <QuartzCore/CAReplicatorLayer.h>
 #import <QuartzCore/CAScrollLayer.h>
 #import <QuartzCore/CAShapeLayer.h>
@@ -31,6 +32,7 @@
 #import <QuartzCore/CATransform3D.h>
 #import <QuartzCore/CATransformLayer.h>
 #import <QuartzCore/CAValueFunction.h>
+#import <QuartzCore/CAEDRMetadata.h>
 #endif
 
 #endif /* COREANIMATION_H */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h	2022-02-16 01:13:54.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h	2022-05-28 00:48:23.000000000 -0400
@@ -1,6 +1,6 @@
 /* QuartzCore.h
 
-   Copyright (c) 2004-2021, Apple Inc.
+   Copyright (c) 2004-2022, Apple Inc.
    All rights reserved. */
 
 #ifndef QUARTZCORE_H
Clone this wiki locally