#include "libANGLE/EGLSync.h"
#include "angle_gl.h"
#include "common/utilities.h"
#include "libANGLE/renderer/EGLImplFactory.h"
#include "libANGLE/renderer/EGLReusableSync.h"
#include "libANGLE/renderer/EGLSyncImpl.h"
namespace egl
{
Sync::Sync(rx::EGLImplFactory *factory, EGLenum type)
: … { … }
void Sync::onDestroy(const Display *display)
{ … }
Sync::~Sync() { … }
Error Sync::initialize(const Display *display,
const gl::Context *context,
const SyncID &id,
const AttributeMap &attribs)
{ … }
void Sync::setLabel(EGLLabelKHR label)
{ … }
EGLLabelKHR Sync::getLabel() const
{ … }
Error Sync::clientWait(const Display *display,
const gl::Context *context,
EGLint flags,
EGLTime timeout,
EGLint *outResult)
{ … }
Error Sync::serverWait(const Display *display, const gl::Context *context, EGLint flags)
{ … }
Error Sync::signal(const Display *display, const gl::Context *context, EGLint mode)
{ … }
Error Sync::getStatus(const Display *display, EGLint *outStatus) const
{ … }
Error Sync::copyMetalSharedEventANGLE(const Display *display, void **result) const
{ … }
Error Sync::dupNativeFenceFD(const Display *display, EGLint *result) const
{ … }
}