DescriptionUse stack allocation for Android data in SkScalerContext::MakeRec().
In a perfvis run on the "Boogie" test page, descriptorProc() during
detachCache() was taking .721 ms, and 20% of that was the flatten() in
MakeRec(). Changing this to a smaller stack allocation reduces the time
for descriptorProc() to .556 ms.
Committed: https://skia.googlesource.com/skia/+/65b6fa177798089a3556643f765fbbca5a4a5185
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|