summaryrefslogtreecommitdiffstats
path: root/src/openvg/qpaintengine_vg.cpp
Commit message (Collapse)AuthorAgeFilesLines
* OpenVG: short-cut clipping for QPainterPath's that are just rectsRhys Weatherley2009-07-021-0/+50
| | | | | | | | | If the QPainterPath contains a structure that looks like a simple rectangle, then use the faster clip(QRect) function instead of a full VGPath-based render call. Task-number: QT-64 Reviewed-by: trustme
* OpenVG: override QPaintEngineEx::clip(QRect) and handle specially.Rhys Weatherley2009-07-021-2/+128
| | | | | | | | This change should improve performance of single-rectangle clip regions by avoiding the overhead of creating and intersecting QRegion objects. Task-number: QT-64 Reviewed-by: trustme
* OpenVG: use the correct clip region to detect single-rect clipsRhys Weatherley2009-07-011-2/+2
| | | | | | | | | | "Special case: if the intersection of the system clip and the region is a single rectangle, then use the scissor for clipping." It was doing the intersection but then didn't use the intersection to test for the single-rectangle case. Task-number: QT-64 Reviewed-by: trustme
* OpenVG compile fix - use const_cast instead of static_castRhys Weatherley2009-07-011-4/+4
| | | | Reviewed-by: trustme
* Integrate the OpenVG graphics system into Qt 4.6Rhys Weatherley2009-06-221-0/+3231
This change also moves the EGL support classes from QtOpenGL to QtGui so they can be shared between OpenGL and OpenVG.