aboutsummaryrefslogtreecommitdiff
path: root/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp
diff options
context:
space:
mode:
authorreed <reed@google.com>2016-05-04 13:09:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-04 13:09:39 -0700
commit0ccc62d4f79809fe20de299ba1fabdf2592ce2e5 (patch)
tree9503a3a366b739b9092073ba75c41f9e0192b6e4 /tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp
parent3e375b0a51a46814cf08ecd1a513862006a704e5 (diff)
move colorshader into its own .cpp, add color4f variant
Implemented as a different subclass for SkColorShader (which is also private) partly to make the CL clearer/simpler, and partly for flatten/unflatten compatibility. Later I'm sure we could combine these if that proves useful. Lots of TODOs at the moment, but still valuable to get reviewed. Note: this ignores the question (for the moment) about how to interpret SkColor in the larger world. That needs to happen, but this CL is more focused on what *else* to do besides handle the old-style input (and old-style pipeline). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1934313002 Review-Url: https://codereview.chromium.org/1934313002
Diffstat (limited to 'tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp')
0 files changed, 0 insertions, 0 deletions