summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-03-24 14:10:01 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-04-16 08:42:05 (GMT)
commitd4eb0a29e73eb1f6c7e2909e6ae0302605927e02 (patch)
tree5ef1d2dc8b588e1bd223ce42887cf77a5da0ea59 /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
parentfbce782f1d566c318737bf7e5ab55d0a66fb2a2c (diff)
downloadQt-d4eb0a29e73eb1f6c7e2909e6ae0302605927e02.zip
Qt-d4eb0a29e73eb1f6c7e2909e6ae0302605927e02.tar.gz
Qt-d4eb0a29e73eb1f6c7e2909e6ae0302605927e02.tar.bz2
GL2: Avoid expensive updateDepthClip() every time setState() is called
Only call updateDepthClip() if the clip has actually changed.
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
index 9f84a25..10e5337 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
@@ -67,7 +67,6 @@ public:
QRegion clipRegion;
bool hasClipping;
- QRect fastClip;
};