diff options
author | 2017-06-02 13:25:15 -0400 | |
---|---|---|
committer | 2017-06-02 17:51:24 +0000 | |
commit | 6867eee44d33948c900f7b00444a303f6a5a09c2 (patch) | |
tree | a0fd5e83989e224945eb0c55df79c2accaa69728 /DEPS | |
parent | 3ea1798829df1a5d163b1851783046b624c29ea2 (diff) |
default impl of appendStages now calls shaderContext
this is approximately a revert of https://skia-review.googlesource.com/c/17768/
I propose if/when we want to experiment with a fast-path for coherent shaders
(e.g. 2-color linear gradients, up-scaling images) that we just create a new
mechanism for shaders to opt into that, knowing that it will be driven by
the rasterpipeline (and never by the old context convention).
This CL now makes it legal/clear that a new shader subclass can *just* implement
stages for raster, and never needs to make a context.
Bug: skia:
Change-Id: I525a8b1cece100f0993f75e28128e0927a4ea35c
Reviewed-on: https://skia-review.googlesource.com/18481
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'DEPS')
0 files changed, 0 insertions, 0 deletions