-
Notifications
You must be signed in to change notification settings - Fork 507
QuartzCore macOS xcode16.0 b2
Rolf Bjarne Kvinge edited this page Aug 15, 2024
·
3 revisions
#QuartzCore.framework https://github.com/xamarin/xamarin-macios/pull/21050
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h 2024-05-30 02:32:32
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h 2024-06-21 05:50:47
@@ -36,6 +36,26 @@
kCALayerMaxYMargin = 1U << 5
};
+
+/* 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)
@@ -389,6 +409,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);
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status