chromium/third_party/angle/src/libANGLE/renderer/DisplayImpl.cpp

//
// Copyright 2014 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.
//

// DisplayImpl.cpp: Implementation methods of egl::Display

#include "libANGLE/renderer/DisplayImpl.h"

#include "libANGLE/Display.h"
#include "libANGLE/Surface.h"
#include "libANGLE/renderer/DeviceImpl.h"

namespace rx
{
namespace
{
// For back-ends that do not implement EGLDevice.
class MockDevice : public DeviceImpl
{};
}  // anonymous namespace

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)
{}
}  // namespace rx