IOSurfaceAccelerator

From iPhone Development Wiki
Jump to: navigation, search

IOSurfaceAccelerator is an object for managing hardware accelerated transfers/scales between IOSurfaces in the IOSurface framework. It is only compatible with surfaces that have k32BGRAPixelFormat or k16LE565PixelFormat. Unlike IOSurface, it is not available on Snow Leopard.

Functions

Signature OSReturn IOSurfaceAcceleratorCreate(CFAllocatorRef allocator, int type, IOSurfaceAcceleratorRef *outAccelerator);
Available in 3.0 –
Signature OSReturn IOSurfaceAcceleratorTransferSurface(IOSurfaceAcceleratorRef accelerator, IOSurfaceRef source, IOSurfaceRef dest, CFDictionaryRef, void *);
Available in 3.0 –

References