#include "libANGLE/Device.h"
#include <iterator>
#include <EGL/eglext.h>
#include <platform/PlatformMethods.h>
#include "anglebase/no_destructor.h"
#include "common/debug.h"
#include "common/platform.h"
#include "libANGLE/renderer/DeviceImpl.h"
#if defined(ANGLE_ENABLE_D3D11)
# include "libANGLE/renderer/d3d/d3d11/Device11.h"
#endif
namespace egl
{
template <typename T>
static std::string GenerateExtensionsString(const T &extensions)
{ … }
DeviceSet;
static DeviceSet *GetDeviceSet()
{ … }
egl::Error Device::CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice)
{ … }
bool Device::IsValidDevice(const Device *device)
{ … }
Device::Device(Display *owningDisplay, rx::DeviceImpl *impl)
: … { … }
Device::~Device()
{ … }
void Device::setLabel(EGLLabelKHR label)
{ … }
EGLLabelKHR Device::getLabel() const
{ … }
Error Device::getAttribute(EGLint attribute, EGLAttrib *value)
{ … }
void Device::initDeviceExtensions()
{ … }
const DeviceExtensions &Device::getExtensions() const
{ … }
const std::string &Device::getExtensionString() const
{ … }
const std::string &Device::getDeviceString(EGLint name)
{ … }
}