Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
[gecko.git] / dom / webgpu / AdapterFeatures.cpp
blobe5ab102bd1ac1a1150e0d2e8e68d4b48438f29d7
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 "AdapterFeatures.h"
7 #include "Adapter.h"
8 #include "mozilla/dom/WebGPUBinding.h"
10 namespace mozilla {
11 namespace webgpu {
13 GPU_IMPL_CYCLE_COLLECTION(AdapterFeatures, mParent)
14 GPU_IMPL_JS_WRAP(AdapterFeatures)
16 AdapterFeatures::AdapterFeatures(Adapter* const aParent) : ChildOf(aParent) {}
18 } // namespace webgpu
19 } // namespace mozilla