diff options
author | Mike Klein <mtklein@chromium.org> | 2017-05-19 12:01:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-22 14:28:15 +0000 |
commit | b35cb3143e1f999095af28e0de2ace3ff4ef6b9e (patch) | |
tree | 255abc2b09f9652a686e450657530c3ccb79f7cd /src/pathops/SkPathWriter.cpp | |
parent | 1859f69d20e433b86714e5b9002121f2b20a5fc6 (diff) |
refactor SkRasterPipelineBlitter
This refactors the factories so that the create-from-paint factory is a
front-patch to the create-from-shader-pipeline factory. Feature-wise,
we make the pre-baked shader pipeline responsible for modulating by
paint alpha; the factory only adds when creating from the paint.
We can fold the alpha into the colors in drawVertices, which makes it
run a bit faster, dropping the need for a scale_1_float runtime stage.
This causes a few invisible diffs on the "vertices" GM, but everything
else draws the same.
Change-Id: I3eeacc9aafbce2023ab18991bbb68c35645e9387
Reviewed-on: https://skia-review.googlesource.com/17395
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/pathops/SkPathWriter.cpp')
0 files changed, 0 insertions, 0 deletions