aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkOpts.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-08-02 11:30:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-02 11:30:30 -0700
commit15ee3deee8aca2bf6e658449f25ee34a8153e6ee (patch)
tree05633345fc092e02530c3a8ea80cd79bf1f5abe0 /src/core/SkOpts.h
parentb605f89398767bc39516e1c13a1d9a23bc8e2162 (diff)
Refactor of SkColorSpaceXformOpts
(1) Performance is better or stays the same. (2) Code is split into functions (RasterPipeline-ish design). IMO, it's not really more or less readable. But I think it's now much easier add capabilities, apply optimizations, or do more refactors. Or to actually use RasterPipeline. I help back from trying any of these to try to keep this CL sane. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2194303002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review-Url: https://codereview.chromium.org/2194303002
Diffstat (limited to 'src/core/SkOpts.h')
-rw-r--r--src/core/SkOpts.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 87489ee94e..7c6cfb0dfb 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -65,31 +65,6 @@ namespace SkOpts {
// Blend ndst src pixels over dst, where both src and dst point to sRGB pixels (RGBA or BGRA).
// If nsrc < ndst, we loop over src to create a pattern.
extern void (*srcover_srgb_srgb)(uint32_t* dst, const uint32_t* src, int ndst, int nsrc);
-
- // Color xform RGB1 pixels.
- extern void (*color_xform_RGB1_to_2dot2) (uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16]);
- extern void (*color_xform_RGB1_to_srgb)(uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16]);
- extern void (*color_xform_RGB1_to_table)(uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16],
- const uint8_t* const dstTables[3]);
- extern void (*color_xform_RGB1_to_linear)(uint64_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16]);
- extern void (*color_xform_RGB1_to_2dot2_swaprb) (uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16]);
- extern void (*color_xform_RGB1_to_srgb_swaprb)(uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16]);
- extern void (*color_xform_RGB1_to_table_swaprb)(uint32_t* dst, const uint32_t* src, int len,
- const float* const srcTables[3],
- const float srcToDstMatrix[16],
- const uint8_t* const dstTables[3]);
}
#endif//SkOpts_DEFINED