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 | // DeviceNULL.cpp: |
| 7 | // Implements the class methods for DeviceNULL. |
| 8 | // |
| 9 | |
| 10 | #include "libANGLE/renderer/null/DeviceNULL.h" |
| 11 | |
| 12 | #include "common/debug.h" |
| 13 | |
| 14 | namespace rx |
| 15 | { |
| 16 | |
| 17 | DeviceNULL::DeviceNULL() : DeviceImpl() |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | DeviceNULL::~DeviceNULL() |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | egl::Error DeviceNULL::getDevice(void **outValue) |
| 26 | { |
| 27 | UNIMPLEMENTED(); |
| 28 | return egl::Error(EGL_BAD_ACCESS); |
| 29 | } |
| 30 | |
| 31 | EGLint DeviceNULL::getType() |
| 32 | { |
| 33 | UNIMPLEMENTED(); |
| 34 | return EGLint(); |
| 35 | } |
| 36 | |
| 37 | void DeviceNULL::generateExtensions(egl::DeviceExtensions *outExtensions) const |
| 38 | { |
| 39 | UNIMPLEMENTED(); |
| 40 | } |
| 41 | |
| 42 | bool DeviceNULL::deviceExternallySourced() |
| 43 | { |
| 44 | UNIMPLEMENTED(); |
| 45 | return bool(); |
| 46 | } |
| 47 | |
| 48 | } // namespace rx |