summaryrefslogtreecommitdiff
path: root/vcl/source/window/event.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-08 12:19:18 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-10 11:17:18 +0200
commitca5dbaa1b00c93461a8f0ebcf5dc420320e13ff9 (patch)
tree485685d012cab7e61742d3af32441f10a7c83657 /vcl/source/window/event.cxx
parentdb75c4e194cb97aa4e352fa38a45c012ce597e30 (diff)
initial implementation of Skia drawing on screen in Windowsprivate/llunak/skia
Change-Id: I1562bd2cfd1862947042bef3343aefd851a65002
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r--vcl/source/window/event.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index c8c6b730e1dd..f962b57c209f 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -22,6 +22,7 @@
#include <vcl/dockwin.hxx>
#include <vcl/layout.hxx>
#include <vcl/opengl/OpenGLWrapper.hxx>
+#include <vcl/skia/SkiaHelper.hxx>
#include <sal/log.hxx>
#include <window.h>
@@ -517,10 +518,12 @@ void Window::ImplCallResize()
#if HAVE_FEATURE_OPENGL
if( OpenGLWrapper::isVCLOpenGLEnabled() )
Invalidate();
-
- // Normally we avoid blanking on re-size unless people might notice:
else
#endif
+ if( SkiaHelper::isVCLSkiaEnabled() ) // TODO
+ Invalidate();
+ // Normally we avoid blanking on re-size unless people might notice:
+ else
if( GetBackground().IsGradient() )
Invalidate();