summaryrefslogtreecommitdiff
path: root/vcl/quartz/salbmp.cxx
AgeCommit message (Collapse)Author
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann
Change-Id: Ia4c8920ce2ce44286c5042d4b5dbeaa41fe355cc
2014-12-11vcl: Add BitmapInfoAccess for bitmaps' metadata accessLouis-Francis Ratté-Boulianne
Change-Id: Iec9f8c7d8f7cded0aef9e017373e44387dc0b05c
2014-12-03vcl: Add dummy Replace to SalBitmap implementationsLouis-Francis Ratté-Boulianne
Change-Id: I2f8b11a3f7cb8872a1d8f6eeeae8ce3f30223496
2014-12-03Add dummy Erase to SalBitmap implementationsMatúš Kukan
Change-Id: I5790deb9ab5af6f8678c964af5321264d3bce733
2014-11-24coverity#1255909 Uninitialized scalar fieldCaolán McNamara
Change-Id: I162199233c9d3feb03e7ab33b777174b2a03035a Reviewed-on: https://gerrit.libreoffice.org/13104 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-19Add dummy Crop to SalBitmap implementationsMatúš Kukan
Change-Id: Ib402395f5523a980c9ca098dcd2d8e1ecbbfa7c0
2014-11-10put these classes into an anonymous namespaceMarkus Mohrhard
Change-Id: I29a30fcc8adab34fbe05a927d438c4e34d5c517b
2014-11-10vcl: Allow SalBitmap implementation to do scalingLouis-Francis Ratté-Boulianne
Change-Id: If4431fb276c9c2629acbc95aeff2ef7c4a683d86
2014-09-03What is a ridiculous size in 32-bit code is also ridiculous in 64-bit codeTor Lillqvist
Avoids the CppunitTest_vcl_filters_test allocating an insane amount of memory when run as 64-bit on OS X. Change-Id: I978347849c2cf5fd1663e5a85a788b736e239e94
2014-04-23Avoid integer overflowStephan Bergmann
Change-Id: Id429ad5ebb9bd1501292756db45d9fac76f26222
2014-04-11Put writing the CGImages behind the env var DBG_WRITE_CGIMAGESTor Lillqvist
Change-Id: I1eac909bfa0ff3a945c294a2d6f4cb1d454ac985
2014-04-10ImageIO does not handle CGImageMasksTor Lillqvist
Change-Id: Ie5a35f68041a9c65658b9ce569ed3202c8a72ecb
2014-04-10More iOS-only debugging hackery: write CGImages out as PNGs for inspectionTor Lillqvist
Change-Id: I966189a74414ea83b2ec7f5035cd7c9d4d674179
2014-04-10CF_TRACE also the CFRetain to avoid confusionTor Lillqvist
Change-Id: Iae712de4efbbe254ba381a036e2c84d5e27d5e40
2014-04-03Make it easier to catch code that assumes SalBitmaps are created pre-clearedTor Lillqvist
In a DBG_UTIL build fill the maContextBuffer and maUserBuffer of a QuartzSalBitmap with an easily recognized pattern. Helps catch situations where by coincidence they appear pre-filled with zeros most of the time and almost everything usually looks fine. Or is the QuartzSalBitmap implementation wrong, and SalBitmaps *should* be created filled with zeros? Change-Id: Ib5207779f2a47b9b7e539d8646b4128fea0ec150
2014-04-02Kill superfluous vertical whitespaceTor Lillqvist
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-04-01SimplifyTor Lillqvist
Change-Id: I9857afc5dd6652fc28be00bea81ad213712b3dc5
2014-03-31More CoreGraphics tracingTor Lillqvist
Change-Id: Idfb615063ec8822dee468883c844bab7dba7cf4c
2014-03-31More CoreGraphics tracingTor Lillqvist
Change-Id: I2fbdb95637ee77b444e1947405d64cdd2e0338af
2014-03-31Add SAL_INFOs for very detailed CoreGraphics tracingTor Lillqvist
One would think there would exist some kind of shim library that would automatically provide such traces, hmm. Change-Id: I568d02a2ac70078dee0280d1feb3eab7bbd43030
2014-03-20Bin some dead codeTor Lillqvist
Has been dead since bff2ddbbfb8a4cebee2cc223c3bba6a8d9ebc038, when we stopped using SvpSalVirtualDevice on iOS. Change-Id: I4403f61fac73596f1c7c3d11b2351c37173c970d
2014-02-28Add SAL_OVERRIDE markup for the vcl OS X and iOS code, and follow-up cleanupTor Lillqvist
Thanks to SAL_OVERRIDE, I found a couple of unused functions and several that were virtual even if they did not override anything and were not overridden in any derived class. Change-Id: I5981111d2fc38f75a384c52359546a973e772393
2014-02-26Remove visual noise from vclAlexander Wilms
Conflicts: vcl/source/app/settings.cxx vcl/source/window/dockmgr.cxx vcl/source/window/dockwin.cxx vcl/source/window/floatwin.cxx vcl/source/window/toolbox2.cxx Change-Id: Ie67681549a76e77064b09d4b5bf80fe4c6010341 Reviewed-on: https://gerrit.libreoffice.org/8339 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-11Bin old leftover debugging fprintfTor Lillqvist
Change-Id: Ia169881d8b13ce8b7e4d709ef831e638085ef3ab
2014-01-17fix dropshadow on iostsahi glik
2014-01-16fix rendering issues in iOS with aquatsahi glik
2014-01-06Resolves: #i123817# prepare codebase for updating to boost 1.55Herbert Dürr
(cherry picked from commit c31988351c10e9f3fd783730d95da34efd52c153) Conflicts: basic/source/comp/parser.cxx basic/source/comp/token.cxx dbaccess/source/ui/dlg/generalpage.cxx sc/source/ui/unoobj/chart2uno.cxx vcl/quartz/salbmp.cxx Change-Id: Ic9580f2d4a44959cb3e38906eb4153b2c2a54899
2013-12-14iOS tiled rendering workTor Lillqvist
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
2013-12-06Re-organize OS X and iOS code in vcl a bitTor Lillqvist
Now with the ATSUI code gone is a good time for some re-organisation. Get rid of "aqua" in file names and the separate "coretext" folders. CoreText is all we use now for OS X (and has always been so for iOS), so no need for a "coretext" folder, we can keep the CoreText-using code under "quartz". Keep OS X -specific code in "osx". Ditto for headers. Keep "Aqua" as part of class names for now, though. This is also preparation for planned further unification between OS X and iOS code. Change-Id: Ic60bd73fea4ab98183e7c8a09c7d3f66b9a34223
2013-05-24Newer boost is more picky with null pointersTor Lillqvist
Change-Id: I7a2bcd802ad9316696398a2e176dc03ea25baed1
2013-03-21Re-work the vcl aspects of the iOS portTor Lillqvist
Don't try to use similar code as for OS X to manage windows, events etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in the Android port, use the "headless" vcl backend. Do keep using CoreText, though, not FreeType & fontconfig. Start changing the iOS "Viewer" app to correspond to the Android "desktop" app (so it should be renamed). Work in progress since a long time, several crucial details still missing, but committing for now. Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
2013-01-19AquaSalBitmap and IosSalBitmap were identical so unifyTor Lillqvist
Call it QuartzSalBitmap. The more we get rid of that "Aqua" term the better. Aqua is the name of a visual theme, not of an API. The Quartz 2D API is shared between OS X and iOS.