Chromium Code Reviews
DescriptionAvoid unnecessary clipping of gradient/generated images
Refactor GradientGeneratedImage::draw() to
a) use an adjusted draw rect instead of explicit/unconditional clipping
b) completely avoid save/restores when not needed (identity transform)
This speeds up Animometer/CSS Bouncing Gradient Circles by ~25% in
software mode (no noticeable improvement for Ganesh).
BUG=603966
R=schenney@chromium.org,reed@google.com
Committed: https://crrev.com/26528184b3b96533811a96106193d33dd8693e87
Cr-Commit-Position: refs/heads/master@{#392145}
Patch Set 1 #Patch Set 2 : simplify with MakeRectToRect #Patch Set 3 : expectations #
Messages
Total messages: 11 (4 generated)
|
||||||||||||||||||||||||||||