#include "libANGLE/Semaphore.h"
#include "common/angleutils.h"
#include "libANGLE/renderer/GLImplFactory.h"
#include "libANGLE/renderer/SemaphoreImpl.h"
namespace gl
{
Semaphore::Semaphore(rx::GLImplFactory *factory, SemaphoreID id)
: … { … }
Semaphore::~Semaphore() { … }
void Semaphore::onDestroy(const Context *context)
{ … }
angle::Result Semaphore::importFd(Context *context, HandleType handleType, GLint fd)
{ … }
angle::Result Semaphore::importZirconHandle(Context *context, HandleType handleType, GLuint handle)
{ … }
angle::Result Semaphore::wait(Context *context,
const BufferBarrierVector &bufferBarriers,
const TextureBarrierVector &textureBarriers)
{ … }
angle::Result Semaphore::signal(Context *context,
const BufferBarrierVector &bufferBarriers,
const TextureBarrierVector &textureBarriers)
{ … }
}