aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkResourceCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-08-31 14:39:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-31 14:39:59 -0700
commitaba1dc8c6aa5cbc4f38ddfce757832359f200b54 (patch)
tree9c9ae11de774aa7d6658b291ef1b187a31916c19 /tests/SkResourceCacheTest.cpp
parentb2885d59bccb1c5045e52135c5dd7a85a57694fa (diff)
Move float<->byte conversions into Sk4f.
This lets us avoid conversions to [0.0, 1.0] space and rounding that aren't necessary for SkColorCubeFilter_opts.h. Dropping rounding on the way back to bytes means we'll see a bunch of off-by-1 diffs. Rough perf effect: SSSE3: 110 -> 93 (~15%) NEON: 465 -> 375 (~20%) This is the beginning of the end for SkPMFloat as an entity distinct from Sk4f. I've kept it for now so I can convert sites one by one and think about how things that really want to keep PM color order will work. BUG=skia:4117 Review URL: https://codereview.chromium.org/1319413003
Diffstat (limited to 'tests/SkResourceCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions