diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-29 00:47:10 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-30 07:53:40 +0200 |
commit | bb0b2744af130d3f03939bd883d7f9fa9d373941 (patch) | |
tree | cf94a66650efa99fb7fe5bf556960b102a8f81f7 /sal | |
parent | 378d389620b50e172af3f488f1256aa950b0aea9 (diff) |
Draw the frame virtual device bitmaps directly to the destination CGContext
Much faster. No need for the pixelBuffer inbetween.
Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/osl/detail/ios-bootstrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/osl/detail/ios-bootstrap.h b/sal/inc/osl/detail/ios-bootstrap.h index 6057b391855f..f0e09f73e97c 100644 --- a/sal/inc/osl/detail/ios-bootstrap.h +++ b/sal/inc/osl/detail/ios-bootstrap.h @@ -12,7 +12,7 @@ #if defined(IOS) -#include <CoreGraphics/CGGeometry.h> +#include <CoreGraphics/CoreGraphics.h> #ifdef __cplusplus extern "C" { @@ -45,7 +45,7 @@ void lo_damaged(CGRect rect); void lo_runMain(); void lo_set_view_size(int width, int height); -void lo_render_windows(char *pixelBuffer, int width, int height); +void lo_render_windows(CGContextRef context, CGRect rect); void lo_tap(int x, int y); #ifdef __cplusplus |