chromium/third_party/blink/renderer/modules/webgpu/dawn_object.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/webgpu/dawn_object.h"

#include "base/numerics/checked_math.h"
#include "gpu/command_buffer/client/webgpu_interface.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_device.h"

namespace blink {

// ExternalMemoryTracker

ExternalMemoryTracker::~ExternalMemoryTracker() {}

void ExternalMemoryTracker::SetCurrentSize(size_t newSizeUnchecked) {}

// DawnObjectBase

DawnObjectBase::DawnObjectBase(
    scoped_refptr<DawnControlClientHolder> dawn_control_client,
    const String& label)
    :{}

const scoped_refptr<DawnControlClientHolder>&
DawnObjectBase::GetDawnControlClient() const {}

void DawnObjectBase::setLabel(const String& value) {}

void DawnObjectBase::EnsureFlush(scheduler::EventLoop& event_loop) {}

void DawnObjectBase::FlushNow() {}

// DawnObjectImpl

DawnObjectImpl::DawnObjectImpl(GPUDevice* device, const String& label)
    :{}

DawnObjectImpl::~DawnObjectImpl() = default;

const wgpu::Device& DawnObjectImpl::GetDeviceHandle() const {}

void DawnObjectImpl::Trace(Visitor* visitor) const {}

}  // namespace blink