Documentation Archive Developer
Search

IOSurface Changes

IOSurface

Modified IOSurfaceAlignProperty(CFString!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceAlignProperty(_ property: CFString!, _ value: UInt) -> UInt
OS X 10.10
To
func IOSurfaceAlignProperty(_ property: CFString!, _ value: Int) -> Int
OS X 10.6

Modified IOSurfaceCopyValue(IOSurface!, CFString!) -> Unmanaged<AnyObject>!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceCreate(CFDictionary!) -> Unmanaged<IOSurface>!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceCreateMachPort(IOSurface!) -> mach_port_t
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceCreateXPCObject(IOSurface!) -> xpc_object_t!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified IOSurfaceDecrementUseCount(IOSurface!)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetAllocSize(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetAllocSize(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetAllocSize(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetBaseAddress(IOSurface!) -> UnsafeMutablePointer<Void>
DeclarationIntroduction
From
func IOSurfaceGetBaseAddress(_ buffer: IOSurface!) -> UnsafePointer<()>
OS X 10.10
To
func IOSurfaceGetBaseAddress(_ buffer: IOSurface!) -> UnsafeMutablePointer<Void>
OS X 10.6

Modified IOSurfaceGetBaseAddressOfPlane(IOSurface!, Int) -> UnsafeMutablePointer<Void>
DeclarationIntroduction
From
func IOSurfaceGetBaseAddressOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UnsafePointer<()>
OS X 10.10
To
func IOSurfaceGetBaseAddressOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> UnsafeMutablePointer<Void>
OS X 10.6

Modified IOSurfaceGetBytesPerElement(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetBytesPerElement(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetBytesPerElement(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetBytesPerElementOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetBytesPerElementOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetBytesPerElementOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceGetBytesPerRow(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetBytesPerRow(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetBytesPerRow(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetBytesPerRowOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetBytesPerRowOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetBytesPerRowOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceGetElementHeight(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetElementHeight(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetElementHeight(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetElementHeightOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetElementHeightOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetElementHeightOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceGetElementWidth(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetElementWidth(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetElementWidth(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetElementWidthOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetElementWidthOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetElementWidthOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceGetHeight(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetHeight(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetHeight(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetHeightOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetHeightOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetHeightOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceGetID(IOSurface!) -> IOSurfaceID
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetPixelFormat(IOSurface!) -> OSType
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetPlaneCount(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetPlaneCount(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetPlaneCount(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetPropertyAlignment(CFString!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetPropertyAlignment(_ property: CFString!) -> UInt
OS X 10.10
To
func IOSurfaceGetPropertyAlignment(_ property: CFString!) -> Int
OS X 10.6

Modified IOSurfaceGetPropertyMaximum(CFString!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetPropertyMaximum(_ property: CFString!) -> UInt
OS X 10.10
To
func IOSurfaceGetPropertyMaximum(_ property: CFString!) -> Int
OS X 10.6

Modified IOSurfaceGetSeed(IOSurface!) -> UInt32
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetTypeID() -> CFTypeID
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetUseCount(IOSurface!) -> Int32
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceGetWidth(IOSurface!) -> Int
DeclarationIntroduction
From
func IOSurfaceGetWidth(_ buffer: IOSurface!) -> UInt
OS X 10.10
To
func IOSurfaceGetWidth(_ buffer: IOSurface!) -> Int
OS X 10.6

Modified IOSurfaceGetWidthOfPlane(IOSurface!, Int) -> Int
DeclarationIntroduction
From
func IOSurfaceGetWidthOfPlane(_ buffer: IOSurface!, _ planeIndex: UInt) -> UInt
OS X 10.10
To
func IOSurfaceGetWidthOfPlane(_ buffer: IOSurface!, _ planeIndex: Int) -> Int
OS X 10.6

Modified IOSurfaceIncrementUseCount(IOSurface!)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceIsInUse(IOSurface!) -> Boolean
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceLock(IOSurface!, UInt32, UnsafeMutablePointer<UInt32>) -> IOReturn
DeclarationIntroduction
From
func IOSurfaceLock(_ buffer: IOSurface!, _ options: UInt32, _ seed: UnsafePointer<UInt32>) -> IOReturn
OS X 10.10
To
func IOSurfaceLock(_ buffer: IOSurface!, _ options: UInt32, _ seed: UnsafeMutablePointer<UInt32>) -> IOReturn
OS X 10.6

Modified IOSurfaceLookup(IOSurfaceID) -> IOSurface!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceLookupFromMachPort(mach_port_t) -> IOSurface!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceLookupFromXPCObject(xpc_object_t!) -> IOSurface!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified IOSurfaceRemoveValue(IOSurface!, CFString!)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceSetValue(IOSurface!, CFString!, AnyObject!)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified IOSurfaceUnlock(IOSurface!, UInt32, UnsafeMutablePointer<UInt32>) -> IOReturn
DeclarationIntroduction
From
func IOSurfaceUnlock(_ buffer: IOSurface!, _ options: UInt32, _ seed: UnsafePointer<UInt32>) -> IOReturn
OS X 10.10
To
func IOSurfaceUnlock(_ buffer: IOSurface!, _ options: UInt32, _ seed: UnsafeMutablePointer<UInt32>) -> IOReturn
OS X 10.6

Modified kIOSurfaceAllocSize
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceBytesPerElement
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceBytesPerRow
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceCacheMode
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceElementHeight
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceElementWidth
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceHeight
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceIsGlobal
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceOffset
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePixelFormat
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneBase
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneBytesPerElement
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneBytesPerRow
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneElementHeight
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneElementWidth
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneHeight
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneInfo
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneOffset
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneSize
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfacePlaneWidth
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kIOSurfaceWidth
Introduction
FromOS X 10.10
ToOS X 10.6