aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBlurUtils.cpp
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-08-25 15:15:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-25 19:50:07 +0000
commit54ef7c057ac9cc8ff9cb18eba864686dd59c2d93 (patch)
tree1e8e4bb556f0a01e13820d8648b1ecfe0c5a00ce /src/gpu/GrBlurUtils.cpp
parent9b0b32fda4871776eb9afdf9553e523e5c28aa63 (diff)
Don't use uninitialized gamma data for adjusting SDF distance.
If the gamma is linear, the corresponding LUT for adjusting colors is not initialized. This change takes that into account when computing distance adjustments for SDF text. Change-Id: I7ca1410bb27cf29ef08ccd666297bf5c3cd3dcdd Reviewed-on: https://skia-review.googlesource.com/38940 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/gpu/GrBlurUtils.cpp')
0 files changed, 0 insertions, 0 deletions