diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-12 15:37:11 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-13 07:54:19 +0100 |
commit | a6fee2ca4c3bd502df755be64d2b62c1a4d2c1bb (patch) | |
tree | c5d51ca450836de201ac472a89a7705480f67248 /vcl/inc | |
parent | c4e494bc62faa810c1b373f2e6ba7142c2b1c88d (diff) |
vcl: Use scissor or stencil for clipping in OpenGL backend
Change-Id: Ib6620572391999d5f8124a1a8695909d6c48643d
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 3d1c585cb6ab..82bb919a5c3c 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -40,6 +40,10 @@ protected: SalVirtualDevice* mpVDev; int mnPainting; + // clipping + bool mbUseScissor; + bool mbUseStencil; + bool mbOffscreen; GLuint mnFramebufferId; OpenGLTextureSharedPtr mpOffscreenTex; |