diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-09 21:53:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-14 01:42:02 +0200 |
commit | 6265876ae9f1bb862440182d2d2c9b9b5b322668 (patch) | |
tree | cb64f9a87dd4a98556c2708be0ff8dbfd152ce58 /vcl/ios | |
parent | cppcheck: reduce scope (diff) | |
download | core-6265876ae9f1bb862440182d2d2c9b9b5b322668.tar.gz core-6265876ae9f1bb862440182d2d2c9b9b5b322668.zip |
iOS tiled rendering work
Possibly quite broken intermediate commit. But anyway, now it is
possible to render the tile diretly to a CGContext. Can be seen in
the MobileLibreOffice app when build in the Debug_tile_tester
configuration. See touch_lo_draw_tile() in viewsh.cxx. Unfortunately
the old plain LibreOffice test app is now broken, though, and
displays nothing at all.
This refactoring and hacking in vcl was done in a quite ugly fashion,
with ifdefs etc. But trust me, I did try, several times, for many
days, to get where I wanted in an elegant and clean fashion. But doing
it cleanly meant not being able to actually build it for days while
trying to figure ut which bits go where and which class should be
split into what base and derived class(es), and it was too much for my
limited brain capacity. I just couldn't juggle all the vcl class
structure in my head, especially as I don't have any good
understanding of the general design of it all.
Change-Id: Ia59d6a9cce15a63e63f94e8d8574bef21993fb1f
Diffstat (limited to 'vcl/ios')
-rw-r--r-- | vcl/ios/iosinst.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 0b3f69fafbfb..bcef6292d8e3 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -248,7 +248,9 @@ SalData::SalData() : m_pInstance( 0 ), m_pPlugin( 0 ), m_pPIManager(0 ), - mpFontList( 0 ) + mpFontList( 0 ), + mxRGBSpace( CGColorSpaceCreateDeviceRGB() ), + mxGraySpace( CGColorSpaceCreateDeviceGray() ) { } |