DescriptionCorrect 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)
|