New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 668727 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Expose WebGL2 to worker

Project Member Reported by xidac...@chromium.org, Nov 25 2016

Issue description

Currently we can do OffscreenCanvas.getContext('webgl2') in main, but not in a worker because WebGL2RenderingContext is not exposed to worker yet. We should do that.
 

Comment 1 by rbyers@chromium.org, Nov 28 2016

Components: Blink>Canvas

Comment 2 by rbyers@chromium.org, Nov 28 2016

Components: -Blink>Canvas Blink>WebGL
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9

commit c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9
Author: xidachen <xidachen@chromium.org>
Date: Tue Nov 29 13:05:37 2016

Expose WebGL2RenderingContext in worker

Currently WebGL2RenderingContext is not yet exposed in worker, which means
calling OffscreenCanvas.getContext('webgl2') fails in a worker.

This CL expose it with ExperimentalCanvasFeatures flag.
The test for this is upstreamed here:
https://github.com/KhronosGroup/WebGL/pull/2159

BUG= 668727 
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

Review-Url: https://codereview.chromium.org/2531853003
Cr-Commit-Position: refs/heads/master@{#434966}

[modify] https://crrev.com/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9/third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/c4958ccef3f38666ec03a3dbf9cc6e929e8b69c9/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.idl

Status: Fixed (was: Assigned)

Sign in to add a comment