#include "libANGLE/renderer/gl/SurfaceGL.h"
#include "libANGLE/Context.h"
#include "libANGLE/Surface.h"
#include "libANGLE/renderer/gl/BlitGL.h"
#include "libANGLE/renderer/gl/ContextGL.h"
#include "libANGLE/renderer/gl/FramebufferGL.h"
#include "libANGLE/renderer/gl/RendererGL.h"
namespace rx
{
SurfaceGL::SurfaceGL(const egl::SurfaceState &state) : … { … }
SurfaceGL::~SurfaceGL() { … }
egl::Error SurfaceGL::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc)
{ … }
egl::Error SurfaceGL::getMscRate(EGLint *numerator, EGLint *denominator)
{ … }
angle::Result SurfaceGL::initializeContents(const gl::Context *context,
GLenum binding,
const gl::ImageIndex &imageIndex)
{ … }
bool SurfaceGL::hasEmulatedAlphaChannel() const
{ … }
egl::Error SurfaceGL::attachToFramebuffer(const gl::Context *context, gl::Framebuffer *framebuffer)
{ … }
egl::Error SurfaceGL::detachFromFramebuffer(const gl::Context *context,
gl::Framebuffer *framebuffer)
{ … }
}