#include "libANGLE/renderer/gl/egl/SurfaceEGL.h"
#include "common/debug.h"
#include "libANGLE/Display.h"
namespace rx
{
SurfaceEGL::SurfaceEGL(const egl::SurfaceState &state, const FunctionsEGL *egl, EGLConfig config)
: … { … }
SurfaceEGL::~SurfaceEGL()
{ … }
egl::Error SurfaceEGL::makeCurrent(const gl::Context *context)
{ … }
egl::Error SurfaceEGL::swap(const gl::Context *context)
{ … }
egl::Error SurfaceEGL::swapWithDamage(const gl::Context *context,
const EGLint *rects,
EGLint n_rects)
{ … }
egl::Error SurfaceEGL::postSubBuffer(const gl::Context *context,
EGLint x,
EGLint y,
EGLint width,
EGLint height)
{ … }
egl::Error SurfaceEGL::setPresentationTime(EGLnsecsANDROID time)
{ … }
egl::Error SurfaceEGL::querySurfacePointerANGLE(EGLint attribute, void **value)
{ … }
egl::Error SurfaceEGL::bindTexImage(const gl::Context *context, gl::Texture *texture, EGLint buffer)
{ … }
egl::Error SurfaceEGL::releaseTexImage(const gl::Context *context, EGLint buffer)
{ … }
void SurfaceEGL::setSwapInterval(EGLint interval)
{ … }
EGLint SurfaceEGL::getWidth() const
{ … }
EGLint SurfaceEGL::getHeight() const
{ … }
EGLint SurfaceEGL::isPostSubBufferSupported() const
{ … }
EGLint SurfaceEGL::getSwapBehavior() const
{ … }
EGLSurface SurfaceEGL::getSurface() const
{ … }
void SurfaceEGL::setTimestampsEnabled(bool enabled)
{ … }
egl::SupportedCompositorTimings SurfaceEGL::getSupportedCompositorTimings() const
{ … }
egl::Error SurfaceEGL::getCompositorTiming(EGLint numTimestamps,
const EGLint *names,
EGLnsecsANDROID *values) const
{ … }
egl::Error SurfaceEGL::getNextFrameId(EGLuint64KHR *frameId) const
{ … }
egl::SupportedTimestamps SurfaceEGL::getSupportedTimestamps() const
{ … }
egl::Error SurfaceEGL::getFrameTimestamps(EGLuint64KHR frameId,
EGLint numTimestamps,
const EGLint *timestamps,
EGLnsecsANDROID *values) const
{ … }
bool SurfaceEGL::isExternal() const
{ … }
}