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

Issue 2139353003: Return a transparent black ImageBitmap when mailbox is invalid (Closed)

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

Description

Return a transparent black ImageBitmap when mailbox is invalid In Webgl's transferToImageBitmap(), we create an ImageBitmap from the drawingBuffer's mailbox. When calling transferToImageBitmap() twice, the mailbox is invalid in the second call. In this case, we should return an ImageBitmap that is the same size as the drawingBuffer but should be transparent black. Corresponding layout test has been updated to reflect this case. BUG=627374 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/cf378d00d56930dabf6c4cc4d141f9f2d3803a59 Cr-Commit-Position: refs/heads/master@{#405132}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Messages

Total messages: 16 (11 generated)
xidachen
PTAL
4 years, 5 months ago (2016-07-12 20:32:23 UTC) #4
Ken Russell (switch to Gerrit)
lgtm https://codereview.chromium.org/2139353003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/webgl/offscreenCanvas-transferToImageBitmap.html File third_party/WebKit/LayoutTests/fast/canvas/webgl/offscreenCanvas-transferToImageBitmap.html (right): https://codereview.chromium.org/2139353003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/webgl/offscreenCanvas-transferToImageBitmap.html#newcode18 third_party/WebKit/LayoutTests/fast/canvas/webgl/offscreenCanvas-transferToImageBitmap.html:18: var image2 = aCanvas.transferToImageBitmap(); Is there a test ...
4 years, 5 months ago (2016-07-12 22:52:04 UTC) #5
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/2139353003/20001
4 years, 5 months ago (2016-07-13 12:00:56 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-13 12:54:50 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 12:56:51 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cf378d00d56930dabf6c4cc4d141f9f2d3803a59
Cr-Commit-Position: refs/heads/master@{#405132}

Powered by Google App Engine
This is Rietveld 408576698