summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-09-25 17:36:46 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-10-06 15:36:21 +0200
commite8c73ac916ce5cb0492c1d1ba817e59b8df34158 (patch)
tree42e1f143f5cce889a604c10ca6e44eaf899b38ea /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
parent2f268b40b290c4513d2d06b75ad681b5550eeaa8 (diff)
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.h14
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 189d5be98b..fc61905862 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;