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

Issue 2509193002: Correct the OffscreenCanvas.getContext API (Closed)

Created:
4 years, 1 month ago by xidachen
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correct the OffscreenCanvas.getContext API Currently this API takes a DOMString as its first argument. The spec recently changed to let it take an enum as the first argument. This CL makes the change and adds a test case. This CL also makes OffscreenCanvas support webgl2 context creation. To test that, there is a github pull request here: https://github.com/KhronosGroup/WebGL/pull/2159 Locally it works fine. BUG=666024, 666339 TBR=haraken@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/336743c75471ed1036037c0c423a78b4ad41fe3f Cr-Commit-Position: refs/heads/master@{#433721}

Patch Set 1 #

Total comments: 2

Patch Set 2 : support webgl2 #

Messages

Total messages: 24 (14 generated)
xidachen
PTAL
4 years, 1 month ago (2016-11-17 02:13:27 UTC) #2
Justin Novosad
https://codereview.chromium.org/2509193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html (right): https://codereview.chromium.org/2509193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html#newcode20 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html:20: assert_throws(new TypeError(), function() { aCanvas.getContext('3d'); }); For readability, use ...
4 years, 1 month ago (2016-11-17 15:36:42 UTC) #3
xidachen
+haraken@ for changes under ModulesInitializer.cpp. +kbr@ and zmo@ for WebGL/ changes. PTAL
4 years, 1 month ago (2016-11-17 21:06:09 UTC) #8
Justin Novosad
lgtm
4 years, 1 month ago (2016-11-17 21:23:28 UTC) #9
xidachen
TBR haraken@ for change under ModulesInitializer.cpp as it is very trivial. kbr@, zmo@: could you ...
4 years, 1 month ago (2016-11-21 15:02:09 UTC) #12
Ken Russell (switch to Gerrit)
lgtm
4 years, 1 month ago (2016-11-21 19:55:56 UTC) #13
haraken
LGTM
4 years, 1 month ago (2016-11-22 00:04:21 UTC) #17
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/2509193002/20001
4 years, 1 month ago (2016-11-22 00:58:43 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-22 01:07:43 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 01:11:59 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/336743c75471ed1036037c0c423a78b4ad41fe3f
Cr-Commit-Position: refs/heads/master@{#433721}

Powered by Google App Engine
This is Rietveld 408576698