chromium/third_party/angle/src/libANGLE/renderer/vulkan/vk_resource.cpp

//
// Copyright 2017 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Resource:
//    Resource lifetime tracking in the Vulkan back-end.
//

#include "libANGLE/renderer/vulkan/vk_resource.h"

#include "libANGLE/renderer/vulkan/ContextVk.h"

namespace rx
{
namespace vk
{
// Resource implementation.
angle::Result Resource::waitForIdle(ContextVk *contextVk,
                                    const char *debugMessage,
                                    RenderPassClosureReason reason)
{}

std::ostream &operator<<(std::ostream &os, const ResourceUse &use)
{}

// SharedGarbage implementation.
SharedGarbage::SharedGarbage() = default;

SharedGarbage::SharedGarbage(SharedGarbage &&other)
{}

SharedGarbage::SharedGarbage(const ResourceUse &use, GarbageObjects &&garbage)
    :{}

SharedGarbage::~SharedGarbage() = default;

SharedGarbage &SharedGarbage::operator=(SharedGarbage &&rhs)
{}

bool SharedGarbage::destroyIfComplete(Renderer *renderer)
{}

bool SharedGarbage::hasResourceUseSubmitted(Renderer *renderer) const
{}

// ReleasableResource implementation.
template <class T>
void ReleasableResource<T>::release(Renderer *renderer)
{}

template class ReleasableResource<Semaphore>;
}  // namespace vk
}  // namespace rx