Geoff Lang | d08f3b3 | 2016-09-23 15:56:30 -0400 | [diff] [blame^] | 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 | |
| 17 | ImageNULL::ImageNULL() : ImageImpl() |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | ImageNULL::~ImageNULL() |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | egl::Error ImageNULL::initialize() |
| 26 | { |
| 27 | UNIMPLEMENTED(); |
| 28 | return egl::Error(EGL_BAD_ACCESS); |
| 29 | } |
| 30 | |
| 31 | gl::Error ImageNULL::orphan(egl::ImageSibling *sibling) |
| 32 | { |
| 33 | UNIMPLEMENTED(); |
| 34 | return gl::Error(GL_INVALID_OPERATION); |
| 35 | } |
| 36 | |
| 37 | } // namespace rx |