Chromium Code Reviews
DescriptionRevert of Revise the code for premultiplyAlpha=false for createImageBitmap(HTMLCanvasElement) (patchset #1 id:1 of https://codereview.chromium.org/1694793002/ )
Reason for revert:
Cause compilation error
https://build.chromium.org/p/chromium.mac/builders/Mac%20Builder/builds/37356/steps/compile/logs/stdio
Original issue's description:
> Revise the code for premultiplyAlpha=false for createImageBitmap(HTMLCanvasElement)
>
> It turns out that HTMLCanvasElement is always premultiplied in Blink, so
> we cannot simply use a decoder to re-decode it to a un-premultiplied format.
> The strategy this CL takes is that after cropping the HTMLCanvasElement
> into a SkImage, we convert the SkImage into a un-premultiplied format if
> that's what the option specifies.
TBR=junov@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Committed: https://crrev.com/a4b265467f94e3e5d173868f2781d43ddc2c69aa
Cr-Commit-Position: refs/heads/master@{#375193}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|
|||||||||||||||||||||||||||||||||||||