Bug 201651 - Web Inspector: Canvas: support canvas recordings for WebGPUDevice
Summary: Web Inspector: Canvas: support canvas recordings for WebGPUDevice
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 201650
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-10 11:11 PDT by Devin Rousso
Modified: 2019-09-10 11:11 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-09-10 11:11:34 PDT
Most of the actual "work" done with Web GPU actually uses a `WebGPUDevice`.  A `GPUCanvasContext` is basically just a display "client" of the device, and isn't even required (e.g. compute pipeline).  We should treat the `GPUCanvasContext` almost like a `-webkit-canvas` client of a `WebGPUDevice`.

This change should also carry to the frontend (e.g. use "Device" instead of "Canvas"/"Context").