diff options
author | mtklein <mtklein@chromium.org> | 2014-11-25 10:05:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-25 10:05:43 -0800 |
commit | 785982ed80ce43653f64640d04dae7eaf5e2f809 (patch) | |
tree | c4d23b7b9f92f4255ceb011067014c41e559f339 /src/animator/SkPaintPart.h | |
parent | 6f78a6448b8532722eeb8ce1191caa1c3a999df8 (diff) |
Eliminate static initializers in SkColor_SSE2.h.
Chrome hates static initializers.
Two global masks can become a single local mask instead. Perf looks like a no-op:
$ c --match bitmaprect_80 bitmap_RGBA --config 8888
bitmap_RGBA_8888_scale 13.7us -> 14.1us 1.03x
bitmap_RGBA_8888_update_volatile 4.53us -> 4.6us 1.02x
bitmap_RGBA_8888 4.55us -> 4.61us 1.01x
bitmap_RGBA_8888_update 4.64us -> 4.67us 1.01x
bitmap_RGBA_8888_A_source_stripes_three 9.66us -> 9.71us 1.01x
bitmaprect_80_filter_identity 10.6us -> 10.5us 0.99x
bitmaprect_80_nofilter_identity 10.5us -> 10.4us 0.99x
TBR=reed@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/762453002
Diffstat (limited to 'src/animator/SkPaintPart.h')
0 files changed, 0 insertions, 0 deletions