[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - vcl/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 24 16:17:59 UTC 2021


 vcl/source/bitmap/BitmapScaleSuperFilter.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 26da6f400b098aee119c0afce956891e84bd64a6
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Jun 24 12:29:10 2021 +0300
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Thu Jun 24 18:17:20 2021 +0200

    Add ProfileZone to 24- and 32-bit scaleDown/Up in BitmapScaleSuperFilter
    
    Change-Id: Ibc98d1e5ba24f98c437468d3f9a469725892e7d0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117773
    Tested-by: Michael Meeks <michael.meeks at collabora.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
index bd6b7bd00b56..af57c98e7dcd 100644
--- a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
+++ b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <comphelper/profilezone.hxx>
 #include <comphelper/threadpool.hxx>
 
 #include <tools/helpers.hxx>
@@ -127,6 +128,7 @@ public:
 
 void scaleUp32bit(ScaleContext &rCtx, long nStartY, long nEndY)
 {
+    comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleUp32bit");
     const int nColorComponents = 4;
 
     const long nStartX = 0;
@@ -261,6 +263,7 @@ void scaleUpPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY)
 
 void scaleUp24bit(ScaleContext &rCtx, long nStartY, long nEndY)
 {
+    comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleUp24bit");
     const int nColorComponents = 3;
 
     const long nStartX = 0;
@@ -351,6 +354,7 @@ void scaleUpNonPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY)
 
 void scaleDown32bit(ScaleContext &rCtx, long nStartY, long nEndY)
 {
+    comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleDown32bit");
     const int constColorComponents = 4;
 
     const long nStartX = 0;
@@ -746,6 +750,7 @@ void scaleDownPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY)
 
 void scaleDown24bit(ScaleContext &rCtx, long nStartY, long nEndY)
 {
+    comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleDown24bit");
     const int constColorComponents = 3;
 
     const long nStartX = 0;


More information about the Libreoffice-commits mailing list