• 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 // ImageNULL.cpp:
7 //    Implements the class methods for ImageNULL.
8 //
9 
10 #include "libANGLE/renderer/null/ImageNULL.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
ImageNULL(const egl::ImageState & state)17 ImageNULL::ImageNULL(const egl::ImageState &state) : ImageImpl(state) {}
18 
~ImageNULL()19 ImageNULL::~ImageNULL() {}
20 
initialize(const egl::Display * display)21 egl::Error ImageNULL::initialize(const egl::Display *display)
22 {
23     return egl::NoError();
24 }
25 
orphan(const gl::Context * context,egl::ImageSibling * sibling)26 angle::Result ImageNULL::orphan(const gl::Context *context, egl::ImageSibling *sibling)
27 {
28     return angle::Result::Continue;
29 }
30 
31 }  // namespace rx
32