chromium/third_party/angle/src/libANGLE/renderer/null/SurfaceNULL.cpp

//
// Copyright 2016 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.
//
// SurfaceNULL.cpp:
//    Implements the class methods for SurfaceNULL.
//

#include "libANGLE/renderer/null/SurfaceNULL.h"

#include "common/debug.h"

#include "libANGLE/renderer/null/FramebufferNULL.h"

namespace rx
{

SurfaceNULL::SurfaceNULL(const egl::SurfaceState &surfaceState) :{}

SurfaceNULL::~SurfaceNULL() {}

egl::Error SurfaceNULL::initialize(const egl::Display *display)
{}

egl::Error SurfaceNULL::swap(const gl::Context *context)
{}

egl::Error SurfaceNULL::postSubBuffer(const gl::Context *context,
                                      EGLint x,
                                      EGLint y,
                                      EGLint width,
                                      EGLint height)
{}

egl::Error SurfaceNULL::querySurfacePointerANGLE(EGLint attribute, void **value)
{}

egl::Error SurfaceNULL::bindTexImage(const gl::Context *context,
                                     gl::Texture *texture,
                                     EGLint buffer)
{}

egl::Error SurfaceNULL::releaseTexImage(const gl::Context *context, EGLint buffer)
{}

egl::Error SurfaceNULL::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc)
{}

egl::Error SurfaceNULL::getMscRate(EGLint *numerator, EGLint *denominator)
{}

void SurfaceNULL::setSwapInterval(EGLint interval) {}

EGLint SurfaceNULL::getWidth() const
{}

EGLint SurfaceNULL::getHeight() const
{}

EGLint SurfaceNULL::isPostSubBufferSupported() const
{}

EGLint SurfaceNULL::getSwapBehavior() const
{}

angle::Result SurfaceNULL::initializeContents(const gl::Context *context,
                                              GLenum binding,
                                              const gl::ImageIndex &imageIndex)
{}

egl::Error SurfaceNULL::attachToFramebuffer(const gl::Context *context,
                                            gl::Framebuffer *framebuffer)
{}

egl::Error SurfaceNULL::detachFromFramebuffer(const gl::Context *context,
                                              gl::Framebuffer *framebuffer)
{}

}  // namespace rx