aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-04-07 16:55:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-17 14:06:33 +0000
commit7fee90cb5eda2345bb8ec9be706aea1a09866005 (patch)
tree90b83b6ddee7df58914a4fa001300b59b3aae576 /src/core
parentc589b0b5c0235c3adedc574c8846fb62414ed93c (diff)
add a callback stage to SkRasterPipeline
This lets us temporarily escape to piece of code outside SkRasterPipeline. We should be able to use this to replace - parametric_{r,g,b,a} - table_{r,g,b,a} - color_lookup_table - shader_adapter* * We want to obsolete shader_adapter for other reasons anyway, but we _could_ replace it with this if we want to. Change-Id: I42b657b3c19c679796ed1876856cae0c8471307e Reviewed-on: https://skia-review.googlesource.com/12102 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkRasterPipeline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index ee4479de06..29c560d7c7 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -56,6 +56,7 @@
// the Stage*. This mostly matters on 64-bit Windows where every register is precious.
#define SK_RASTER_PIPELINE_STAGES(M) \
+ M(callback) \
M(move_src_dst) M(move_dst_src) M(swap) \
M(clamp_0) M(clamp_1) M(clamp_a) \
M(unpremul) M(premul) \