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

Issue 852089 link

Starred by 15 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Task

Blocked on:
issue 877147
issue 868192
issue 870747



Sign in to add a comment

Implement a WebGPU prototype Chromium

Project Member Reported by cwallez@chromium.org, Jun 12 2018

Issue description

To better understand the constraint of the Web platform on WebGPU we'd like to start prototyping the API in Chromium. Following the "Intent to implement WebGPU" send to blink-dev we should start implementing the WebGPU bindings in Blink as well as the command decoder interface.

The intent is for the prototype WebGPU to be available behind the --enable-unsafe-webgpu flag, and behind a build flag, enable_webgpu on the GPU command buffer side.

Tagging as Blink>WebGL component for now.
 
Cc: vmi...@chromium.org

Comment 2 by xing...@intel.com, Jun 14 2018

Cc: xing...@intel.com
Cc: yunchao...@intel.com

Comment 4 by yang...@intel.com, Jun 14 2018

Cc: yang...@intel.com
Cc: jinho.b...@samsung.com
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 18 2018

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

commit 38ae900d3ce0c0825301e3a16fa7857ec7eba90e
Author: Corentin Wallez <cwallez@chromium.org>
Date: Mon Jun 18 20:43:52 2018

Add a --enable-unsafe-webgpu flag

This flag will controls the "WebGPU" runtime enabled features that
exposes the prototype WebGPU Blink bindings.

BUG=chromium:852089

Change-Id: Id6e718f85eb05045b8b4056a16b6cb966fba3e4a
Reviewed-on: https://chromium-review.googlesource.com/1097608
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568148}
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/chrome/browser/chromeos/login/chrome_restart_request.cc
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/content/browser/renderer_host/render_process_host_impl.cc
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/content/child/runtime_features.cc
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/content/public/common/content_switches.cc
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/content/public/common/content_switches.h
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/third_party/blink/public/platform/web_runtime_features.h
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/third_party/blink/renderer/platform/exported/web_runtime_features.cc
[modify] https://crrev.com/38ae900d3ce0c0825301e3a16fa7857ec7eba90e/third_party/blink/renderer/platform/runtime_enabled_features.json5

Components: -Blink>WebGL Blink>WebGPU
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 2

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

commit 0aba2edaba6d3ab37b9bac1e6114a17a6658d9db
Author: Corentin Wallez <cwallez@chromium.org>
Date: Mon Jul 02 20:40:49 2018

Add initial WebGPU bindings up to WebGPUDevice creation.

BUG=chromium:852089

Change-Id: Ie4222eb6ef0056a060a5101dae1ecdd04c091fbf
Reviewed-on: https://chromium-review.googlesource.com/1096289
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571987}
[modify] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/build/scripts/blinkbuild/name_style_converter.py
[modify] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/BUILD.gn
[modify] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/modules_idl_files.gni
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/BUILD.gn
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/OWNERS
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/README.md
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu.cc
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu.h
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu.idl
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_adapter.cc
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_adapter.h
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_adapter.idl
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_adapter_descriptor.idl
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_device.cc
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_device.h
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/webgpu_device.idl
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/window_webgpu.cc
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/window_webgpu.h
[add] https://crrev.com/0aba2edaba6d3ab37b9bac1e6114a17a6658d9db/third_party/blink/renderer/modules/webgpu/window_webgpu.idl

Cc: joone....@intel.com
Project Member

Comment 10 by bugdroid1@chromium.org, Jul 4

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

commit 3f1d085bd984a70f08941afca888e94d191b8cd6
Author: Corentin Wallez <cwallez@chromium.org>
Date: Wed Jul 04 15:45:36 2018

Add a webgpu watchlist

Also remove cwallez from gpu_passthrough_cmd_decoder.

BUG=chromium:852089
TBR=kainino@chromium.org

Change-Id: I621140d8986af6380325a6ce841a7929ae1c63b8
Reviewed-on: https://chromium-review.googlesource.com/1126308
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572590}
[modify] https://crrev.com/3f1d085bd984a70f08941afca888e94d191b8cd6/WATCHLISTS

Blockedon: 868192
Blockedon: 870747
Blockedon: 877147
Cc: sohan.jy...@huawei.com

Sign in to add a comment