aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-12-10 10:29:19 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-10 10:29:19 -0800
commitcc695fee81613dc92746c1c6bb27f45cfc6ce73e (patch)
tree965f9657a0abd991f114f25369c527bddd98b8f1 /include/core
parent6cfce1b7b4ad546b02823a1a0bbbda2c17b688f5 (diff)
Gradient shaders: make fPtsToUnit const, pre-cache getType().
This prevents races when calling fPtsToUnit.getType() from multiple threads. This introduces a small amount of redundant code in SkTwoPointRadialGradient, but it's probably optimized together into no extra run-time work. BUG=437511 Review URL: https://codereview.chromium.org/793763003
Diffstat (limited to 'include/core')
0 files changed, 0 insertions, 0 deletions