#include "libANGLE/renderer/vulkan/vk_resource.h"
#include "libANGLE/renderer/vulkan/ContextVk.h"
namespace rx
{
namespace vk
{
angle::Result Resource::waitForIdle(ContextVk *contextVk,
const char *debugMessage,
RenderPassClosureReason reason)
{ … }
std::ostream &operator<<(std::ostream &os, const ResourceUse &use)
{ … }
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
{ … }
template <class T>
void ReleasableResource<T>::release(Renderer *renderer)
{ … }
template class ReleasableResource<Semaphore>;
}
}