aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-08-23 16:39:57 -0400
committerGravatar Mike Klein <mtklein@google.com>2017-08-23 20:43:00 +0000
commit75109accaf8a8ca45fe26b5effdd5fe0641bd8ff (patch)
treecc67299ed8e20d8cd901cb0719e7474e7ab8a5c8 /src/jumper
parentc3a863f1cfab0b58353612f9aeac40f0c4d62515 (diff)
Document missing 8bit blend stages
Change-Id: Id626f954fe45546a015a1bd423f19cca5f8967a9 Reviewed-on: https://skia-review.googlesource.com/37861 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/jumper')
-rw-r--r--src/jumper/SkJumper_stages_8bit.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jumper/SkJumper_stages_8bit.cpp b/src/jumper/SkJumper_stages_8bit.cpp
index 1d6bc8a885..5ee3417ece 100644
--- a/src/jumper/SkJumper_stages_8bit.cpp
+++ b/src/jumper/SkJumper_stages_8bit.cpp
@@ -440,3 +440,11 @@ STAGE(overlay) {
+ if_then_else(d*2 <= da, s*d*2, sa*da - (da - d)*(sa - s)*2);
});
}
+
+// Missing blendmode specializations:
+//
+// plus - tricky due to clamping vs. partial coverage (especially with LCD masks).
+//
+// colorburn |
+// colordodge > these involve division, which makes them (much) slower than the float stages.
+// softlight |