summaryrefslogtreecommitdiff
path: root/vcl/inc/skia
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-11-05 12:51:31 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:15 +0100
commit402c8d916cf4687345a41be5fbb01c564768186a (patch)
tree5bdf4b9cff027e043f967ab64d62187c348c2f62 /vcl/inc/skia
parentf109a1ac6fdf0c878d53dfea6fceffd93248608f (diff)
pre-fill Skia bitmaps/surfaces with garbage in dbgutil mode
In order to be able to detect incorrect/missing drawing. Change-Id: I18b3f05c1fdff69b461f22e984e0aef3c4ce3364
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r--vcl/inc/skia/gdiimpl.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx
index 432f8f2512e5..0c70ce0705ee 100644
--- a/vcl/inc/skia/gdiimpl.hxx
+++ b/vcl/inc/skia/gdiimpl.hxx
@@ -237,6 +237,10 @@ protected:
};
static RenderMethod renderMethodToUse();
+#ifdef DBG_UTIL
+ void prefillSurface();
+#endif
+
SalGraphics& mParent;
/// Pointer to the SalFrame or SalVirtualDevice
SalGeometryProvider* mProvider;