From 4c66018c97efd038ea077b395aede6eafa6be726 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 21 Dec 2020 18:35:11 +0900 Subject: [PATCH] sw_engine log: + log clipPath case. These functions are one of special compositions. --- src/lib/sw_engine/tvgSwRle.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/sw_engine/tvgSwRle.cpp b/src/lib/sw_engine/tvgSwRle.cpp index c53db097..c0b7653c 100644 --- a/src/lib/sw_engine/tvgSwRle.cpp +++ b/src/lib/sw_engine/tvgSwRle.cpp @@ -944,6 +944,10 @@ void rleClipPath(SwRleData *rle, const SwRleData *clip) updateRleSpans(rle, spans, spansEnd - spans); if (spans) free(spans); + +#ifdef THORVG_LOG_ENABLED + printf("SW_ENGINE: Using ClipPath!"); +#endif } void rleClipRect(SwRleData *rle, const SwBBox* clip) @@ -957,6 +961,10 @@ void rleClipRect(SwRleData *rle, const SwBBox* clip) updateRleSpans(rle, spans, spansEnd - spans); if (spans) free(spans); + +#ifdef THORVG_LOG_ENABLED + printf("SW_ENGINE: Using ClipRect!"); +#endif }