summaryrefslogtreecommitdiff
path: root/basebmp/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-03-25Add some debugging printoutTor Lillqvist1-0/+2
Change-Id: Iea0decde41be8b9325b19651433f1b3b79f851a9
2012-07-18re-base on ALv2 code. Includes:Michael Meeks9-308/+226
reportbuilder, license file not needed. Patch contributed by Armin Le Grand http://svn.apache.org/viewvc?view=revision&revision=1305814 Adapting extras/ to our wordbook setup.
2012-06-19re-base on ALv2 code.Michael Meeks24-570/+354
2012-06-11Avoid misleading term "factory method", just say "function"Tor Lillqvist1-6/+6
Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
2012-06-07Add two new 32bpp formats and add helpful commentsTor Lillqvist2-16/+69
For Android (and perhaps iOS) we need a 32bpp format with channels in RGBA order. Rename the (basebmp-internal) 32bpp PixelFormatTreats_* typedefs so that the channel order in their names matches the memory order of the channels. Change-Id: Ia8a74f6d44e0a2cffdf66a05ddf8fc7d6ae2a263
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann1-0/+3
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-02-13WaE: type name first seen using 'class' now seen using 'struct'Tor Lillqvist1-1/+1
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-2/+2
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2011-11-15Fix clipped line renderer.Thorsten Behrens2-25/+40
Fix for a nasty corner case where supposedly clipped pixel were still rasterized (see polytest.cxx:implTestPolyDrawClip for what failed previously). Added much more unit tests while at it, clippedlinerenderer.hxx should now have 100% coverage.
2011-11-04This looks wrong for sure, too.Thorsten Behrens1-4/+4
2011-11-04Put BitmapDevice::getPixelData() back.Thorsten Behrens1-0/+10
Slight tweak of d0d62edf3f398e9ddb2fd0f1f5fbe1dd0393ff47 - getPixel() and getPixelData() are complementary functions, similar in spirit to const and non-const getters. Added unit test for it to avoid flagging it for removal again.
2011-11-03Cleanup basebmp a littleJoseph Powers4-493/+2
I removed 2 unused headers. I also stopped delivering a lot of headers that no one outside of basebmp cared about. I also removed the unused methods: basebmp::BitmapDevice::getPaletteEntryCount() const basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&)
2011-11-03Fix one more subtlety around B2IBox / B2IRange changes.Thorsten Behrens2-12/+12
The Cohen/Sutherland clip flag routine was not aware of B2IBox, thusly yielding incorrect line clipping for BitmapDevice software rendering. Cleaned that up, added some more unit tests around the problem, and removed the now-extraneous maLineClip member from the bitmap device.
2011-11-02Move BitmapDevice to use B2IBox instead of B2IRange.Thorsten Behrens4-48/+48
Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code.
2011-11-02Keep basebmp free of naked ptrs.Thorsten Behrens1-16/+30
Moved the implementation detail that SalFrames lifetime is handled manually in vcl out of basebmp & into vcl. Added lightweight wrapper class to decouple damagetracker lifetime from GtkFrame lifetime.
2011-09-02Add a foodllapi.h file here too and use itTor Lillqvist3-9/+45
Factor out the DLLPUBLIC dance from bitmapdevice.hxx to a separate headers as is the normal convention. Decorate the new debugDump() with BASEBMP_DLLPUBLIC in the header. Otherwise the definition (which uses SAL_DLLPUBLIC_EXPORT) doesn't match the declaration.
2011-07-21resyncing to masterBjoern Michaelsen1-2/+11
2011-07-12initial cut at damage tracking supportMichael Meeks1-2/+11
2011-06-19Merge branch 'master' into feature/gnumake4Bjoern Michaelsen34-3/+113
Conflicts: basebmp/prj/d.lst basebmp/test/basictest.cxx basebmp/test/makefile.mk basegfx/inc/basegfx/basegfxdllapi.h basegfx/inc/basegfx/tools/debugplotter.hxx basegfx/inc/basegfx/tuple/b2ituple.hxx basegfx/prj/d.lst basegfx/source/numeric/makefile.mk basegfx/source/polygon/makefile.mk basegfx/source/range/makefile.mk basegfx/source/raster/makefile.mk basegfx/source/tuple/makefile.mk basegfx/source/vector/makefile.mk basegfx/test/basegfx1d.cxx basegfx/test/makefile.mk basegfx/util/makefile.mk canvas/Library_canvasfactory.mk canvas/Module_canvas.mk canvas/prj/build.lst canvas/prj/d.lst canvas/source/cairo/cairo_canvashelper_texturefill.cxx canvas/source/cairo/makefile.mk canvas/source/tools/makefile.mk comphelper/qa/string/makefile.mk cppcanvas/Module_cppcanvas.mk cppcanvas/inc/cppcanvas/cppcanvasdllapi.h cppcanvas/prj/build.lst cppcanvas/prj/d.lst cppcanvas/source/mtfrenderer/makefile.mk cppcanvas/util/makefile.mk i18npool/source/search/makefile.mk regexp/Library_regexp.mk regexp/prj/d.lst sax/CppunitTest_sax.mk sax/Library_sax.mk sax/prj/d.lst sax/qa/cppunit/test_converter.cxx sax/source/expatwrap/attrlistimpl.hxx sax/util/makefile.mk svtools/Library_svt.mk tools/Executable_sspretty.mk ucbhelper/prj/d.lst ucbhelper/source/provider/configureucb.cxx ucbhelper/source/provider/provconf.cxx ucbhelper/util/makefile.mk unotools/Library_utl.mk unotools/Module_unotools.mk unotools/Package_inc.mk unotools/prj/build.lst vcl/Library_desktop_detector.mk vcl/Library_vcl.mk vcl/Library_vclplug_gtk.mk vcl/aqua/source/gdi/salprn.cxx vcl/inc/aqua/saldata.hxx vcl/unx/generic/gdi/salgdi3.cxx
2011-06-16CWS gnumake4: convert basegfx to new build system [hg:e8f9d107b59a]Mathias Bauer1-5/+5
2011-06-16CWS gnumake4: convert basebmp to new build system [hg:a0f3dc4a5f5a]Mathias Bauer1-1/+8
2011-02-08Remove last remaining SGI-ism from basebmpThorsten Behrens3-3/+11
Get rid of std::project2nd, which is an SGI extension to STL. Permits build against compiler-provided stl, no need for stlport anymore.
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth34-0/+102
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-05more removed include guards using fixguard.pyPetr Mladek1-0/+0
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien34-136/+34
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-10-10CWS-TOOLING: integrate CWS cmcfixes49Oliver Bolte1-2/+2
2008-06-24INTEGRATION: CWS canvas05 (1.3.34); FILE MERGEDKurt Zenker1-4/+16
2008/04/21 07:51:10 thb 1.3.34.2: RESYNC: (1.3-1.4); FILE MERGED 2007/10/01 12:21:24 thb 1.3.34.1: #i80285# Merged nonzero winding rule feature from picom
2008-04-11INTEGRATION: CWS changefileheader (1.1.46); FILE MERGEDRüdiger Timm4-92/+72
2008/03/31 13:07:57 rt 1.1.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.5.24); FILE MERGEDRüdiger Timm2-46/+36
2008/03/31 13:07:57 rt 1.5.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.9.24); FILE MERGEDRüdiger Timm1-25/+18
2008/04/01 15:00:51 thb 1.9.24.2: #i85898# Stripping all external header guards 2008/03/31 13:07:57 rt 1.9.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:57 rt 1.4.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.3.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:57 rt 1.3.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.3.46); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:57 rt 1.3.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.8.46); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:57 rt 1.8.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.2.46); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:57 rt 1.2.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.10.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.10.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.1.46); FILE MERGEDRüdiger Timm4-92/+72
2008/03/31 13:07:56 rt 1.1.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.8.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.8.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.7.42); FILE MERGEDRüdiger Timm1-25/+18
2008/04/01 15:00:51 thb 1.7.42.2: #i85898# Stripping all external header guards 2008/03/31 13:07:56 rt 1.7.42.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.2.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.2.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.3.46); FILE MERGEDRüdiger Timm3-69/+54
2008/03/31 13:07:56 rt 1.3.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.42); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.4.42.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.2.46); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.2.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.24); FILE MERGEDRüdiger Timm1-27/+18
2008/04/01 15:00:51 thb 1.4.24.2: #i85898# Stripping all external header guards 2008/03/31 13:07:56 rt 1.4.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.6.24); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.6.24.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.16.38); FILE MERGEDRüdiger Timm1-27/+18
2008/04/01 15:00:51 thb 1.16.38.2: #i85898# Stripping all external header guards 2008/03/31 13:07:56 rt 1.16.38.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.9.42); FILE MERGEDRüdiger Timm1-29/+18
2008/04/01 15:00:50 thb 1.9.42.2: #i85898# Stripping all external header guards 2008/03/31 13:07:56 rt 1.9.42.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.9.42); FILE MERGEDRüdiger Timm1-27/+18
2008/04/01 15:00:50 thb 1.9.42.3: #i85898# Stripping all external header guards 2008/04/01 12:26:00 thb 1.9.42.2: #i85898# Stripping all external header guards 2008/03/31 13:07:56 rt 1.9.42.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.46); FILE MERGEDRüdiger Timm2-46/+36
2008/03/31 13:07:56 rt 1.4.46.1: #i87441# Change license header to LPGL v3.
2008-04-11INTEGRATION: CWS changefileheader (1.4.12); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:07:56 rt 1.4.12.1: #i87441# Change license header to LPGL v3.