commit | 2c4847e59a74da1bdcb9c284b1456c7dfc2866c0 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Tue Apr 04 08:57:46 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 04 08:57:46 2023 +0000 |
tree | 6f5ace080a9f73174553c2608db5f3508d770e51 | |
parent | 3fcf96dd8c262c69029a47ce6ad85314fcd3d69b [diff] |
Fix bug about requiring unexpected files when compiling on Android In MemoryService implementation, Dawn uses DAWN_PLATFORM_IS() to choose required header files for different OS platform. On Android platform, both DAWN_PLATFORM_IS(LINUX) and DAWN_PLATFORM_IS(ANDROID) are true. This caused some linux platform header files and implementations has been included unexpected when compiling on Android platform. This CL strict the macro condition to ensure Android platform include AHardwareBuffer related files only. Bug:dawn:1593 Change-Id: If64567edf99cd25a3783d8c456a1fc3f6a7dccf2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126323 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Shaobo Yan <shaobo.yan@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.