Bug 1560374 - Set testharness and reftest web-platform-tests to Tier-1; r=jmaher...
[gecko.git] / dom / webgpu / Adapter.cpp
blob1061025cb847a62e36b62474a97b1ad36ec9e5da
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "Adapter.h"
8 #include "Instance.h"
9 #include "mozilla/dom/WebGPUBinding.h"
11 namespace mozilla {
12 namespace webgpu {
14 Adapter::~Adapter() = default;
16 void Adapter::Extensions(dom::WebGPUExtensions& out) const {
17 MOZ_CRASH("todo");
20 void Adapter::Features(dom::WebGPUFeatures& out) const { MOZ_CRASH("todo"); }
22 already_AddRefed<Device> Adapter::CreateDevice(
23 const dom::WebGPUDeviceDescriptor& desc) const {
24 MOZ_CRASH("todo");
27 WEBGPU_IMPL_GOOP_0(Adapter)
29 } // namespace webgpu
30 } // namespace mozilla