chromium/third_party/angle/src/libANGLE/FramebufferAttachment.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.
//

// FramebufferAttachment.cpp: the gl::FramebufferAttachment class and its derived classes
// objects and related functionality. [OpenGL ES 2.0.24] section 4.4.3 page 108.

#include "libANGLE/FramebufferAttachment.h"

#include "common/utilities.h"
#include "libANGLE/Config.h"
#include "libANGLE/Context.h"
#include "libANGLE/Renderbuffer.h"
#include "libANGLE/Surface.h"
#include "libANGLE/Texture.h"
#include "libANGLE/formatutils.h"
#include "libANGLE/renderer/FramebufferAttachmentObjectImpl.h"
#include "libANGLE/renderer/FramebufferImpl.h"

namespace gl
{

////// FramebufferAttachment::Target Implementation //////

const GLsizei FramebufferAttachment::kDefaultNumViews             =;
const GLint FramebufferAttachment::kDefaultBaseViewIndex          =;
const GLint FramebufferAttachment::kDefaultRenderToTextureSamples =;

FramebufferAttachment::Target::Target() :{}

FramebufferAttachment::Target::Target(GLenum binding, const ImageIndex &imageIndex)
    :{}

FramebufferAttachment::Target::Target(const Target &other)
    :{}

FramebufferAttachment::Target &FramebufferAttachment::Target::operator=(const Target &other)
{}

////// FramebufferAttachment Implementation //////

FramebufferAttachment::FramebufferAttachment()
    :{}

FramebufferAttachment::FramebufferAttachment(const Context *context,
                                             GLenum type,
                                             GLenum binding,
                                             const ImageIndex &textureIndex,
                                             FramebufferAttachmentObject *resource,
                                             rx::UniqueSerial framebufferSerial)
    :{}

FramebufferAttachment::FramebufferAttachment(FramebufferAttachment &&other)
    :{}

FramebufferAttachment &FramebufferAttachment::operator=(FramebufferAttachment &&other)
{}

FramebufferAttachment::~FramebufferAttachment()
{}

void FramebufferAttachment::detach(const Context *context, rx::UniqueSerial framebufferSerial)
{}

void FramebufferAttachment::attach(const Context *context,
                                   GLenum type,
                                   GLenum binding,
                                   const ImageIndex &textureIndex,
                                   FramebufferAttachmentObject *resource,
                                   GLsizei numViews,
                                   GLuint baseViewIndex,
                                   bool isMultiview,
                                   GLsizei samples,
                                   rx::UniqueSerial framebufferSerial)
{}

GLuint FramebufferAttachment::getRedSize() const
{}

GLuint FramebufferAttachment::getGreenSize() const
{}

GLuint FramebufferAttachment::getBlueSize() const
{}

GLuint FramebufferAttachment::getAlphaSize() const
{}

GLuint FramebufferAttachment::getDepthSize() const
{}

GLuint FramebufferAttachment::getStencilSize() const
{}

GLenum FramebufferAttachment::getComponentType() const
{}

GLenum FramebufferAttachment::getColorEncoding() const
{}

GLuint FramebufferAttachment::id() const
{}

TextureTarget FramebufferAttachment::cubeMapFace() const
{}

GLint FramebufferAttachment::mipLevel() const
{}

GLint FramebufferAttachment::layer() const
{}

bool FramebufferAttachment::isLayered() const
{}

bool FramebufferAttachment::isMultiview() const
{}

GLint FramebufferAttachment::getBaseViewIndex() const
{}

bool FramebufferAttachment::isRenderToTexture() const
{}

GLsizei FramebufferAttachment::getRenderToTextureSamples() const
{}

Texture *FramebufferAttachment::getTexture() const
{}

Renderbuffer *FramebufferAttachment::getRenderbuffer() const
{}

const egl::Surface *FramebufferAttachment::getSurface() const
{}

FramebufferAttachmentObject *FramebufferAttachment::getResource() const
{}

bool FramebufferAttachment::operator==(const FramebufferAttachment &other) const
{}

bool FramebufferAttachment::operator!=(const FramebufferAttachment &other) const
{}

InitState FramebufferAttachment::initState() const
{}

angle::Result FramebufferAttachment::initializeContents(const Context *context) const
{}

void FramebufferAttachment::setInitState(InitState initState) const
{}

////// FramebufferAttachmentObject Implementation //////

FramebufferAttachmentObject::FramebufferAttachmentObject() {}

FramebufferAttachmentObject::~FramebufferAttachmentObject() {}

angle::Result FramebufferAttachmentObject::getAttachmentRenderTarget(
    const Context *context,
    GLenum binding,
    const ImageIndex &imageIndex,
    GLsizei samples,
    rx::FramebufferAttachmentRenderTarget **rtOut) const
{}

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

}  // namespace gl