no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / dom / webgpu / QuerySet.h
blobe7e6f4968bc048f8528924584b42958e6e8cbf5d
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 #ifndef GPU_QuerySet_H_
7 #define GPU_QuerySet_H_
9 #include "nsWrapperCache.h"
10 #include "ObjectModel.h"
12 namespace mozilla::webgpu {
14 class Device;
16 class QuerySet final : public ObjectBase, public ChildOf<Device> {
17 public:
18 GPU_DECL_CYCLE_COLLECTION(QuerySet)
19 GPU_DECL_JS_WRAP(QuerySet)
21 QuerySet() = delete;
22 void Destroy();
24 private:
25 virtual ~QuerySet();
26 void Cleanup() {}
29 } // namespace mozilla::webgpu
31 #endif // GPU_QuerySet_H_