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

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

// SurfaceImpl.cpp: Implementation of Surface stub method class

#include "libANGLE/renderer/SurfaceImpl.h"

namespace rx
{

SurfaceImpl::SurfaceImpl(const egl::SurfaceState &state) :{}

SurfaceImpl::~SurfaceImpl() {}

egl::Error SurfaceImpl::makeCurrent(const gl::Context *context)
{}

egl::Error SurfaceImpl::unMakeCurrent(const gl::Context *context)
{}

egl::Error SurfaceImpl::prepareSwap(const gl::Context *)
{}

egl::Error SurfaceImpl::swapWithDamage(const gl::Context *context,
                                       const EGLint *rects,
                                       EGLint n_rects)
{}

egl::Error SurfaceImpl::swapWithFrameToken(const gl::Context *context,
                                           EGLFrameTokenANGLE frameToken)
{}

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

egl::Error SurfaceImpl::setPresentationTime(EGLnsecsANDROID time)
{}

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

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

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

void SurfaceImpl::setFixedWidth(EGLint width)
{}

void SurfaceImpl::setFixedHeight(EGLint height)
{}

void SurfaceImpl::setTimestampsEnabled(bool enabled)
{}

const angle::Format *SurfaceImpl::getD3DTextureColorFormat() const
{}

egl::SupportedCompositorTimings SurfaceImpl::getSupportedCompositorTimings() const
{}

egl::Error SurfaceImpl::getCompositorTiming(EGLint numTimestamps,
                                            const EGLint *names,
                                            EGLnsecsANDROID *values) const
{}

egl::Error SurfaceImpl::getNextFrameId(EGLuint64KHR *frameId) const
{}

egl::SupportedTimestamps SurfaceImpl::getSupportedTimestamps() const
{}

egl::Error SurfaceImpl::getFrameTimestamps(EGLuint64KHR frameId,
                                           EGLint numTimestamps,
                                           const EGLint *timestamps,
                                           EGLnsecsANDROID *values) const
{}
egl::Error SurfaceImpl::getUserWidth(const egl::Display *display, EGLint *value) const
{}

egl::Error SurfaceImpl::getUserHeight(const egl::Display *display, EGLint *value) const
{}

EGLint SurfaceImpl::isPostSubBufferSupported() const
{}

egl::Error SurfaceImpl::getBufferAge(const gl::Context *context, EGLint *age)
{}

egl::Error SurfaceImpl::setAutoRefreshEnabled(bool enabled)
{}

egl::Error SurfaceImpl::lockSurface(const egl::Display *display,
                                    EGLint usageHint,
                                    bool preservePixels,
                                    uint8_t **bufferPtrOut,
                                    EGLint *bufferPitchOut)
{}

egl::Error SurfaceImpl::unlockSurface(const egl::Display *display, bool preservePixels)
{}

EGLint SurfaceImpl::origin() const
{}

egl::Error SurfaceImpl::setRenderBuffer(EGLint renderBuffer)
{}
}  // namespace rx