Tracking bug for wiring up Blink into the WebGPU command buffer, including the initial JS bindings (for now). I've just started on this here: https://chromium-review.googlesource.com/c/chromium/src/+/1186129
Tracking bug for wiring up between Blink (up to bindings) and WebGPU command buffer, excluding the initial JS bindings (which have already been started). I've just started on this here: https://chromium-review.googlesource.com/c/chromium/src/+/1186129
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9 commit 05c10502d7ddf42b0d1624eb821ca41fd7a8bef9 Author: Kai Ninomiya <kainino@chromium.org> Date: Thu Aug 30 20:06:21 2018 Wire up WebGPU command buffer through Blink to Bindings This allows the WebGPU dummy command handler in the GPU process to be invoked via JavaScript (with --enable-unsafe-webgpu). webgpu.getAdapter({}).createDevice({}).dummy(); The dummy method and command will be removed when we add real functionality, but right now this lets us prove out the full pipeline. Bug: 877147 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_layout_tests_slimming_paint_v2;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I93cfe918749258a532a6cf978b799891f359c51a Reviewed-on: https://chromium-review.googlesource.com/1186129 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#587717} [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/content/renderer/renderer_blink_platform_impl.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/content/renderer/renderer_blink_platform_impl.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/content/renderer/webgraphicscontext3d_provider_impl.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/content/renderer/webgraphicscontext3d_provider_impl.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/services/ws/public/cpp/gpu/command_buffer_metrics.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/services/ws/public/cpp/gpu/command_buffer_metrics.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/services/ws/public/cpp/gpu/context_provider_command_buffer.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/services/ws/public/cpp/gpu/context_provider_command_buffer.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/public/platform/platform.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/public/platform/web_graphics_context_3d_provider.h [add] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/DEPS [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_adapter.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_adapter.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_adapter.idl [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_device.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_device.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/modules/webgpu/webgpu_device.idl [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/platform/exported/platform.cc [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/platform/graphics/gpu/drawing_buffer_test_helpers.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/renderer/platform/graphics/test/fake_web_graphics_context_3d_provider.h [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/third_party/blink/tools/audit_non_blink_usage.py [modify] https://crrev.com/05c10502d7ddf42b0d1624eb821ca41fd7a8bef9/tools/metrics/histograms/histograms.xml
Comment 1 by kainino@chromium.org
, Aug 24