diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-25 15:36:46 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-10-06 13:36:21 (GMT) |
commit | e8c73ac916ce5cb0492c1d1ba817e59b8df34158 (patch) | |
tree | 42e1f143f5cce889a604c10ca6e44eaf899b38ea /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | |
parent | 2f268b40b290c4513d2d06b75ad681b5550eeaa8 (diff) | |
download | Qt-e8c73ac916ce5cb0492c1d1ba817e59b8df34158.zip Qt-e8c73ac916ce5cb0492c1d1ba817e59b8df34158.tar.gz Qt-e8c73ac916ce5cb0492c1d1ba817e59b8df34158.tar.bz2 |
Renamed GL 2 engine variables to be clip buffer agnostic.
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h index 189d5be..fc61905 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h @@ -82,11 +82,11 @@ public: QOpenGL2PaintEngineState(); ~QOpenGL2PaintEngineState(); - bool needsDepthBufferClear; + bool needsClipBufferClear; - bool depthTestEnabled; + bool clipTestEnabled; bool scissorTestEnabled; - uint currentDepth; + uint currentClip; bool canRestoreClip; QRect rectangleClip; @@ -223,7 +223,7 @@ public: QRegion dirtyStencilRegion; QRect currentScissorBounds; - uint maxDepth; + uint maxClip; const QBrush* currentBrush; // May not be the state's brush! @@ -240,10 +240,10 @@ public: QGLEngineShaderManager* shaderManager; - void writeClip(const QVectorPath &path, uint depth); - void updateDepthScissorTest(); + void writeClip(const QVectorPath &path, uint value); + void updateClipScissorTest(); void setScissor(const QRect &rect); - void regenerateDepthClip(); + void regenerateClip(); void systemStateChanged(); uint use_system_clip : 1; |