#include "third_party/blink/renderer/modules/webgpu/gpu_supported_features.h"
namespace blink {
GPUSupportedFeatures::GPUSupportedFeatures() = default;
GPUSupportedFeatures::GPUSupportedFeatures(
const Vector<V8GPUFeatureName>& feature_names) { … }
void GPUSupportedFeatures::AddFeatureName(const V8GPUFeatureName feature_name) { … }
bool GPUSupportedFeatures::has(const V8GPUFeatureName::Enum feature) const { … }
bool GPUSupportedFeatures::has(const String& feature) const { … }
bool GPUSupportedFeatures::hasForBinding(
ScriptState* script_state,
const String& feature,
ExceptionState& exception_state) const { … }
GPUSupportedFeatures::IterationSource::IterationSource(
const HashSet<String>& features) { … }
bool GPUSupportedFeatures::IterationSource::FetchNextItem(
ScriptState* script_state,
String& value,
ExceptionState& exception_state) { … }
}