Change trace category for image data judgement in GpuImageDecodeCache
This modification changes two trace operations for "GetDecodedImageForDraw()" and "DrawWithImageFinished()" from "cc"to "cc.debug" category. While running Canvas 2D workloads with quite a lot canvas elements to be drawn, excessive trace operations introduce expensive performance overheads, especially for those hardware platforms with integrated graphics cards or old graphics drivers. Bug: 1051385 Change-Id: I7cb1b7a3afcb207ac6b7791f21dc621a20e42864 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2059771Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#745468}
Showing
Please register or sign in to comment