Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/webgpu/Fence.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 "Fence.h"
7
8
#include "Device.h"
9
#include "mozilla/dom/WebGPUBinding.h"
10
11
namespace mozilla {
12
namespace webgpu {
13
14
0
Fence::~Fence() = default;
15
16
bool
17
Fence::Wait(const double milliseconds) const
18
0
{
19
0
    MOZ_CRASH("todo");
20
0
}
21
22
already_AddRefed<dom::Promise>
23
Fence::Promise() const
24
0
{
25
0
    MOZ_CRASH("todo");
26
0
}
27
28
WEBGPU_IMPL_GOOP_0(Fence)
29
30
} // namespace webgpu
31
} // namespace mozilla