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

Issue 2641393002: Refactor ImageBitmap to stop drawing unpremul SkImage on SkCanvas (Closed)

Created:
3 years, 11 months ago by zakerinasab
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ImageBitmap to stop drawing unpremul SkImage on SkCanvas Skia is deprecating the use of Unpremultiplied alpha with SkImage. SkImage will still be able to store Unpremultiplied pixel values, but it will not do the right thing for drawing to an SkCanvas. ImageBitmap must be refactored to function properly after this change. BUG=683154 Review-Url: https://codereview.chromium.org/2641393002 Cr-Commit-Position: refs/heads/master@{#445495} Committed: https://chromium.googlesource.com/chromium/src/+/12ec50eea00c7622356d6348a88f26e140a44d02

Patch Set 1 #

Patch Set 2 : Minor corrections #

Total comments: 1

Patch Set 3 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-image-bitmap-utils.js View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Justin Novosad
https://codereview.chromium.org/2641393002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-image-bitmap-utils.js File third_party/WebKit/LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-image-bitmap-utils.js (right): https://codereview.chromium.org/2641393002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-image-bitmap-utils.js#newcode108 third_party/WebKit/LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-image-bitmap-utils.js:108: // { sub: true, bitmap: bitmaps.noFlipYUnpremul, flipY: false, premultiply: ...
3 years, 11 months ago (2017-01-23 16:26:07 UTC) #4
zakerinasab1
Comments addressed. PTAL.
3 years, 11 months ago (2017-01-23 16:34:33 UTC) #6
Justin Novosad
On 2017/01/23 16:34:33, zakerinasab1 wrote: > Comments addressed. PTAL. lgtm
3 years, 11 months ago (2017-01-23 16:57:53 UTC) #7
dcheng
rs lgtm
3 years, 11 months ago (2017-01-23 19:10:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2641393002/40001
3 years, 11 months ago (2017-01-23 19:14:51 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 21:43:24 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/12ec50eea00c7622356d6348a88f...

Powered by Google App Engine
This is Rietveld 408576698