summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-03-30 22:12:55 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-03-30 22:12:55 (GMT)
commit1f695f65df9d78dc10c0277a9914c65902168c1c (patch)
tree085c45157d96c9e4ac0cc1398243a39d7c873245
parentca119ee4b440c1ebbd456417a60167e2998de4d9 (diff)
downloadQt-1f695f65df9d78dc10c0277a9914c65902168c1c.zip
Qt-1f695f65df9d78dc10c0277a9914c65902168c1c.tar.gz
Qt-1f695f65df9d78dc10c0277a9914c65902168c1c.tar.bz2
Take out todos that have been done
Clipping for drawLines works fine. textureBrushes are now accelerated Reviewed-by: TrustMe
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index da4f367..90fc446 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -380,7 +380,6 @@ void QDirectFBPaintEnginePrivate::setPen(const QPen &p)
void QDirectFBPaintEnginePrivate::setBrush(const QBrush &b)
{
- // TODO: accelerate texture pattern
brush = b;
simpleBrush = (brush.style() == Qt::NoBrush) ||
(brush.style() == Qt::SolidPattern && !antialiased);
@@ -509,8 +508,6 @@ void QDirectFBPaintEnginePrivate::drawLines(const QLine *lines, int n) const
for (int i = 0; i < n; ++i) {
const QLine l = transform.map(lines[i]);
- // TODO: clip!
-
regions[i].x1 = l.x1();
regions[i].y1 = l.y1();
regions[i].x2 = l.x2();
@@ -526,8 +523,6 @@ void QDirectFBPaintEnginePrivate::drawLines(const QLineF *lines, int n) const
for (int i = 0; i < n; ++i) {
const QLine l = transform.map(lines[i]).toLine();
- // TODO: clip!
-
regions[i].x1 = l.x1();
regions[i].y1 = l.y1();
regions[i].x2 = l.x2();