Difference between revisions of "IOSurface.framework"

From iPhone Development Wiki
Jump to: navigation, search
m
m
 
Line 7: Line 7:
  
 
In 2.x the same function is provided by the '''CoreSurface''' framework. On 3.x CoreSurface is deprecated, and its functions are now wrappers of the corresponding IOSurface functions.
 
In 2.x the same function is provided by the '''CoreSurface''' framework. On 3.x CoreSurface is deprecated, and its functions are now wrappers of the corresponding IOSurface functions.
 
== Converting IOSurfaces into normal images ==
 
{{function signature
 
|signature=CGImageRef UICreateCGImageFromIOSurface(IOSurfaceRef ioSurface);
 
|firmware=3.0 –
 
}}
 
{{function signature
 
|signature=-(id)initWithIOSurface:(IOSurfaceRef)ioSurface; // UIImage method.
 
|firmware=3.0 –
 
}}
 
In {{fwlink|UIKit}} there are functions to convert an IOSurface to CGImage and [[UIImage]].
 
  
 
== References ==
 
== References ==
 
<references/>
 
<references/>
  
 +
{{Navbox Classes}}
 
{{Navbox Frameworks}}
 
{{Navbox Frameworks}}

Latest revision as of 09:11, 23 January 2010

IOSurface.framework
Private Framework
Availabile 3.0 – present
Class Prefix IOSurface

IOSurface is private CoreFoundation frameworks for managing pixel buffers, or in official words, "sharing graphics surfaces between applications"[1]. It is also a public framework in Mac OS X 10.6 (Snow Leopard).

In 2.x the same function is provided by the CoreSurface framework. On 3.x CoreSurface is deprecated, and its functions are now wrappers of the corresponding IOSurface functions.

References