[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 16 13:15:08 UTC 2020
vcl/source/outdev/bitmap.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit fa47f9781fff89698a68353f9f37ea3ac6bda43c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 16 11:10:53 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 16 15:14:23 2020 +0200
tdf#134841 image totally clipped out
the clip region seems to be out of date, this looks similar to
the problem of
"compared to other public methods of OutputDevice this test was missing ...
one of the goals of the change was to use that method more often, so this may
have never been detected before"
where typical setup code was missing
commit 828504974d70111e4a35b31d579cf42fe660a660
Date: Fri Feb 21 16:58:17 2020 +0100
tdf#130768 speedup huge pixel graphics Cairo
Change-Id: Icd1495f3830b69ae207cad308e821257e3e5e44b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98892
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index ea29dc438119..83b625d828cb 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -1210,6 +1210,12 @@ void OutputDevice::DrawTransformedBitmapEx(
if ( !mpGraphics && !AcquireGraphics() )
return;
+ if ( mbInitClipRegion )
+ InitClipRegion();
+
+ if ( mbOutputClipped )
+ return;
+
#ifdef DO_TIME_TEST
// MM02 start time test when some data (not for trivial stuff). Will
// trigger and show data when leaving this method by destructing helper
More information about the Libreoffice-commits
mailing list