Class IOSurface

    • Field Detail

      • Constants_kIOSurfaceSuccess

        public static final int Constants_kIOSurfaceSuccess
        See Also:
        Constant Field Values
    • Constructor Detail

      • IOSurface

        public IOSurface()
      • IOSurface

        public IOSurface​(NSDictionary<?,​?> properties)
      • IOSurface

        public IOSurface​(NSCoder decoder)
    • Method Detail

      • getAllocationSize

        public long getAllocationSize()
      • getWidth

        public long getWidth()
      • getHeight

        public long getHeight()
      • getBaseAddress

        public org.robovm.rt.bro.ptr.VoidPtr getBaseAddress()
      • getPixelFormat

        public int getPixelFormat()
      • getBytesPerRow

        public long getBytesPerRow()
      • getBytesPerElement

        public long getBytesPerElement()
      • getElementWidth

        public long getElementWidth()
      • getElementHeight

        public long getElementHeight()
      • getSeed

        public int getSeed()
      • getPlaneCount

        public long getPlaneCount()
      • isInUse

        public boolean isInUse()
      • getLocalUseCount

        public int getLocalUseCount()
      • setLocalUseCount

        public void setLocalUseCount​(int v)
      • allowsPixelSizeCasting

        public boolean allowsPixelSizeCasting()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • iOSurfaceGetTypeID

        public static long iOSurfaceGetTypeID()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceCreate

        public static IOSurface iOSurfaceCreate​(NSDictionary properties)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceLookup

        public static IOSurface iOSurfaceLookup​(int csid)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetID

        public int iOSurfaceGetID()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceLock

        public int iOSurfaceLock​(IOSurfaceLockOptions options,
                                 org.robovm.rt.bro.ptr.IntPtr seed)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceUnlock

        public int iOSurfaceUnlock​(IOSurfaceLockOptions options,
                                   org.robovm.rt.bro.ptr.IntPtr seed)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetAllocSize

        public long iOSurfaceGetAllocSize()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetWidth

        public long iOSurfaceGetWidth()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetHeight

        public long iOSurfaceGetHeight()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBytesPerElement

        public long iOSurfaceGetBytesPerElement()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBytesPerRow

        public long iOSurfaceGetBytesPerRow()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBaseAddress

        public org.robovm.rt.bro.ptr.VoidPtr iOSurfaceGetBaseAddress()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetElementWidth

        public long iOSurfaceGetElementWidth()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetElementHeight

        public long iOSurfaceGetElementHeight()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetPixelFormat

        public int iOSurfaceGetPixelFormat()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetSeed

        public int iOSurfaceGetSeed()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetPlaneCount

        public long iOSurfaceGetPlaneCount()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetWidthOfPlane

        public long iOSurfaceGetWidthOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetHeightOfPlane

        public long iOSurfaceGetHeightOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBytesPerElementOfPlane

        public long iOSurfaceGetBytesPerElementOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBytesPerRowOfPlane

        public long iOSurfaceGetBytesPerRowOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetBaseAddressOfPlane

        public org.robovm.rt.bro.ptr.VoidPtr iOSurfaceGetBaseAddressOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetElementWidthOfPlane

        public long iOSurfaceGetElementWidthOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetElementHeightOfPlane

        public long iOSurfaceGetElementHeightOfPlane​(long planeIndex)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetNumberOfComponentsOfPlane

        public long iOSurfaceGetNumberOfComponentsOfPlane​(long planeIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetNameOfComponentOfPlane

        public IOSurfaceComponentName iOSurfaceGetNameOfComponentOfPlane​(long planeIndex,
                                                                         long componentIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetTypeOfComponentOfPlane

        public IOSurfaceComponentType iOSurfaceGetTypeOfComponentOfPlane​(long planeIndex,
                                                                         long componentIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetRangeOfComponentOfPlane

        public IOSurfaceComponentRange iOSurfaceGetRangeOfComponentOfPlane​(long planeIndex,
                                                                           long componentIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetBitDepthOfComponentOfPlane

        public long iOSurfaceGetBitDepthOfComponentOfPlane​(long planeIndex,
                                                           long componentIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetBitOffsetOfComponentOfPlane

        public long iOSurfaceGetBitOffsetOfComponentOfPlane​(long planeIndex,
                                                            long componentIndex)
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceGetSubsampling

        public IOSurfaceSubsampling iOSurfaceGetSubsampling()
        Since:
        Available in iOS 11.0 and later.
      • iOSurfaceSetValue

        public void iOSurfaceSetValue​(CFString key,
                                      CFType value)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceCopyValue

        public CFType iOSurfaceCopyValue​(CFString key)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceRemoveValue

        public void iOSurfaceRemoveValue​(CFString key)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceSetValues

        public void iOSurfaceSetValues​(NSDictionary keysAndValues)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceCopyAllValues

        public NSDictionary iOSurfaceCopyAllValues()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceRemoveAllValues

        public void iOSurfaceRemoveAllValues()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceCreateMachPort

        public int iOSurfaceCreateMachPort()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceLookupFromMachPort

        public static IOSurface iOSurfaceLookupFromMachPort​(int port)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetPropertyMaximum

        public static long iOSurfaceGetPropertyMaximum​(CFString property)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetPropertyAlignment

        public static long iOSurfaceGetPropertyAlignment​(CFString property)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceAlignProperty

        public static long iOSurfaceAlignProperty​(CFString property,
                                                  long value)
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceIncrementUseCount

        public void iOSurfaceIncrementUseCount()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceDecrementUseCount

        public void iOSurfaceDecrementUseCount()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceGetUseCount

        public int iOSurfaceGetUseCount()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceIsInUse

        public boolean iOSurfaceIsInUse()
        Since:
        Available in iOS 3.0 and later.
      • iOSurfaceAllowsPixelSizeCasting

        public boolean iOSurfaceAllowsPixelSizeCasting()
        Since:
        Available in iOS 10.0 and later.
      • iOSurfaceSetPurgeable

        public int iOSurfaceSetPurgeable​(int newState,
                                         org.robovm.rt.bro.ptr.IntPtr oldState)
        Since:
        Available in iOS 10.0 and later.
      • init

        protected long init​(NSDictionary<?,​?> properties)
      • widthOfPlaneAtIndex

        public long widthOfPlaneAtIndex​(long planeIndex)
      • heightOfPlaneAtIndex

        public long heightOfPlaneAtIndex​(long planeIndex)
      • bytesPerRowOfPlaneAtIndex

        public long bytesPerRowOfPlaneAtIndex​(long planeIndex)
      • bytesPerElementOfPlaneAtIndex

        public long bytesPerElementOfPlaneAtIndex​(long planeIndex)
      • elementWidthOfPlaneAtIndex

        public long elementWidthOfPlaneAtIndex​(long planeIndex)
      • elementHeightOfPlaneAtIndex

        public long elementHeightOfPlaneAtIndex​(long planeIndex)
      • baseAddressOfPlaneAtIndex

        public org.robovm.rt.bro.ptr.VoidPtr baseAddressOfPlaneAtIndex​(long planeIndex)
      • setAttachment

        public void setAttachment​(NSObject anObject,
                                  java.lang.String key)
      • attachmentForKey

        public NSObject attachmentForKey​(java.lang.String key)
      • removeAttachmentForKey

        public void removeAttachmentForKey​(java.lang.String key)
      • removeAllAttachments

        public void removeAllAttachments()
      • incrementUseCount

        public void incrementUseCount()
      • decrementUseCount

        public void decrementUseCount()
      • setPurgeable

        public int setPurgeable​(IOSurfacePurgeabilityState newState,
                                org.robovm.rt.bro.ptr.IntPtr oldState)
        Since:
        Available in iOS 11.0 and later.
      • init

        protected long init​(NSCoder decoder)