aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRasterPipeline.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-02-22 13:02:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-22 18:51:33 +0000
commite522f4c455d0d5dbe813f38d16c0d4cd46fa5dee (patch)
treee0be77c59c8b06ac3b284104ab946613f2b6bdd7 /src/core/SkRasterPipeline.h
parent416bbd97cee9e221577c729a8072fdb2057cbdf8 (diff)
Enable legacy premuls in SkColorSpaceXform
***Will allow for simplified Android framework code, they typically want a color correct transform followed by a gamma encoded premul. ***Chrome does the same, so this will make it easier to replace their codecs. ***Will decrease code size. Both types of premuls are moved off the fast path here - one is essentially unused in production and the other is not "encouraged". ***Will actually make the common case faster: sRGB->sRGB means no color xform, just premul in SkSwizzler. BUG=skia: CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD Change-Id: Ia4ec1d273b6f137151f951d37c0ebf975f6b9a3e Reviewed-on: https://skia-review.googlesource.com/8848 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/core/SkRasterPipeline.h')
-rw-r--r--src/core/SkRasterPipeline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index 6976906642..0d2bfa4fc7 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -72,7 +72,7 @@
M(load_8888) M(store_8888) \
M(load_u16_be) M(load_rgb_u16_be) M(store_u16_be) \
M(load_tables_u16_be) M(load_tables_rgb_u16_be) \
- M(load_tables) M(store_tables) \
+ M(load_tables) \
M(scale_u8) M(scale_1_float) \
M(lerp_u8) M(lerp_565) M(lerp_1_float) \
M(dstatop) M(dstin) M(dstout) M(dstover) \
@@ -96,7 +96,7 @@
M(bicubic_n3y) M(bicubic_n1y) M(bicubic_p1y) M(bicubic_p3y) \
M(save_xy) M(accumulate) \
M(linear_gradient_2stops) \
- M(byte_tables) \
+ M(byte_tables) M(byte_tables_rgb) \
M(shader_adapter) \
M(rgb_to_hsl) \
M(hsl_to_rgb)