Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 1843953003: Add ColorspaceConversion to createImageBitmap(HTMLImageElement) (Closed)

Created:
4 years, 8 months ago by xidachen
Modified:
4 years, 8 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ColorspaceConversion to createImageBitmap(HTMLImageElement) The ColorspaceConversion option has been added to createImageBitmap(Blob) and the corresponding layout test has been added too. This CL adds this option to createImageBitmap(HTMLImageElement) and also modify an existing layout test so that this option is effective. BUG=592005 Committed: https://crrev.com/514c171c54f89d92c33e454b410fcd404039880e Cr-Commit-Position: refs/heads/master@{#386446}

Patch Set 1 #

Total comments: 4

Patch Set 2 : change parameter name "alphaOp" to "imageFormat" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -22 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-image.html View 3 chunks +19 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 3 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
xidachen
PTAL
4 years, 8 months ago (2016-03-30 15:14:27 UTC) #2
Justin Novosad
https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-image.html File third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-image.html (right): https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-image.html#newcode76 third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-image.html:76: image2.onload = function() { This is a recipe for ...
4 years, 8 months ago (2016-03-30 16:03:20 UTC) #3
xidachen
https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/Source/core/frame/ImageBitmap.cpp File third_party/WebKit/Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/Source/core/frame/ImageBitmap.cpp#newcode124 third_party/WebKit/Source/core/frame/ImageBitmap.cpp:124: premultiplyAlpha ? ImageDecoder::AlphaPremultiplied : ImageDecoder::AlphaNotPremultiplied, On 2016/03/30 16:03:20, Justin ...
4 years, 8 months ago (2016-03-30 17:36:03 UTC) #4
xidachen
https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/Source/core/frame/ImageBitmap.cpp File third_party/WebKit/Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/1843953003/diff/1/third_party/WebKit/Source/core/frame/ImageBitmap.cpp#newcode124 third_party/WebKit/Source/core/frame/ImageBitmap.cpp:124: premultiplyAlpha ? ImageDecoder::AlphaPremultiplied : ImageDecoder::AlphaNotPremultiplied, On 2016/03/30 16:03:20, Justin ...
4 years, 8 months ago (2016-03-30 17:45:30 UTC) #5
xidachen
junov@: This CL was somehow buried, could you take a look?
4 years, 8 months ago (2016-04-11 17:09:43 UTC) #6
Justin Novosad
lgtm
4 years, 8 months ago (2016-04-11 17:22:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843953003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843953003/20001
4 years, 8 months ago (2016-04-11 17:24:11 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-11 19:53:30 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 19:55:13 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/514c171c54f89d92c33e454b410fcd404039880e
Cr-Commit-Position: refs/heads/master@{#386446}

Powered by Google App Engine
This is Rietveld 408576698