Hash :
70b90f22
Author :
Date :
2025-05-09T16:51:31
WebGPU: Use the C API only from the proc table Define WGPU_SKIP_DECLARATIONS so that errors are generated when using the global c or cpp functions. The default proc table getter requires the cpp API is visible. Hide this in a new wgpu_proc_utils so the rest of the WebGPU backend cannot see those APIs. Bug: angleproject:342213844 Change-Id: Ia1e9bfd25b0bb538cebeaa0efe7b9d2eeabc990d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6534317 Reviewed-by: Liza Burakova <liza@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org>
//
// Copyright 2025 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef LIBANGLE_RENDERER_WGPU_WGPU_PROC_UTILS_H_
#define LIBANGLE_RENDERER_WGPU_WGPU_PROC_UTILS_H_
struct DawnProcTable;
namespace rx
{
namespace webgpu
{
const DawnProcTable &GetDefaultProcTable();
}
} // namespace rx
#endif // LIBANGLE_RENDERER_WGPU_WGPU_PROC_UTILS_H