commit | cdbd295cc6c4002547ebf4f1e0828df123917267 | [log] [tgz] |
---|---|---|
author | Hao Li <hao.x.li@intel.com> | Tue Jan 05 02:39:18 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jan 05 02:39:18 2021 +0000 |
tree | 3ec552f70ae34ddf4253bd891002f40c2271fc91 | |
parent | 4110684aa07a1443dcd6b40e219baf4314210dd5 [diff] |
Get timestamp period from device - Get timestamp period on each backend D3D12: Get GPU frequency(HZ) from queue and calculate the period in ns Vulkan: Get timestampPeriod from device properties Metal and others: don't need the period Bug: dawn:434 Change-Id: Ia5588a3dccadfe92d7384b9fdf1e6848c6e5c6e2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36220 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Hao Li <hao.x.li@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.