Dev:IOSurface
From The Apple Wiki
More actions
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.