diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-22 08:07:47 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-22 20:14:20 +0100 |
commit | fa77801f3e57ad94f077230a95bded1067f528e9 (patch) | |
tree | b121fac9c221f1d891d3267ebd6ee943c9ed99a1 /vcl/inc | |
parent | 5f86a6165bdedec4fbac2cf22a958245f52168be (diff) |
vcl: Track the GL context's clip region and update before drawing when needed
Change-Id: Ibec92851dc87f6696ee55a8db10fe160cd97d09c
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index cb06707daad5..85ec26298b8f 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -38,6 +38,7 @@ protected: OpenGLContext* mpContext; // clipping + vcl::Region maClipRegion; bool mbUseScissor; bool mbUseStencil; @@ -91,6 +92,7 @@ protected: GLuint mnRadialGradientEndColorUniform; GLuint mnRadialGradientCenterUniform; + void ImplInitClipRegion(); void ImplSetClipBit( const vcl::Region& rClip, GLuint nMask ); bool CheckOffscreenTexture(); |