diff options
author | kkinnunen <kkinnunen@nvidia.com> | 2015-01-16 05:04:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-16 05:04:36 -0800 |
commit | 678c1b019ac98bc7d94841132c8105a77490bc64 (patch) | |
tree | b26d30e110f70891e1edf02e8509a1020ce4bb2c /trybots_to_run/chrome | |
parent | c695e954174e4a789631ea4d6e171bd7118ebc67 (diff) |
Fold alpha to the draw in savelayer-draw-restore patterns with non-opaque draw
Fold alpha of a save layer call to the subsequent draw call paint, even when
the draw call paint color is already non-opaque.
Comparing the difference of the unoptimized and the optimized call pattern
with all (layer alpha, draw alpha) combinations, this produces
off-by-one pixels ~50% of the time.
Reduces layers of current desk_carsvg.skp (recorded with cross-process
picture image filters allowed) from 122 to 115.
BUG=skia:3119
Review URL: https://codereview.chromium.org/840483005
Diffstat (limited to 'trybots_to_run/chrome')
0 files changed, 0 insertions, 0 deletions