summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-06-09 11:02:47 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-06-09 12:06:14 (GMT)
commit6495eb4953c5fca93d8cfe91c66b50ce82ce24cb (patch)
treeceeac7a31bf558425e3f6e927941da741cf35a35 /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
parent73ea2f5766d2c0925af1bee7037610c2c75e89c4 (diff)
downloadQt-6495eb4953c5fca93d8cfe91c66b50ce82ce24cb.zip
Qt-6495eb4953c5fca93d8cfe91c66b50ce82ce24cb.tar.gz
Qt-6495eb4953c5fca93d8cfe91c66b50ce82ce24cb.tar.bz2
Optimized stencil buffer clearing in GL 2 paint engine.
Based on Zack's patch, 17e1bca1ce366395f8331e16aa96b7176ca1abac. Instead of manually clearing the stencil buffer after drawing we simply do the clearing and drawing in one go. Reviewed-by: Trond
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 2cea8d6..db39ced 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
@@ -174,7 +174,6 @@ public:
// ^ Composites the bounding rect onto dest buffer
void fillStencilWithVertexArray(QGL2PEXVertexArray& vertexArray, bool useWindingFill);
// ^ Calls drawVertexArrays to render into stencil buffer
- void cleanStencilBuffer(const QGLRect& area);
void prepareForDraw(bool srcPixelsAreOpaque);