#include "common/debug.h"
#include "libANGLE/renderer/gl/glx/DisplayGLX.h"
#include "libANGLE/renderer/gl/glx/FunctionsGLX.h"
#include "libANGLE/renderer/gl/glx/PbufferSurfaceGLX.h"
namespace rx
{
PbufferSurfaceGLX::PbufferSurfaceGLX(const egl::SurfaceState &state,
EGLint width,
EGLint height,
bool largest,
const FunctionsGLX &glx,
glx::FBConfig fbConfig)
: … { … }
PbufferSurfaceGLX::~PbufferSurfaceGLX()
{ … }
egl::Error PbufferSurfaceGLX::initialize(const egl::Display *display)
{ … }
egl::Error PbufferSurfaceGLX::makeCurrent(const gl::Context *context)
{ … }
egl::Error PbufferSurfaceGLX::swap(const gl::Context *context)
{ … }
egl::Error PbufferSurfaceGLX::postSubBuffer(const gl::Context *context,
EGLint x,
EGLint y,
EGLint width,
EGLint height)
{ … }
egl::Error PbufferSurfaceGLX::querySurfacePointerANGLE(EGLint attribute, void **value)
{ … }
egl::Error PbufferSurfaceGLX::bindTexImage(const gl::Context *context,
gl::Texture *texture,
EGLint buffer)
{ … }
egl::Error PbufferSurfaceGLX::releaseTexImage(const gl::Context *context, EGLint buffer)
{ … }
void PbufferSurfaceGLX::setSwapInterval(EGLint interval) { … }
EGLint PbufferSurfaceGLX::getWidth() const
{ … }
EGLint PbufferSurfaceGLX::getHeight() const
{ … }
EGLint PbufferSurfaceGLX::isPostSubBufferSupported() const
{ … }
EGLint PbufferSurfaceGLX::getSwapBehavior() const
{ … }
egl::Error PbufferSurfaceGLX::checkForResize()
{ … }
glx::Drawable PbufferSurfaceGLX::getDrawable() const
{ … }
}