• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2016 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // RenderbufferNULL.cpp:
7 //    Implements the class methods for RenderbufferNULL.
8 //
9 
10 #include "libANGLE/renderer/null/RenderbufferNULL.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
RenderbufferNULL(const gl::RenderbufferState & state)17 RenderbufferNULL::RenderbufferNULL(const gl::RenderbufferState &state) : RenderbufferImpl(state) {}
18 
~RenderbufferNULL()19 RenderbufferNULL::~RenderbufferNULL() {}
20 
setStorage(const gl::Context * context,GLenum internalformat,GLsizei width,GLsizei height)21 angle::Result RenderbufferNULL::setStorage(const gl::Context *context,
22                                            GLenum internalformat,
23                                            GLsizei width,
24                                            GLsizei height)
25 {
26     return angle::Result::Continue;
27 }
28 
setStorageMultisample(const gl::Context * context,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,gl::MultisamplingMode mode)29 angle::Result RenderbufferNULL::setStorageMultisample(const gl::Context *context,
30                                                       GLsizei samples,
31                                                       GLenum internalformat,
32                                                       GLsizei width,
33                                                       GLsizei height,
34                                                       gl::MultisamplingMode mode)
35 {
36     return angle::Result::Continue;
37 }
38 
setStorageEGLImageTarget(const gl::Context * context,egl::Image * image)39 angle::Result RenderbufferNULL::setStorageEGLImageTarget(const gl::Context *context,
40                                                          egl::Image *image)
41 {
42     return angle::Result::Continue;
43 }
44 
initializeContents(const gl::Context * context,const gl::ImageIndex & imageIndex)45 angle::Result RenderbufferNULL::initializeContents(const gl::Context *context,
46                                                    const gl::ImageIndex &imageIndex)
47 {
48     return angle::Result::Continue;
49 }
50 
51 }  // namespace rx
52