aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePathEffects.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-05-11 10:57:37 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-11 18:14:32 +0000
commitec8f8b064340b030fc4ce10f6cbbc3d6f63b946f (patch)
tree77f75eafbe3a353c52e008ef71704f468166be8e /samplecode/SamplePathEffects.cpp
parent07072944af9fac196efeb78d6791537221cd1d4c (diff)
Fix GPU text colors when color spaces are involved
1) Only store GrColors in GrTextUtils::Paint. We still store premul and unpremul versions, but this is slightly clearer. 2) GrTextUtils::Paint also needs info from the render target context to linearize and transform the color to dst space. Bug: skia:6605 Change-Id: I6e12c55eafaecd2a090c82b4f56827401305bf3a Reviewed-on: https://skia-review.googlesource.com/16486 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SamplePathEffects.cpp')
0 files changed, 0 insertions, 0 deletions