chromium/third_party/angle/src/libANGLE/Device.cpp

//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// Device.cpp: Implements the egl::Device class, representing the abstract
// device. Implements EGLDevice.

#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()
{}

// Static factory methods
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)
{}
}  // namespace egl