summaryrefslogtreecommitdiff
path: root/vcl/headless
AgeCommit message (Collapse)Author
2016-01-20replace use of basebmp in vcl entirely nowCaolán McNamara
we're just using it to store bitmap data and to convert to preferred destination format, so we can use the preexisting vcl BitmapBuffer for that Change-Id: I0e800956d95faddfafa53d2c48b09494a7a867c0
2016-01-19either copy the whole thing exactly, or convert between typesCaolán McNamara
Change-Id: Ied1b4f81e2e851b639cc9a514659160b8571e92f
2016-01-19only use of clone is to copy, so do thatCaolán McNamara
Change-Id: I75cfb96e4afd69fd0f6a6716ce4be282aa8d3b14
2016-01-19always copying the full bitmap, not just a portion of itCaolán McNamara
Change-Id: Ib3e10d188c3f0d1bde40653d783f98ebfaed423c
2016-01-18devices are always top-down nowCaolán McNamara
and remove some more unused out of tests code Change-Id: Ie63b03d1de754038d5477112ddfc9266dbf93709
2016-01-18svp: use SalColor instead of basebmp::ColorCaolán McNamara
Change-Id: I611dad8d218f5b82903743cb15a5c2a36cc6ba5d
2016-01-18basebmp now only used from vcl/headless codeCaolán McNamara
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
2016-01-18Remove newly unused includesStephan Bergmann
Change-Id: I089160e7f5f3f2c8f2ac2443793822cc05a3d552
2016-01-18dbgOut is unused nowStephan Bergmann
since dc01e9db6fc6126b8f21bcbeb6145daf2c8941bf "svp: implement drawMask via cairo" Change-Id: I00837048e33d61ddef8b8c4a4537e460838ce22c
2016-01-18fix older cairo buildCaolán McNamara
Change-Id: I24e715e8c0535daaf0284226fb9b8f7c8d7234c0
2016-01-18some android build fixesCaolán McNamara
Change-Id: I2d60a6d70ca9d63f49b12b5d4c3855cc4ef53478
2016-01-18drop now unused basebmp xor modeCaolán McNamara
Change-Id: If4d1a933f5ebf2154c377ef9a8596eb0962d43d3
2016-01-18drop unneeded headersCaolán McNamara
Change-Id: I2923f948597870039dd60922f7bd8f6953dced3a
2016-01-18svp: implement drawMask via cairoCaolán McNamara
Change-Id: Iafb49b4258ffeab98cdf07a175ee7234e106e04c
2016-01-18svp: replace basebmp surfaces with native cairo surfacesCaolán McNamara
so we can then a) drop all of our own clipping code in favour of cairos clipping code b) just pass cairo surfaces around the place instead of constantly creating and tearing down surfaces based on basebmp data c) we can additionally drop various flushing of the surfaces as it doesn't matter anymore d) use a lot less of our own code and far more of some one elses hopefully more drawing optimized code e) seeing as the graphics context are always cairo now, then they are always cairo compatible, so those checks can go also still need to figure out drawMask Change-Id: I320cd14cdc714ea59d00e90233f1171f821cf953
2016-01-18tweak drawLine in face of 1bit behaviorCaolán McNamara
Change-Id: I602b800993b7478b302fe0c368a5db9fc9993465
2016-01-18svp: implement getPixel via cairoCaolán McNamara
Change-Id: Idaf0c27e84d561fc6486bdf4e383de1dbdd615cc
2016-01-18svp: implement getBitmap via cairoCaolán McNamara
Change-Id: Ica3220c6932143726bb3fa813541e14f36b22e8d
2016-01-18refactor to reuseCaolán McNamara
Change-Id: Ifee1b845eb4c46f35a4ad0b45bf49320772e9569
2016-01-18svp: vcl and cairo have a difference of opinion on fg/bg of 1bit masksCaolán McNamara
Change-Id: I3702e5a1ba0e64868f7f537aaa6040449bd82e8b
2016-01-18route other drawBitmap through cairoCaolán McNamara
Change-Id: I18336a7b0479c9a57f0951daadac4dfed422e5c4
2016-01-18svp: route copyArea through cairoCaolán McNamara
Change-Id: I9cc6abc7f32d25c0cc82730e4416c335a94cbabb
2016-01-18svp: route copyBits through cairoCaolán McNamara
Change-Id: I9521f7fecc59197efb17526a365cf4c9b259975f
2016-01-18merge ApplyPaintMode into getCairoContextCaolán McNamara
Change-Id: Iad99c2fc0251cbc7da79148e7ea6e2d93e05945e
2016-01-18drop newly unused m_aDrawMode nowCaolán McNamara
Change-Id: Ia5295490a8e4bbc29a84f362b2f5c1a8f4019329
2016-01-18svp: route another drawBitmap variant through cairoCaolán McNamara
Change-Id: I55c9cc9d5110429d2829a6030a9254d586c0a5c7
2016-01-18reroute line drawing through cairo pathCaolán McNamara
Change-Id: Icee447ac83094a1e90b5e7c15e6a34d626d49629
2016-01-18svp: reroute setPixel through cairo pathCaolán McNamara
Change-Id: I0f518048f6cfd5897a4cd79d0ad717fc91fb10bd
2016-01-18svp: improve cairo polygon drawing now that more routes through itCaolán McNamara
taking the quartz tweaks for cairo Change-Id: Ifbbf994b19dda632d5535bf6a9ab29ed3c1b76ef
2016-01-18svp: emulate XOR in cairo paths when necessaryCaolán McNamara
Change-Id: I05a4803e327b812c18c9f5bfcbb0bea8296da46c
2016-01-18svp: merge duplicates to releaseCairoContextCaolán McNamara
Change-Id: If264694fab93b4de1267330f9596c7d9df09c554
2016-01-18svp: draw rectangles with cairo where possibleCaolán McNamara
Change-Id: I34f09344e219723f87956a97db0a03023882ea7d
2016-01-18svp: draw polypolygons with cairo where possibleCaolán McNamara
Change-Id: I0eae1ad8de99c24478271cf66a59e860dd69389b
2016-01-18svp: implement other invert variantCaolán McNamara
factor out the shared body Change-Id: Ida87e16422effdca63f81e743478633def1922fa
2016-01-18svp: like quartz implement ROP_INVERT via differenceCaolán McNamara
Change-Id: If128bd787dd2577c90d8398fb4bbca5d01c1d552
2016-01-18svp: draw polygons with cairo where possibleCaolán McNamara
Change-Id: Ieb4cb175c46ee965c84705a2e2c1d4a4fef2a4e6
2016-01-18svp: implement drawTransformedBitmap via cairoCaolán McNamara
Change-Id: I90e263bb95f0ada98488c6a80946cbfd7ecf77c7
2016-01-18svp: refactor for reuseCaolán McNamara
Change-Id: I664d09c3f87338b44647cb816bffe315af03d53f
2016-01-14vcl: change ImplFontMetricData to be reference counted via intrusive_ptrChris Sherlock
Change-Id: Ie9f5fbd21a6223520cbea3af6436beb407d7a88c Reviewed-on: https://gerrit.libreoffice.org/21477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-12vcl: resplit FontAttributes from ImplFontMetricDataChris Sherlock
The change I made in commit 7b974e056df3 ("vcl: merge ImplFontMetricData with ImplFontAttributes") was... ill-advised. For starters, there really needs to be this split as FontSelectPattern needs it, and PhysicalFontFace only requires the font attributes, not the metric data. So the merge was unfortunately, in my mind, a failure and I'm manually backing it out now. Change-Id: Iac38f0815f984541e2f55099c965376dd88eeb43 Reviewed-on: https://gerrit.libreoffice.org/21380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/app/ files to vcl/unx/generic/appChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: Idba1e9bbe14d8a4bb8e5dd2c2ad1dc75458da53c Reviewed-on: https://gerrit.libreoffice.org/21335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/print files to vcl/unx/generic/printChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: I6008a272c4b961a12702e2ef8727c56df9e80164 Reviewed-on: https://gerrit.libreoffice.org/21334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move all glyph files from generic to unxChris Sherlock
All the files in glyph are only used by Unix based systems, with the exception of OS X. Therefore, it's not really "generic" as in "used across all platforms" but is generic as in "used in all Unix-based systems". Change-Id: Id89c09df74f0ddafee5c88c55bac4c35f9b23ef8 Reviewed-on: https://gerrit.libreoffice.org/21312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: promote ImplFontAttributes to FontAttributesChris Sherlock
ImplFontAttributes is no longer merely a pImpl (or "compilation firewall", take your pick) but is a fully fledged class in its own right that is used by a number of classes, including FontSelectPattern, LogicalFontInstance and PhysicalFontFace. Thus I'm "promoting" the use of this class in the codebase. Change-Id: I26866080a64796978d1c25efbcd16e3e6f94aaa5 Reviewed-on: https://gerrit.libreoffice.org/21305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-04vcl: split classes out of metric.hxxChris Sherlock
Change-Id: Id3b155abec7b7a2ff43d0a35e98709f5ee51c6b9 Reviewed-on: https://gerrit.libreoffice.org/21069 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: rename variables from metric names to font attribute namesChris Sherlock
Change-Id: Ib0a3d82af858304bf63a20bcb30b8de741491935 Reviewed-on: https://gerrit.libreoffice.org/21054 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: merge ImplFontMetricData with ImplFontAttributesChris Sherlock
Change-Id: Ia2fe20559745e705667f23cdd73cbe50c6371aaa Reviewed-on: https://gerrit.libreoffice.org/21053 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-12-27sal_uIntPtr to sal_uInt32, int to sal_uInt32/sal_uInt64Matteo Casalin
Change-Id: Ib86d6b63d16f24f3c5e17981562d100e247dc267
2015-12-24loplugin:unnecessaryvirtualNoel Grandin
and unwind some apparently now unused VCL OpenGL and GlyphCachePeer stuff. Change-Id: Ic85302d4e1ad4056dabc49c97a608891052e3167 Reviewed-on: https://gerrit.libreoffice.org/20920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623