summaryrefslogtreecommitdiff
path: root/vcl/quartz/salgdiutils.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-06-17convert DBG_ASSERT in vclNoel Grandin1-2/+2
Change-Id: I732fb1a789f90ca7a7f393cc41a6afe84fecf3d3 Reviewed-on: https://gerrit.libreoffice.org/26200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-18basebmp now only used from vcl/headless codeCaolán McNamara1-2/+0
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann1-11/+11
Change-Id: I90a955eb3e485723bb81e7164edcf60f7b0e94c7
2015-11-05Comment the quartz off-screen buffering code.Michael Meeks1-0/+9
Change-Id: Ie9a52745a83ca6e4281faa4f1dc8b8ea7411badf Reviewed-on: https://gerrit.libreoffice.org/19805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-12cosmetic: clean-up vcl/quartzNorbert Thiebaud1-33/+41
Change-Id: I6f15e7ce90598eb4f8e7bb59c7c65d1aa333b972 Reviewed-on: https://gerrit.libreoffice.org/17661 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-04-02loplugin:redundantcastStephan Bergmann1-2/+2
Change-Id: I6095d1209f2339387e8562074daa32779089a018
2014-11-30move the iOS SalGraphics code back into the OSX oneMarkus Mohrhard1-20/+0
Conflicts: vcl/inc/headless/svpgdi.hxx Change-Id: I4cd9163bcbb8cdee21e5bce3303894923c4238d6
2014-06-03#i125020# allow antialiasing on all update borders for Aqua graphicsHerbert Dürr1-2/+5
(cherry picked from commit 513225be9cbadee6d8f7fd4e9910e10fc5ff571b)
2014-06-03#i125020# fix rounding error in AquaSalGraphics::RefreshRect()Herbert Dürr1-2/+2
Rounding left and width down can accumulate a rounding error of almost two in the calculation of right. The existing code compensates for this by increasing the width by two, but since left has been decremented by one to accommodate for antialiasing artifacts this compensation is one to few by itself and two to few when accounting for antialiasing artifacts on the right. Y-pos and height have the same problems and get the matching fix. (cherry picked from commit 073ec69fb970830d39c8700317ee74dbbdfd1fda)
2014-04-07Add CG_TRACEs to this (OS X -only) file, too, for completenessTor Lillqvist1-0/+22
Change-Id: Ib97ca36821b00b40bdda68da6ca0b4b7f789386c
2014-04-02Kill superfluous vertical whitespaceTor Lillqvist1-7/+0
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-03-24Fix a few problems in the iOS vcl codeTor Lillqvist1-88/+0
We don't need the headless SvpSalBitmap code after all on iOS, so bypass all of svpbmp.cxx for iOS. I accidentally had left duplicates for some AquaSalGraphics methods in headless/svpgdi.cxx in addition to the ones in quartz/salgdicommon.cxx. This is obviously bogus, the linker just picks the ones that come first in the archive. (Remember the ugly "#define SvpSalGraphics AquaSalGraphics" trick, so for instance SvpSalGraphics::setClipRegion actuall is AquaSalGraphics::setClipRegion.) It's the Quartz ones we want, as since the switch to tiled rendering the iOS vcl code is supposed to work much more like the OS X one. (There is still some significant refactoring to do there. Possibly no "headless" code needs to be used at all for iOS.) A couple of functions moved from salgdiutils.cxx (which isn't compiled for iOS) to salgdicommon.cxx. The SetState() function now gets used also on iOS, and to properly undo its CG context stacking I pop it in SetVirDevGraphics() when the virtual device is being destroyed. This fixed the rendering of some simple shapes that use overlapping and transparency, but not that of the "monster" SmartArts. Change-Id: I2bfaa4129e3641dbdd1dd240c1d07f9bdcfea1b8
2014-02-23Remove unneccessary commentsAlexander Wilms1-6/+6
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-01-24Related: #i123895# adjust VCL support for 64bit OSX portHerbert Dürr1-1/+1
(cherry picked from commit 677d987b931c509c4240840c4f21ccad2b518b12) Conflicts: vcl/aqua/source/a11y/aqua11ywrapperrow.mm vcl/inc/aqua/aquavcltypes.h vcl/inc/quartz/salgdi.h vcl/osx/DropTarget.cxx vcl/osx/salframe.cxx vcl/osx/salinst.cxx vcl/osx/salmenu.cxx vcl/osx/vclnsapp.mm Change-Id: I30d72e7caa1269982d176bc4d3baf604d5e7a84b
2013-12-19The "fake DPI scale" was always 1Tor Lillqvist1-2/+1
Thanks to kendy for noticing. Change-Id: I6b62d5a0c1dc5df374629a8f7c6e7d2f7cd7ffbd
2013-12-06Re-organize OS X and iOS code in vcl a bitTor Lillqvist1-0/+299
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