-
Notifications
You must be signed in to change notification settings - Fork 543
CoreGraphics macOS xcode26.0 b2
Alex Soto edited this page Jun 24, 2025
·
1 revision
#CoreGraphics.framework
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h 2025-06-01 23:34:29
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h 2025-06-18 01:02:06
@@ -706,11 +706,15 @@
Note that CGContextDrawImageApplyingToneMapping (described above) will override the
context's content tone mapping info. */
-CG_EXTERN CGContentToneMappingInfo CGContextGetContentToneMappingInfo(CGContextRef __nonnull c) API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
+CG_EXTERN CGContentToneMappingInfo CGContextGetContentToneMappingInfo(CGContextRef __nonnull c)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
/* Set the content tone mapping info of `context' to `info'. */
-CG_EXTERN void CGContextSetContentToneMappingInfo(CGContextRef __nonnull c, CGContentToneMappingInfo info) API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
+CG_EXTERN void CGContextSetContentToneMappingInfo(CGContextRef __nonnull c, CGContentToneMappingInfo info)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
/* Return the interpolation quality for image rendering of `context'. The
interpolation quality is a gstate parameter which controls the level of
@@ -908,7 +912,8 @@
/* Synchronize destination attributes with the context. */
CG_EXTERN void CGContextSynchronizeAttributes(CGContextRef c)
-API_AVAILABLE(macos(26.0), ios(26.0));
+ CF_SWIFT_NAME(CGContext.synchronizeAttributes(self:))
+ API_AVAILABLE(macos(26.0), ios(26.0));
/** Antialiasing functions. **/
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h 2025-05-30 01:54:42
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h 2025-06-13 04:41:41
@@ -25,7 +25,9 @@
CG_EXTERN const CFStringRef kCGEXRToneMappingGammaKneeHigh API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0)); /* default value: 5.0f range [3.5f, 7.5f] */
/* Return a dictionary with default options for tone mapping using EXR Gamma method */
-CG_EXTERN CFDictionaryRef CGEXRToneMappingGammaGetDefaultOptions(void) API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
+CG_EXTERN CFDictionaryRef CGEXRToneMappingGammaGetDefaultOptions(void)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h 2025-06-01 23:34:20
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h 2025-06-17 03:40:33
@@ -50,13 +50,27 @@
by `count'; the number of color components is the product of `count' and
the number of color components of `space'. If no color is provided for 0 or 1,
the gradient will use the color provided at the locations closest to 0 and 1
- for those values. */
+ for those values. The gradient's content headroom will be based on the `space'
+ and determined by the system. */
CG_EXTERN CGGradientRef __nullable CGGradientCreateWithColorComponents(
CGColorSpaceRef cg_nullable space, const CGFloat * cg_nullable components,
const CGFloat * __nullable locations, size_t count)
API_AVAILABLE(macos(10.5), ios(2.0));
+/* Creates a gradient with a specified content headroom. The value of the `headroom'
+ will be adjusted as follows:
+ (headroom < 0.0f) ? 0.0f : (headroom > 0.0f && headroom < 1.0f) ? 1.0f : headroom.
+ The `space' must support HDR (is either HDR or extended range RGB). Creating a gradient
+ with the content headroom of 0.0 means that the headroom is unspecified, and this will
+ prevent tone mapping of the gradient content to the destination. Meaning of other
+ parameters is the same as in CGGradientCreateWithColorComponents. */
+
+CG_EXTERN CGGradientRef __nullable CGGradientCreateWithContentHeadroom(
+ float headroom, CGColorSpaceRef cg_nullable space, const CGFloat * cg_nullable components,
+ const CGFloat * __nullable locations, size_t count)
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+
/* Creates a gradient by pairing the colors provided in `colors' with the
locations provided in `locations'. `colors' should be a non-empty array
of CGColor objects. The colors may be in any color space other than a
@@ -72,7 +86,9 @@
1; the array of locations should should contain the same number of items
as `colors'. If no color is provided for 0 or 1, the gradient will use
the color provided at the locations closest to 0 and 1 for those
- values. */
+ values. If the `space' supports headroom (is either HDR or extended range RGB)
+ and `colors' contain RGB CGColors with content headroom, the gradient will
+ have the content headroom equal to the maximum of the content headoom of 'colors'. */
CG_EXTERN CGGradientRef __nullable CGGradientCreateWithColors(
CGColorSpaceRef __nullable space, CFArrayRef cg_nullable colors,
@@ -91,6 +107,12 @@
CG_EXTERN void CGGradientRelease(CGGradientRef cg_nullable gradient)
API_AVAILABLE(macos(10.5), ios(2.0));
+
+/* Return gradient's content headroom, and return 0.0f if unknown or unspecified.
+ Gradient's content headroom is a maximum headroom of HDR colors used by the gradient. */
+
+CG_EXTERN float CGGradientGetContentHeadroom(CGGradientRef cg_nullable gradient)
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h 2025-06-01 23:53:16
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h 2025-06-17 03:30:37
@@ -274,17 +274,20 @@
Use CGImageCreateCopyWithContentHeadroom if applicable. */
CG_EXTERN float CGImageCalculateContentHeadroom(CGImageRef cg_nullable image)
+ CF_SWIFT_NAME(getter:CGImage.calculatedContentHeadroom(self:))
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
/* Return the image content average light level value normalized by the reference white if the content average light level is contained in the image metadata, and return 0.0f if unknown. */
CG_EXTERN float CGImageGetContentAverageLightLevel(CGImageRef cg_nullable image)
+ CF_SWIFT_NAME(getter:CGImage.contentAverageLightLevel(self:))
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
/* Calculate the image content average light level value normalized by the reference white, and return 0.0f if unknown. Please note that because of image immutability, the image metadata cannot be updated.
Use CGImageCreateCopyWithContentAverageLightLevel if applicable. */
CG_EXTERN float CGImageCalculateContentAverageLightLevel(CGImageRef cg_nullable image)
+ CF_SWIFT_NAME(getter:CGImage.calculatedContentAverageLightLevel(self:))
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
/* Create a copy of `image' adding or replacing the image's content average light level.
@@ -292,10 +295,12 @@
The `avll' parameter must be greater or equal 0.0f.
The value of 0.0f means "content average light level unknown". */
-CG_EXTERN CGImageRef __nullable CGImageCreateCopyWithContentAverageLightLevel(float avll, CGImageRef cg_nullable image)
+CG_EXTERN CGImageRef __nullable CGImageCreateCopyWithContentAverageLightLevel(CGImageRef cg_nullable image, float avll)
+ CF_SWIFT_NAME(CGImage.copy(self:contentAverageLightLevel:))
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
CG_EXTERN CGImageRef __nullable CGImageCreateCopyWithCalculatedHDRStats(CGImageRef cg_nullable image)
+ CF_SWIFT_NAME(CGImage.copyWithCalculatedHDRStats(self:))
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
/* Equivalent to `CFRetain(image)'. */
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h 2025-05-30 01:54:39
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h 2025-06-13 04:41:40
@@ -18,17 +18,29 @@
size_t size,
void* __nullable(^__nonnull lockPointer)(void* __nullable info),
void (^__nullable unlockPointer)(void* __nullable info, void* __nonnull pointer),
- void (^__nullable releaseInfo)(void* __nullable info)) CF_REFINED_FOR_SWIFT;
+ void (^__nullable releaseInfo)(void* __nullable info))
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN CGRenderingBufferProviderRef __nullable CGRenderingBufferProviderCreateWithCFData(CFMutableDataRef data) CF_REFINED_FOR_SWIFT;
+CG_EXTERN CGRenderingBufferProviderRef __nullable CGRenderingBufferProviderCreateWithCFData(CFMutableDataRef data)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN size_t CGRenderingBufferProviderGetSize(CGRenderingBufferProviderRef provider) CF_REFINED_FOR_SWIFT;
+CG_EXTERN size_t CGRenderingBufferProviderGetSize(CGRenderingBufferProviderRef provider)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN void* __nullable CGRenderingBufferLockBytePtr(CGRenderingBufferProviderRef provider) CF_REFINED_FOR_SWIFT;
+CG_EXTERN void* __nullable CGRenderingBufferLockBytePtr(CGRenderingBufferProviderRef provider)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN void CGRenderingBufferUnlockBytePtr(CGRenderingBufferProviderRef provider) CF_REFINED_FOR_SWIFT;
+CG_EXTERN void CGRenderingBufferUnlockBytePtr(CGRenderingBufferProviderRef provider)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN CFTypeID CGRenderingBufferProviderGetTypeID(void) CF_REFINED_FOR_SWIFT;
+CG_EXTERN CFTypeID CGRenderingBufferProviderGetTypeID(void)
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h 2025-05-30 01:54:42
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h 2025-06-17 03:28:51
@@ -39,13 +39,27 @@
shading; the input value 1 corresponds to the color at the ending point
of the shading. If `extendStart' is true, then the shading will extend
beyond the starting point of the axis. If `extendEnd' is true, then the
- shading will extend beyond the ending point of the axis. */
+ shading will extend beyond the ending point of the axis. The shading's
+ content headroom will be based on the `space' and determined by the system. */
CG_EXTERN CGShadingRef __nullable CGShadingCreateAxial(
CGColorSpaceRef cg_nullable space, CGPoint start, CGPoint end,
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
API_AVAILABLE(macos(10.2), ios(2.0));
+/* Creates axial shading with a specified content headroom. The value of the `headroom'
+ will be adjusted as follows:
+ (headroom < 0.0f) ? 0.0f : (headroom > 0.0f && headroom < 1.0f) ? 1.0f : headroom.
+ The `space' must support HDR (is either HDR or extended range RGB). Creating an axial
+ shading wih the content headroom of 0.0 means that the headroom is unspecified, and this
+ will prevent tone mapping of the axial shading content to the destination. Meaning of
+ other parameters is the same as in CGShadingCreateAxial. */
+
+CG_EXTERN CGShadingRef __nullable CGShadingCreateAxialWithContentHeadroom(
+ float headroom, CGColorSpaceRef cg_nullable space, CGPoint start, CGPoint end,
+ CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+
/* Create a shading defining a color blend which varies between two circles.
The shading may optionally extend beyond either circle by continuing the
boundary colors. The color values are specified in the color space
@@ -59,7 +73,8 @@
value 1 corresponds to the color of the ending circle. If `extendStart'
is true, then the shading will extend beyond the starting circle. If
`extendEnd' is true, then the shading will extend beyond the ending
- circle. */
+ circle. The shading's content headroom will be based on the `space'
+ and determined by the system. */
CG_EXTERN CGShadingRef __nullable CGShadingCreateRadial(
CGColorSpaceRef cg_nullable space,
@@ -67,6 +82,20 @@
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
API_AVAILABLE(macos(10.2), ios(2.0));
+/* Creates radial shading with a specified content headroom. The value of the `headroom'
+ will be adjusted as follows:
+ (headroom < 0.0f) ? 0.0f : (headroom > 0.0f && headroom < 1.0f) ? 1.0f : headroom.
+ The `space' must support HDR (is either HDR or extended range RGB). Creating an radial
+ shading wih the content headroom of 0.0 means that the headroom is unspecified, and this
+ will prevent tone mapping of the radial shading content to the destination. Meaning of
+ other parameters is the same as in CGShadingCreateRadial. */
+
+CG_EXTERN CGShadingRef __nullable CGShadingCreateRadialWithContentHeadroom(
+ float headroom, CGColorSpaceRef cg_nullable space,
+ CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius,
+ CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+
/* Equivalent to `CFRetain(shading)', except it doesn't crash (as CFRetain
does) if `shading' is NULL. */
@@ -78,6 +107,12 @@
CG_EXTERN void CGShadingRelease(CGShadingRef cg_nullable shading)
API_AVAILABLE(macos(10.2), ios(2.0));
+
+/* Return shading's content headroom, and return 0.0f if unknown or unspecified. */
+
+CG_EXTERN float CGShadingGetContentHeadroom(CGShadingRef cg_nullable shading)
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+
CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h 2025-05-30 01:54:42
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h 2025-06-13 04:41:42
@@ -30,24 +30,38 @@
kCGToneMappingNone /* Does not apply any tone mapping. Color converted values in extended color spaces will be clipped to SDR ([0.0-1.0]) range */
} API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0));
-typedef struct CGContentToneMappingInfo {
+typedef struct {
CGToneMapping method;
- CFDictionaryRef options;
-} CGContentToneMappingInfo API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0));
+ CFDictionaryRef __nullable options;
+} CGContentToneMappingInfo
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
/* Option keys and values for Preferred Dynamic Range.
* Applicable to kCGToneMappingDefault, kCGToneMappingImageSpecificLumaScaling and kCGToneMappingReferenceWhiteBased methods.
*/
-CG_EXTERN const CFStringRef __nonnull kCGPreferredDynamicRange API_AVAILABLE(macos(26.0), ios(26.0));
+CG_EXTERN const CFStringRef __nonnull kCGPreferredDynamicRange
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
/* Legal values for kCGPreferredDynamicRange are the following strings. */
- CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeHigh API_AVAILABLE(macos(26.0), ios(26.0));
- CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeConstrained API_AVAILABLE(macos(26.0), ios(26.0));
- CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeStandard API_AVAILABLE(macos(26.0), ios(26.0));
+ CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeHigh
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+ CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeConstrained
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+ CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeStandard
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
-CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevel API_AVAILABLE(macos(26.0), ios(26.0));
-CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevelNits API_AVAILABLE(macos(26.0), ios(26.0));
+CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevel
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevelNits
+ CF_REFINED_FOR_SWIFT
+ API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
#ifdef __cplusplus
} /* extern "C" */
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes 2025-06-01 23:45:00
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes 2025-06-18 00:49:48
@@ -890,10 +890,6 @@
SwiftName: CGContext.setEDRTargetHeadroom(self:_:)
- Name: CGContextGetEDRTargetHeadroom
SwiftName: getter:CGContext.edrTargetHeadroom(self:_:)
-- Name: CGContextSetContentToneMappingInfo
- SwiftName: CGContext.setContentToneMappingInfo(self:_:)
-- Name: CGContextGetContentToneMappingInfo
- SwiftName: getter:CGContext.contentToneMappingInfo(self:_:)
- Name: CGContextGetInterpolationQuality
SwiftName: getter:CGContext.interpolationQuality(self:)
- Name: CGContextSetInterpolationQuality