/src/mozilla-central/dom/webgpu/Adapter.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
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/. */ |
5 | | |
6 | | #include "Adapter.h" |
7 | | |
8 | | #include "Instance.h" |
9 | | #include "mozilla/dom/WebGPUBinding.h" |
10 | | |
11 | | namespace mozilla { |
12 | | namespace webgpu { |
13 | | |
14 | 0 | Adapter::~Adapter() = default; |
15 | | |
16 | | void |
17 | | Adapter::Extensions(dom::WebGPUExtensions& out) const |
18 | 0 | { |
19 | 0 | MOZ_CRASH("todo"); |
20 | 0 | } |
21 | | |
22 | | void |
23 | | Adapter::Features(dom::WebGPUFeatures& out) const |
24 | 0 | { |
25 | 0 | MOZ_CRASH("todo"); |
26 | 0 | } |
27 | | |
28 | | already_AddRefed<Device> |
29 | | Adapter::CreateDevice(const dom::WebGPUDeviceDescriptor& desc) const |
30 | 0 | { |
31 | 0 | MOZ_CRASH("todo"); |
32 | 0 | } |
33 | | |
34 | | WEBGPU_IMPL_GOOP_0(Adapter) |
35 | | |
36 | | } // namespace webgpu |
37 | | } // namespace mozilla |