diff options
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 4883d0f938df..df2e91449565 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -80,6 +80,8 @@ protected: bool mbUseScissor; bool mbUseStencil; + bool mbXORMode; + /** * All rendering happens to this off-screen texture. For * non-virtual devices, ie. windows - we will blit it and @@ -152,8 +154,11 @@ public: */ bool IsOffscreen() const { return mpProvider == nullptr || mpProvider->IsOffScreen(); } + /// Oddly not all operations obey the XOR option. + enum XOROption { IGNORE_XOR, IMPLEMENT_XOR }; + // operations to do before painting - void PreDraw(); + void PreDraw(XOROption eOpt = IGNORE_XOR); // operations to do after painting void PostDraw(); |