DescriptionImplement ImageBitmap options premultiplyAlpha
In this CL, we implement the option of premultiplyAlpha for ImageBitmap.
At this moment, it works for createImageBitmap from HTMLImageElement,
HTMLCanvasElement and Blob. The cases of from ImageBitmap, HTMLVideoElemtn
and ImageData will be solved in future CL(s).
This CL also includes modifies a current layout tests, which tests
the combination of ImageBitmap options "flipY" and premultiplyAlpha
BUG=249382
Committed: https://crrev.com/dfbf8dd24ba36edab0e567c3f98f4ed6ad8dd1e2
Cr-Commit-Position: refs/heads/master@{#374132}
Patch Set 1 #
Total comments: 2
Patch Set 2 : change to enum instead of boolean #
Total comments: 11
Patch Set 3 : check invalid option as well #Patch Set 4 : hide ImageBitmapOption behind flags #
Total comments: 4
Patch Set 5 : apply comments #Messages
Total messages: 22 (10 generated)
|