• 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.h:
7 //    Defines the class interface for ImageNULL, implementing ImageImpl.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_NULL_IMAGENULL_H_
11 #define LIBANGLE_RENDERER_NULL_IMAGENULL_H_
12 
13 #include "libANGLE/renderer/ImageImpl.h"
14 
15 namespace rx
16 {
17 
18 class ImageNULL : public ImageImpl
19 {
20   public:
21     ImageNULL(const egl::ImageState &state);
22     ~ImageNULL() override;
23     egl::Error initialize(const egl::Display *display) override;
24 
25     angle::Result orphan(const gl::Context *context, egl::ImageSibling *sibling) override;
26 };
27 
28 }  // namespace rx
29 
30 #endif  // LIBANGLE_RENDERER_NULL_IMAGENULL_H_
31