GL: Add ExecuteGL() method for unordered GL commands Some GL commands, like resource creation, don't depend on prior commands in the queue. Flushing the entire pending command list for them is unnecessary. This change introduces `Device::ExecuteGL` to execute a command immediately without a preceding flush. The existing work execution function is renamed to `EnqueueAndFlushGL` to clarify its flushing behavior. This allows for more efficient execution of independent GL tasks. Bug: 451928481 Change-Id: Ibc19ca6b2121fc5d511c59a0db010e7e8622646a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/274154 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.