Index: src/core/SkRasterPipeline.h |
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h |
index 9193de520232ca4ac04a3b3b1f854563184e21cc..015dd0ad2bfb9b581e309cb8dc7b732d75c87274 100644 |
--- a/src/core/SkRasterPipeline.h |
+++ b/src/core/SkRasterPipeline.h |
@@ -54,12 +54,16 @@ |
// TODO: There may be a better place to stuff tail, e.g. in the bottom alignment bits of |
// the Stage*. This mostly matters on 64-bit Windows where every register is precious. |
+#define DECLARE_GAMMA(M, name) M(name##_r) M(name##_g) M(name##_b) M(name##_a) |
+ |
#define SK_RASTER_PIPELINE_STAGES(M) \ |
M(move_src_dst) M(clamp_0) M(clamp_a) M(unpremul) M(premul) \ |
M(constant_color) M(store_f32) \ |
M(load_s_565) M(load_d_565) M(store_565) \ |
M(load_s_srgb) M(load_d_srgb) M(store_srgb) \ |
M(load_s_f16) M(load_d_f16) M(store_f16) \ |
+ M(load_s_linear_rgba) M(load_s_linear_bgra) \ |
+ M(store_linear_rgba) M(store_linear_bgra) \ |
M(scale_u8) M(scale_constant_float) \ |
M(lerp_u8) M(lerp_565) M(lerp_constant_float) \ |
M(dst) \ |
@@ -68,7 +72,9 @@ |
M(clear) M(modulate) M(multiply) M(plus_) M(screen) M(xor_) \ |
M(colorburn) M(colordodge) M(darken) M(difference) \ |
M(exclusion) M(hardlight) M(lighten) M(overlay) M(softlight) \ |
- M(luminance_to_alpha) M(matrix_4x5) |
+ M(luminance_to_alpha) M(matrix_4x4) M(matrix_4x5) \ |
+ DECLARE_GAMMA(M, param_gamma) DECLARE_GAMMA(M, table_gamma) \ |
+ M(clut) M(labtoxyz) |
class SkRasterPipeline { |
public: |