Skip to content

IOSurface tvOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jul 11, 2024 · 3 revisions

#IOSurface.framework https://github.com/xamarin/xamarin-macios/pull/20879

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h	2024-04-13 13:35:34
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h	2024-05-30 04:14:38
@@ -151,6 +151,7 @@
 @property (readonly) NSInteger bytesPerElement;
 @property (readonly) NSInteger elementWidth;
 @property (readonly) NSInteger elementHeight;
+@property (readonly) uint32_t surfaceID API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
 
 /* This will return the current seed value of the buffer and is a cheap property to read to see
    if the contents of the buffer have changed since the last lock/unlock. */
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h	2024-03-22 19:54:25
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h	2024-05-30 04:14:38
@@ -307,6 +307,10 @@
 /* CFData representation of the ICC Profile, generally via CGColorSpaceCopyICCData */
 extern const CFStringRef kIOSurfaceICCProfile  API_AVAILABLE(macos(10.6), ios(11.0), watchos(4.0), tvos(11.0));
 
+/* CFNumber representation of the content headroom, which is defined as the ratio of nominal peak luminance
+   ("peak white") to nominal diffuse luminance ("reference white" or "diffuse white"). */
+extern const CFStringRef kIOSurfaceContentHeadroom API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
+
 /* These  calls let you attach CF property list types to a IOSurface buffer.  These calls are
    expensive (they essentially must serialize the data into the kernel) and thus should be avoided whenever
    possible.   Note:  These functions can not be used to change the underlying surface properties. */
Clone this wiki locally