#include "libANGLE/renderer/gl/DisplayGL.h"
#include "libANGLE/AttributeMap.h"
#include "libANGLE/Context.h"
#include "libANGLE/Display.h"
#include "libANGLE/Surface.h"
#include "libANGLE/renderer/gl/ContextGL.h"
#include "libANGLE/renderer/gl/RendererGL.h"
#include "libANGLE/renderer/gl/StateManagerGL.h"
#include "libANGLE/renderer/gl/SurfaceGL.h"
#include <EGL/eglext.h>
namespace rx
{
std::string SanitizeRendererString(std::string rendererString)
{ … }
std::string SanitizeVersionString(std::string versionString, bool isES, bool includeFullVersion)
{ … }
DisplayGL::DisplayGL(const egl::DisplayState &state) : … { … }
DisplayGL::~DisplayGL() { … }
egl::Error DisplayGL::initialize(egl::Display *display)
{ … }
void DisplayGL::terminate() { … }
ImageImpl *DisplayGL::createImage(const egl::ImageState &state,
const gl::Context *context,
EGLenum target,
const egl::AttributeMap &attribs)
{ … }
SurfaceImpl *DisplayGL::createPbufferFromClientBuffer(const egl::SurfaceState &state,
EGLenum buftype,
EGLClientBuffer clientBuffer,
const egl::AttributeMap &attribs)
{ … }
StreamProducerImpl *DisplayGL::createStreamProducerD3DTexture(
egl::Stream::ConsumerType consumerType,
const egl::AttributeMap &attribs)
{ … }
ShareGroupImpl *DisplayGL::createShareGroup(const egl::ShareGroupState &state)
{ … }
egl::Error DisplayGL::makeCurrent(egl::Display *display,
egl::Surface *drawSurface,
egl::Surface *readSurface,
gl::Context *context)
{ … }
gl::Version DisplayGL::getMaxConformantESVersion() const
{ … }
Optional<gl::Version> DisplayGL::getMaxSupportedDesktopVersion() const
{ … }
void DisplayGL::generateExtensions(egl::DisplayExtensions *outExtensions) const
{ … }
egl::Error DisplayGL::makeCurrentSurfaceless(gl::Context *context)
{ … }
std::string DisplayGL::getRendererDescription()
{ … }
std::string DisplayGL::getVendorString()
{ … }
std::string DisplayGL::getVersionString(bool includeFullVersion)
{ … }
}