Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
IOSurface - iPhone Development Wiki

IOSurface

From iPhone Development Wiki
Revision as of 09:38, 23 January 2010 by KennyTM~ (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IOSurface is an object encompassing a kernel-managed rectangular pixel buffer in the IOSurface framework. It is a thin wrapper on top of an IOSurfaceClient object which actually interfaces with the kernel.

Converting IOSurfaces into normal images

Signature CGImageRef UICreateCGImageFromIOSurface(IOSurfaceRef ioSurface);
Available in 3.0 –
Signature -(id)initWithIOSurface:(IOSurfaceRef)ioSurface; // UIImage method.
Available in 3.0 –

In UIKit there are functions to convert an IOSurface to CGImage and UIImage.

References