From 373cb97f429ccdc8fd0aa1cc76459054120ce44c Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 11 Jul 2024 17:24:15 +0200 Subject: [PATCH] [IOSurface] Implement Xcode 16.0 beta 1, beta 2 and beta 3 changes. Note: there were no changes in beta 2 or beta 3. --- src/iosurface.cs | 4 ++++ tests/cecil-tests/Documentation.KnownFailures.txt | 1 + tests/xtro-sharpie/api-annotations-dotnet/iOS-IOSurface.todo | 1 - .../xtro-sharpie/api-annotations-dotnet/macOS-IOSurface.todo | 1 - tests/xtro-sharpie/api-annotations-dotnet/tvOS-IOSurface.todo | 1 - tests/xtro-sharpie/iOS-IOSurface.todo | 1 - tests/xtro-sharpie/macOS-IOSurface.todo | 1 - tests/xtro-sharpie/tvOS-IOSurface.todo | 1 - 8 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/iosurface.cs b/src/iosurface.cs index 2e60e297e506..34e8f8b4a00a 100644 --- a/src/iosurface.cs +++ b/src/iosurface.cs @@ -168,6 +168,10 @@ interface IOSurface : NSSecureCoding { [Export ("elementHeight")] nint ElementHeight { get; } + [Watch (11, 0), TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [Export ("surfaceID")] + uint SurfaceId { get; } + [Export ("seed")] uint Seed { get; } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index af9bc49c35a3..27f146a2c84f 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -67513,6 +67513,7 @@ P:IOSurface.IOSurface.LocalUseCount P:IOSurface.IOSurface.PixelFormat P:IOSurface.IOSurface.PlaneCount P:IOSurface.IOSurface.Seed +P:IOSurface.IOSurface.SurfaceId P:IOSurface.IOSurface.Width P:IOSurface.IOSurfaceOptions.AllocSize P:IOSurface.IOSurfaceOptions.BytesPerElement diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-IOSurface.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-IOSurface.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-IOSurface.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-IOSurface.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-IOSurface.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-IOSurface.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound diff --git a/tests/xtro-sharpie/iOS-IOSurface.todo b/tests/xtro-sharpie/iOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/iOS-IOSurface.todo +++ b/tests/xtro-sharpie/iOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound diff --git a/tests/xtro-sharpie/macOS-IOSurface.todo b/tests/xtro-sharpie/macOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/macOS-IOSurface.todo +++ b/tests/xtro-sharpie/macOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound diff --git a/tests/xtro-sharpie/tvOS-IOSurface.todo b/tests/xtro-sharpie/tvOS-IOSurface.todo index 0e44edcb29dd..6dfa6414a6a9 100644 --- a/tests/xtro-sharpie/tvOS-IOSurface.todo +++ b/tests/xtro-sharpie/tvOS-IOSurface.todo @@ -2,4 +2,3 @@ !missing-enum! IOSurfaceMemoryLedgerTags not bound !missing-field! kIOSurfaceContentHeadroom not bound !missing-pinvoke! IOSurfaceSetOwnershipIdentity is not bound -!missing-selector! IOSurface::surfaceID not bound