Skip to content

QuartzCore iOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Jun 27, 2024 · 2 revisions

#QuartzCore.framework

Rolf

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h	2024-05-30 10:44:44
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h	2024-06-21 04:26:50
@@ -22,6 +22,26 @@
 typedef NSString * CALayerContentsFilter NS_TYPED_ENUM API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0)) API_UNAVAILABLE(watchos);
 typedef NSString * CALayerCornerCurve NS_TYPED_ENUM API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
 
+
+/* Options that control when to tone map CALayer contents and
+   CAMetalLayer drawables. Defaults to CAToneMapModeAutomatic. */
+typedef NSString * CAToneMapMode NS_TYPED_ENUM NS_SWIFT_NAME(CALayer.ToneMapMode)
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/* Let the OS decide whether to tone map. */
+extern CAToneMapMode const CAToneMapModeAutomatic NS_SWIFT_NAME(automatic)
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/* Never tone map contents. */
+extern CAToneMapMode const CAToneMapModeNever NS_SWIFT_NAME(never)
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/* Tone map whenever supported by the OS. This includes
+   PQ, HLG and extended-range contents for CALayer
+   and CAMetalLayers. */
+extern CAToneMapMode const CAToneMapModeIfSupported NS_SWIFT_NAME(ifSupported)
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
 /* Bit definitions for `edgeAntialiasingMask' property. */
 
 typedef NS_OPTIONS (unsigned int, CAEdgeAntialiasingMask)
@@ -375,6 +395,11 @@
 
 @property BOOL wantsExtendedDynamicRangeContent
   API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0)) API_UNAVAILABLE(tvos, watchos);
+
+/* Options that control when to tone map CALayer contents and
+   CAMetalLayer drawables. */
+@property(copy) CAToneMapMode toneMapMode
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
 
 
 
Clone this wiki locally