/src/mozilla-central/dom/webgpu/Texture.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 "Texture.h" |
7 | | |
8 | | #include "Device.h" |
9 | | #include "mozilla/dom/WebGPUBinding.h" |
10 | | #include "TextureView.h" |
11 | | |
12 | | namespace mozilla { |
13 | | namespace webgpu { |
14 | | |
15 | 0 | Texture::~Texture() = default; |
16 | | |
17 | | already_AddRefed<TextureView> |
18 | | Texture::CreateTextureView(const dom::WebGPUTextureViewDescriptor& desc) const |
19 | 0 | { |
20 | 0 | MOZ_CRASH("todo"); |
21 | 0 | } |
22 | | |
23 | | WEBGPU_IMPL_GOOP_0(Texture) |
24 | | |
25 | | } // namespace webgpu |
26 | | } // namespace mozilla |