summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpainter
Commit message (Collapse)AuthorAgeFilesLines
* Fixed segmentation fault caused by empty clip.Samuel Rødal2009-06-171-0/+19
| | | | | | | | Make sure not to use the broken QRect constructor, and do an early check on whether the clip rect is empty in QRasterizer::rasterizeLine(). Task-number: 254105 Reviewed-by: Trond
* Update license headers as requested by the marketing department.Jason McDonald2009-06-162-4/+4
| | | | Reviewed-by: Trust Me
* Fixed raster bug causing fully clipped images to be partially blended.Samuel Rødal2009-06-031-0/+26
| | | | | | | | | | | The blend functions assume the width / height of the images being blended to be greater than 0. A width of 0 caused the first iteration of a duff's device memcpy (QT_MEMCPY_USHORT) to be executed, thus blending 8 pixels instead of none. BT: yes Task-number: 255014 Reviewed-by: Trond
* Fixed bug where 0-opacity would cause images to be drawn fully opaque.Samuel Rødal2009-05-051-0/+18
| | | | | | | | | The bug appears in the raster paint engine and only in release mode as the cause of the bug is in the MMX and SSE blend functions which are disabled in debug. To prevent it simply we return early if we detect that we have an opacity of 0. Reviewed-by: Trond
* Fix crash in drawPixmap when painting on a null pixmapSamuel Rødal2009-04-221-0/+3
| | | | | | We need to check if the engine is null before we do the thread test. Reviewed-by: Thiago
* Remove obsolete code from autotests.Jason McDonald2009-04-161-17/+0
| | | | | | | | Each version of Qt has its own set of autotests, therefore preprocessor directives relating to obsolete QT_VERSION's are not necessary. Reviewed-by: Carlos Duclos
* compile for systems without Qt3SupportMaurice Kalinowski2009-04-061-1/+1
| | | | | | Reviewed-by: joerg QTest::newRow only accepts char* and without Qt3Support there is no implicit cast available.
* Fix missing fills of rects with negative width/height in raster engine.Samuel Rødal2009-03-301-0/+21
| | | | | | | Call isEmpty() on the normalized rect instead of the original rect. Task-number: 247505 Reviewed-by:
* Rendering error (one pixel offset) when drawing ARGB32_PM on RGB16.Samuel Rødal2009-03-241-0/+74
| | | | | | | Missing increments in the blend function's tail code. Task-number: 247492 Reviewed-by: Paul
* Long live Qt 4.5!Lars Knoll2009-03-23187-0/+4570