IOSurface Changes for Objective-C
IOSurface
IOSurfaceAPI.h
Modified IOSurfaceAlignProperty()
Declaration | |
---|---|
From | size_t IOSurfaceAlignProperty ( CFStringRef property, size_t value ); |
To | size_t IOSurfaceAlignProperty ( CFStringRef _Nonnull property, size_t value ); |
Modified IOSurfaceCopyValue()
Declaration | |
---|---|
From | CFTypeRef IOSurfaceCopyValue ( IOSurfaceRef buffer, CFStringRef key ); |
To | CFTypeRef _Nullable IOSurfaceCopyValue ( IOSurfaceRef _Nonnull buffer, CFStringRef _Nonnull key ); |
Modified IOSurfaceCreate()
Declaration | |
---|---|
From | IOSurfaceRef IOSurfaceCreate ( CFDictionaryRef properties ); |
To | IOSurfaceRef _Nullable IOSurfaceCreate ( CFDictionaryRef _Nonnull properties ); |
Modified IOSurfaceCreateMachPort()
Declaration | |
---|---|
From | mach_port_t IOSurfaceCreateMachPort ( IOSurfaceRef buffer ); |
To | mach_port_t IOSurfaceCreateMachPort ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceCreateXPCObject()
Declaration | |
---|---|
From | xpc_object_t IOSurfaceCreateXPCObject ( IOSurfaceRef aSurface ); |
To | xpc_object_t _Nonnull IOSurfaceCreateXPCObject ( IOSurfaceRef _Nonnull aSurface ); |
Modified IOSurfaceDecrementUseCount()
Declaration | |
---|---|
From | void IOSurfaceDecrementUseCount ( IOSurfaceRef buffer ); |
To | void IOSurfaceDecrementUseCount ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetAllocSize()
Declaration | |
---|---|
From | size_t IOSurfaceGetAllocSize ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetAllocSize ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetBaseAddress()
Declaration | |
---|---|
From | void * IOSurfaceGetBaseAddress ( IOSurfaceRef buffer ); |
To | void * _Nonnull IOSurfaceGetBaseAddress ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetBaseAddressOfPlane()
Declaration | |
---|---|
From | void * IOSurfaceGetBaseAddressOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | void * _Nonnull IOSurfaceGetBaseAddressOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetBytesPerElement()
Declaration | |
---|---|
From | size_t IOSurfaceGetBytesPerElement ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetBytesPerElement ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetBytesPerElementOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetBytesPerElementOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetBytesPerElementOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetBytesPerRow()
Declaration | |
---|---|
From | size_t IOSurfaceGetBytesPerRow ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetBytesPerRow ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetBytesPerRowOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetBytesPerRowOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetBytesPerRowOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetElementHeight()
Declaration | |
---|---|
From | size_t IOSurfaceGetElementHeight ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetElementHeight ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetElementHeightOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetElementHeightOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetElementHeightOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetElementWidth()
Declaration | |
---|---|
From | size_t IOSurfaceGetElementWidth ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetElementWidth ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetElementWidthOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetElementWidthOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetElementWidthOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetHeight()
Declaration | |
---|---|
From | size_t IOSurfaceGetHeight ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetHeight ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetHeightOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetHeightOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetHeightOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceGetID()
Declaration | |
---|---|
From | IOSurfaceID IOSurfaceGetID ( IOSurfaceRef buffer ); |
To | IOSurfaceID IOSurfaceGetID ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetPixelFormat()
Declaration | |
---|---|
From | OSType IOSurfaceGetPixelFormat ( IOSurfaceRef buffer ); |
To | OSType IOSurfaceGetPixelFormat ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetPlaneCount()
Declaration | |
---|---|
From | size_t IOSurfaceGetPlaneCount ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetPlaneCount ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetPropertyAlignment()
Declaration | |
---|---|
From | size_t IOSurfaceGetPropertyAlignment ( CFStringRef property ); |
To | size_t IOSurfaceGetPropertyAlignment ( CFStringRef _Nonnull property ); |
Modified IOSurfaceGetPropertyMaximum()
Declaration | |
---|---|
From | size_t IOSurfaceGetPropertyMaximum ( CFStringRef property ); |
To | size_t IOSurfaceGetPropertyMaximum ( CFStringRef _Nonnull property ); |
Modified IOSurfaceGetSeed()
Declaration | |
---|---|
From | uint32_t IOSurfaceGetSeed ( IOSurfaceRef buffer ); |
To | uint32_t IOSurfaceGetSeed ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetUseCount()
Declaration | |
---|---|
From | int32_t IOSurfaceGetUseCount ( IOSurfaceRef buffer ); |
To | int32_t IOSurfaceGetUseCount ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetWidth()
Declaration | |
---|---|
From | size_t IOSurfaceGetWidth ( IOSurfaceRef buffer ); |
To | size_t IOSurfaceGetWidth ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceGetWidthOfPlane()
Declaration | |
---|---|
From | size_t IOSurfaceGetWidthOfPlane ( IOSurfaceRef buffer, size_t planeIndex ); |
To | size_t IOSurfaceGetWidthOfPlane ( IOSurfaceRef _Nonnull buffer, size_t planeIndex ); |
Modified IOSurfaceIncrementUseCount()
Declaration | |
---|---|
From | void IOSurfaceIncrementUseCount ( IOSurfaceRef buffer ); |
To | void IOSurfaceIncrementUseCount ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceIsInUse()
Declaration | |
---|---|
From | Boolean IOSurfaceIsInUse ( IOSurfaceRef buffer ); |
To | Boolean IOSurfaceIsInUse ( IOSurfaceRef _Nonnull buffer ); |
Modified IOSurfaceLock()
Declaration | |
---|---|
From | IOReturn IOSurfaceLock ( IOSurfaceRef buffer, uint32_t options, uint32_t *seed ); |
To | IOReturn IOSurfaceLock ( IOSurfaceRef _Nonnull buffer, IOSurfaceLockOptions options, uint32_t * _Nullable seed ); |
Modified IOSurfaceLookup()
Declaration | |
---|---|
From | IOSurfaceRef IOSurfaceLookup ( IOSurfaceID csid ); |
To | IOSurfaceRef _Nullable IOSurfaceLookup ( IOSurfaceID csid ); |
Modified IOSurfaceLookupFromMachPort()
Declaration | |
---|---|
From | IOSurfaceRef IOSurfaceLookupFromMachPort ( mach_port_t port ); |
To | IOSurfaceRef _Nullable IOSurfaceLookupFromMachPort ( mach_port_t port ); |
Modified IOSurfaceLookupFromXPCObject()
Declaration | |
---|---|
From | IOSurfaceRef IOSurfaceLookupFromXPCObject ( xpc_object_t xobj ); |
To | IOSurfaceRef _Nullable IOSurfaceLookupFromXPCObject ( xpc_object_t _Nonnull xobj ); |
Modified IOSurfaceRemoveValue()
Declaration | |
---|---|
From | void IOSurfaceRemoveValue ( IOSurfaceRef buffer, CFStringRef key ); |
To | void IOSurfaceRemoveValue ( IOSurfaceRef _Nonnull buffer, CFStringRef _Nonnull key ); |
Modified IOSurfaceSetValue()
Declaration | |
---|---|
From | void IOSurfaceSetValue ( IOSurfaceRef buffer, CFStringRef key, CFTypeRef value ); |
To | void IOSurfaceSetValue ( IOSurfaceRef _Nonnull buffer, CFStringRef _Nonnull key, CFTypeRef _Nonnull value ); |
Modified IOSurfaceUnlock()
Declaration | |
---|---|
From | IOReturn IOSurfaceUnlock ( IOSurfaceRef buffer, uint32_t options, uint32_t *seed ); |
To | IOReturn IOSurfaceUnlock ( IOSurfaceRef _Nonnull buffer, IOSurfaceLockOptions options, uint32_t * _Nullable seed ); |
Modified kIOSurfaceIsGlobal
Deprecation | |
---|---|
From | -- |
To | OS X 10.11 |