aboutsummaryrefslogtreecommitdiffstats
path: root/codereview.settings
diff options
context:
space:
mode:
authormtklein <mtklein@chromium.org>2015-06-24 15:18:39 -0700
committerSteve Kondik <steve@cyngn.com>2016-06-27 17:34:48 -0700
commita72becebcc762e90b14708a0cca677c3426dbff2 (patch)
treeb2cca7587577ce8bf6dbd22b27100443a82fe719 /codereview.settings
parent66b1265cd8ce01288de9be29970719e519a3dfd8 (diff)
downloadandroid_external_skia-a72becebcc762e90b14708a0cca677c3426dbff2.tar.gz
android_external_skia-a72becebcc762e90b14708a0cca677c3426dbff2.tar.bz2
android_external_skia-a72becebcc762e90b14708a0cca677c3426dbff2.zip
Implement four more xfermodes with Sk4px.
HardLight, Overlay, Darken, and Lighten are all ~2x faster with SSE, ~25% faster with NEON. This covers all previously-implemented NEON xfermodes. 3 previous SSE xfermodes remain. Those need division and sqrt, so I'm planning on using SkPMFloat for them. It'll help the readability and NEON speed if I move that into [0,1] space first. The main new concept here is c.thenElse(t,e), which behaves like (c ? t : e) except, of course, both t and e are evaluated. This allows us to emulate conditionals with vectors. This also removes the concept of SkNb. Instead of a standalone bool vector, each SkNi or SkNf will just return their own types for comparisons. Turns out to be a lot more manageable this way. BUG=skia: Committed: https://skia.googlesource.com/skia/+/b9d4163bebab0f5639f9c5928bb5fc15f472dddc CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot Review URL: https://codereview.chromium.org/1196713004
Diffstat (limited to 'codereview.settings')
0 files changed, 0 insertions, 0 deletions