To better understand how WebGL, WebGL2, and WebGPU APIs are being used on the web platform, I propose adding the following WebDX features:
- Features matching
CanvasRenderingContext::RecordUKMCanvasDrawnToRenderingAPI() in Chromium for HTMLCanvasElement and OffscreenCanvas. This would allow us to identify rendering contexts where content has actually been drawn, covering WebGL, WebGL2, and WebGPU.
- A feature matching
kWebGPUQueueSubmit in Chromium to specifically track when GPU compute resources are used, rather than just context creation. This is specific to WebGPU since WebGL and WebGL2 don't have GPU compute.
Additionally, we should consider if similar tracking is needed for getCurrentTexture() in WebGPU contexts to fully capture active usage patterns.
@captainbrosset What do you think?
To better understand how WebGL, WebGL2, and WebGPU APIs are being used on the web platform, I propose adding the following WebDX features:
CanvasRenderingContext::RecordUKMCanvasDrawnToRenderingAPI()in Chromium for HTMLCanvasElement and OffscreenCanvas. This would allow us to identify rendering contexts where content has actually been drawn, covering WebGL, WebGL2, and WebGPU.kWebGPUQueueSubmitin Chromium to specifically track when GPU compute resources are used, rather than just context creation. This is specific to WebGPU since WebGL and WebGL2 don't have GPU compute.Additionally, we should consider if similar tracking is needed for
getCurrentTexture()in WebGPU contexts to fully capture active usage patterns.@captainbrosset What do you think?