Skip to content

IOSurface macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#IOSurface.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h	2022-08-05 12:39:30.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h	2022-08-03 21:04:34.000000000 -0500
@@ -25,8 +25,7 @@
  Note: Any live XPC objects created from an IOSurfaceRef implicity increase the IOSurface's global use
  count by one until the object is destroyed. */
 xpc_object_t IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) XPC_RETURNS_RETAINED API_AVAILABLE(macos(10.7), ios(11.0), watchos(4.0), tvos(11.0));
-/* This call lets you take an xpc_object_t created via IOSurfaceCreatePort() and recreate an IOSurfaceRef from it.
-   Note: This returns a newly created IOSurfaceRef that the caller most CFRelease() when no longer needed. */
+/* This call lets you take an xpc_object_t created via IOSurfaceCreatePort() and recreate an IOSurfaceRef from it. */
 IOSurfaceRef _Nullable IOSurfaceLookupFromXPCObject(xpc_object_t xobj) CF_RETURNS_RETAINED API_AVAILABLE(macos(10.7), ios(11.0), watchos(4.0), tvos(11.0));
 
 __END_DECLS
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h	2022-08-05 15:54:42.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h	2022-08-03 21:04:34.000000000 -0500
@@ -102,9 +102,6 @@
 /* IOSurfacePropertyKeyPixelSizeCastingAllowed - If false the creator promises that there will be no pixel size casting when used on the GPU.  Default is true.  */
 extern IOSurfacePropertyKey IOSurfacePropertyKeyPixelSizeCastingAllowed     API_AVAILABLE(macos(10.12), ios(11.0), watchos(4.0), tvos(11.0));
 
-/* IOSurfacePropertyKeyName - Provide a name for the surface at creation time. */
-extern IOSurfacePropertyKey IOSurfacePropertyKeyName                        API_AVAILABLE(macos(13.0), ios(16.0), watchos(9.0), tvos(16.0));
-
 // Note: IOSurface objects are "toll free bridged" to IOSurfaceRef objects
 API_AVAILABLE(macos(10.12), ios(11.0), watchos(4.0), tvos(11.0))
 @interface IOSurface : NSObject <NSSecureCoding>
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h	2022-08-05 15:54:42.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h	2022-08-03 21:04:33.000000000 -0500
@@ -112,11 +112,6 @@
 /* kIOSurfacePlaneComponentBitOffsets   - CFArray[CFNumber] for bit offset of each component in this plane, (low bit zero, high bit 7). For example 'BGRA' would be {0, 8, 16, 24} */
 extern const CFStringRef kIOSurfacePlaneComponentBitOffsets                 API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
 
-// This key may be used to specify a name for the IOSurface either at creation time, or may be used with IOSurfaceSetValue() to
-// set it dynamically.  If not provided, the name will be set based on the binary containing the address calling into IOSurface.framework
-// to create it.
-extern const CFStringRef kIOSurfaceName                                     API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0), tvos(14.0));
-
 typedef CF_ENUM(int32_t, IOSurfaceComponentName) {
     kIOSurfaceComponentNameUnknown      = 0,
     kIOSurfaceComponentNameAlpha        = 1,
@@ -419,11 +414,11 @@
 int32_t IOSurfaceGetUseCount(IOSurfaceRef buffer)
     API_AVAILABLE(macos(10.6), ios(11.0), watchos(4.0), tvos(11.0));
 
-/* Returns true if an IOSurface is in use by any process in the system, otherwise false. */
+/* Returns true of an IOSurface is in use by any process in the system, otherwise false. */
 Boolean IOSurfaceIsInUse(IOSurfaceRef buffer)
     API_AVAILABLE(macos(10.6), ios(11.0), watchos(4.0), tvos(11.0));
 
-/* Returns true if this IOSurface allows pixel size casting */
+/* Rerturns true if this IOSurface allows pixel size casting */
 Boolean IOSurfaceAllowsPixelSizeCasting(IOSurfaceRef buffer)
     API_AVAILABLE(macos(10.12), ios(11.0), watchos(4.0), tvos(11.0));
 
Clone this wiki locally