diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-06-05 09:47:32 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-06-09 10:48:11 (GMT) |
commit | d6f171c9baa61858aea0db36fd8b1bd3219ffd0b (patch) | |
tree | bc2aa254f61623f0d7478ca12f1b1f8b714c8de8 /src/gui/painting/qpainter.h | |
parent | 2de2018a33ea45b32963378bb4f7ef24cd181485 (diff) | |
download | Qt-d6f171c9baa61858aea0db36fd8b1bd3219ffd0b.zip Qt-d6f171c9baa61858aea0db36fd8b1bd3219ffd0b.tar.gz Qt-d6f171c9baa61858aea0db36fd8b1bd3219ffd0b.tar.bz2 |
Improved clipping in GL2 paint engine.
Use the stencil method to draw clip paths and regions to the Z-buffer
instead of using glClear / glScissor. Using different depth values for
the various clip parts also makes restore() very cheap when only
IntersectClip is used.
As an additional bonus this patch gives antialiased clip in the GL 2
paint engine.
Task-number: 254658
Reviewed-by: Trond
Diffstat (limited to 'src/gui/painting/qpainter.h')
-rw-r--r-- | src/gui/painting/qpainter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpainter.h b/src/gui/painting/qpainter.h index f3df7a3..78cd713 100644 --- a/src/gui/painting/qpainter.h +++ b/src/gui/painting/qpainter.h @@ -507,6 +507,7 @@ private: friend class QFontEngineXLFD; friend class QWSManager; friend class QPaintEngine; + friend class QPaintEngineExPrivate; friend class QOpenGLPaintEngine; friend class QX11PaintEngine; friend class QX11PaintEnginePrivate; |