Chromium Code Reviews
DescriptionAdd "premultiply" in ImageBitmapOptions enum PremultiplyAlpha
At this moment, there are two options of "none" and "default", this CL
adds "premultiply". The code path for "premultiply" and "default" is the
same so we can avoid large changes of any existing C++ code. Layout tests has
been created to reflect this additional option.
Locally I have added this option to all the conformance tests for
ImageBitmap hosted by KhronosGroup/WebGL, and they all pass.
Once this CL landed, there will be a pull request to update those tests.
BUG=591713
Committed: https://crrev.com/ecf58aa7eb349ab2b4beaec613183810c4edf135
Cr-Commit-Position: refs/heads/master@{#379302}
Patch Set 1 #Patch Set 2 : change parseOptions #
Messages
Total messages: 17 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||