#include "libANGLE/renderer/DisplayImpl.h"
#include "libANGLE/Display.h"
#include "libANGLE/Surface.h"
#include "libANGLE/renderer/DeviceImpl.h"
namespace rx
{
namespace
{
class MockDevice : public DeviceImpl
{ … };
}
DisplayImpl::DisplayImpl(const egl::DisplayState &state)
: … { … }
DisplayImpl::~DisplayImpl()
{ … }
egl::Error DisplayImpl::prepareForCall()
{ … }
egl::Error DisplayImpl::releaseThread()
{ … }
const egl::DisplayExtensions &DisplayImpl::getExtensions() const
{ … }
egl::Error DisplayImpl::handleGPUSwitch()
{ … }
egl::Error DisplayImpl::forceGPUSwitch(EGLint gpuIDHigh, EGLint gpuIDLow)
{ … }
egl::Error DisplayImpl::waitUntilWorkScheduled()
{ … }
egl::Error DisplayImpl::validateClientBuffer(const egl::Config *configuration,
EGLenum buftype,
EGLClientBuffer clientBuffer,
const egl::AttributeMap &attribs) const
{ … }
egl::Error DisplayImpl::validateImageClientBuffer(const gl::Context *context,
EGLenum target,
EGLClientBuffer clientBuffer,
const egl::AttributeMap &attribs) const
{ … }
egl::Error DisplayImpl::validatePixmap(const egl::Config *config,
EGLNativePixmapType pixmap,
const egl::AttributeMap &attributes) const
{ … }
const egl::Caps &DisplayImpl::getCaps() const
{ … }
DeviceImpl *DisplayImpl::createDevice()
{ … }
angle::NativeWindowSystem DisplayImpl::getWindowSystem() const
{ … }
bool DisplayImpl::supportsDmaBufFormat(EGLint format) const
{ … }
egl::Error DisplayImpl::queryDmaBufFormats(EGLint max_formats, EGLint *formats, EGLint *num_formats)
{ … }
egl::Error DisplayImpl::queryDmaBufModifiers(EGLint format,
EGLint max_modifiers,
EGLuint64KHR *modifiers,
EGLBoolean *external_only,
EGLint *num_modifiers)
{ … }
}