DescriptionFix imagemagnifier GM quality and speed.
The imagemagnifier GM was applying the filter both to a saveLayer()
restore() around the whole scene, as well as to each individual
text draw.
Applying the filter only in the saveLayer() makes it run ~20x faster
on my Linux box, and the quality is improved as well (since the
primitives are not double-filtered).
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/cbf6b6ecd5edca74aa9f78ea5b9a73fb955b8654
Patch Set 1 #Patch Set 2 : Add code review link #
Messages
Total messages: 6 (2 generated)
|