#include "gpu/command_buffer/service/gpu_fence_manager.h"
#include <memory>
#include "base/check.h"
#include "base/functional/bind.h"
#include "ui/gfx/gpu_fence.h"
#include "ui/gl/gl_fence.h"
namespace gpu {
namespace gles2 {
GpuFenceManager::GpuFenceEntry::GpuFenceEntry() = default;
GpuFenceManager::GpuFenceEntry::~GpuFenceEntry() = default;
GpuFenceManager::GpuFenceManager() = default;
GpuFenceManager::~GpuFenceManager() { … }
bool GpuFenceManager::CreateGpuFence(uint32_t client_id) { … }
bool GpuFenceManager::CreateGpuFenceFromHandle(uint32_t client_id,
gfx::GpuFenceHandle handle) { … }
bool GpuFenceManager::IsValidGpuFence(uint32_t client_id) { … }
std::unique_ptr<gfx::GpuFence> GpuFenceManager::GetGpuFence(
uint32_t client_id) { … }
bool GpuFenceManager::GpuFenceServerWait(uint32_t client_id) { … }
bool GpuFenceManager::RemoveGpuFence(uint32_t client_id) { … }
void GpuFenceManager::Destroy(bool have_context) { … }
}
}