vcl/source/bitmap/BitmapScaleSuperFilter.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 26da6f400b098aee119c0afce956891e84bd64a6 Author: Tor Lillqvist <[email protected]> AuthorDate: Thu Jun 24 12:29:10 2021 +0300 Commit: Michael Meeks <[email protected]> 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 <[email protected]> Reviewed-by: Michael Meeks <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
