#include "third_party/blink/renderer/modules/webgpu/gpu_adapter_info.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_memory_heap_info.h"
namespace blink {
GPUAdapterInfo::GPUAdapterInfo(const String& vendor,
const String& architecture,
const String& device,
const String& description,
const String& driver,
const String& backend,
const String& type,
const std::optional<uint32_t> d3d_shader_model,
const std::optional<uint32_t> vk_driver_version)
: … { … }
void GPUAdapterInfo::AppendMemoryHeapInfo(GPUMemoryHeapInfo* info) { … }
const String& GPUAdapterInfo::vendor() const { … }
const String& GPUAdapterInfo::architecture() const { … }
const String& GPUAdapterInfo::device() const { … }
const String& GPUAdapterInfo::description() const { … }
const String& GPUAdapterInfo::driver() const { … }
const String& GPUAdapterInfo::backend() const { … }
const String& GPUAdapterInfo::type() const { … }
const HeapVector<Member<GPUMemoryHeapInfo>>& GPUAdapterInfo::memoryHeaps()
const { … }
const std::optional<uint32_t>& GPUAdapterInfo::d3dShaderModel() const { … }
const std::optional<uint32_t>& GPUAdapterInfo::vkDriverVersion() const { … }
void GPUAdapterInfo::Trace(Visitor* visitor) const { … }
}