sw_engine log: + log clipPath case.

These functions are one of special compositions.
This commit is contained in:
Hermet Park 2020-12-21 18:35:11 +09:00
parent 438b7d6b02
commit 4c66018c97

View file

@ -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
}