#include "gpu/config/webgpu_blocklist_impl.h"
#include <sstream>
#include <string_view>
#include "base/notreached.h"
#include "base/strings/pattern.h"
#include "base/strings/string_split.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_MAC)
#include "base/mac/mac_util.h"
#endif
#if BUILDFLAG(IS_ANDROID)
#include "base/android/build_info.h"
#endif
#include "third_party/dawn/include/dawn/webgpu_cpp.h"
namespace gpu {
namespace detail {
WebGPUBlocklistReason GetWebGPUAdapterBlocklistReason(
const wgpu::AdapterInfo& info,
const WebGPUBlocklistOptions& options) { … }
std::string BlocklistReasonToString(WebGPUBlocklistReason reason) { … }
}
WebGPUBlocklistResultImpl IsWebGPUAdapterBlocklisted(
const wgpu::Adapter& adapter,
WebGPUBlocklistOptions options) { … }
}