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

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

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

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.framework: Difference between revisions - iPhone Development Wiki

IOSurface.framework: Difference between revisions

From iPhone Development Wiki
mNo edit summary
(rescue link, provide update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{infobox Framework
{{infobox Framework
| vis = Private
| vis = Public
| since = 3.0
| since = 3.0
| classID = IOSurface
| classID = IOSurface
}}
}}
'''IOSurface''' is private CoreFoundation frameworks for managing pixel buffers, or in official words, "sharing graphics surfaces between applications"<ref>http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html</ref>. It is also a public framework in Mac OS X 10.6 (Snow Leopard).  
'''IOSurface''' is a system framework for managing pixel buffers, or as Apple describes, "low-level interfaces for sharing graphics surfaces between apps."<ref>http://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html</ref>. It has been publicly available since Mac OS X 10.6 (Snow Leopard) and iOS 11. Before that, it was available on iOS as a private framework since iPhoneOS 3.


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 was 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 15:42, 16 December 2023

IOSurface.framework
Public Framework
Availabile 3.0 – present
Class Prefix IOSurface
Headers [headers.cynder.me]

IOSurface is a system framework for managing pixel buffers, or as Apple describes, "low-level interfaces for sharing graphics surfaces between apps."[1]. It has been publicly available since Mac OS X 10.6 (Snow Leopard) and iOS 11. Before that, it was available on iOS as a private framework since iPhoneOS 3.

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

References