aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkSize.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-06-17 13:47:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-17 13:47:53 -0700
commit3e3181263c034db3ba657c35cce9ae29c411b2b6 (patch)
tree09d38c1030ce96bc3af684e3c2f6000b5b65d6bf /include/core/SkSize.h
parent944876f2745a62a839e49275daf93a0329372e67 (diff)
Quick bandaid for chromium:611002.
We're somehow receiving non-premultiplied src inputs like 0x00ffffff to this SrcOver blend. That's a bug I intend to follow up on. But for a quick compatibility fix, go back to treating values like 0x00ffffff as transparent, like we used to before crrev.com/1820313002. This will not affect the correctness of code paths using properly premultiplied colors. This should not change performance in any meaningful way. The SIMD code paths (handling strides of 16 pixels at a time) happen to treat invalid colors like 0x00fffff as transparent already. BUG=chromium:611002 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2075173002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review-Url: https://codereview.chromium.org/2075173002
Diffstat (limited to 'include/core/SkSize.h')
0 files changed, 0 insertions, 0 deletions