diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-01-15 11:26:49 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-01-16 16:34:44 +0100 |
commit | b43255af2d8f9f7cc8c1e5ed15de398695b29048 (patch) | |
tree | fb7dfd610496b8a11d7a00c83756f3a41e21d5b1 /vcl/inc/skia | |
parent | dfe106c8a939ef051135bb6d546ba2d50afa766e (diff) |
limit the area where we manually do xor drawing in Skia
Just in case. Without this vcldemo starts rather slowly, because
it does xor drawing extensively (although I expect vcldemo is
a rather unrealistic use case).
Change-Id: Id6b0893d93f82d63863a3bbc520804e03b31cc0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86834
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r-- | vcl/inc/skia/gdiimpl.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index fd7cafc387db..f1ddc20bdf01 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -275,6 +275,7 @@ protected: bool mXorMode; SkBitmap mXorBitmap; std::unique_ptr<SkCanvas> mXorCanvas; + SkRect mXorExtents; // the area that needs updating for the xor operation (or empty for all) std::unique_ptr<SkiaFlushIdle> mFlush; }; |