blob: 4893f9466230354c6e481a60b2d5189d5bb6fae6 [file] [log] [blame]
Geoff Langd08f3b32016-09-23 15:56:30 -04001//
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
14namespace rx
15{
16
17DeviceNULL::DeviceNULL() : DeviceImpl()
18{
19}
20
21DeviceNULL::~DeviceNULL()
22{
23}
24
25egl::Error DeviceNULL::getDevice(void **outValue)
26{
27 UNIMPLEMENTED();
28 return egl::Error(EGL_BAD_ACCESS);
29}
30
31EGLint DeviceNULL::getType()
32{
33 UNIMPLEMENTED();
34 return EGLint();
35}
36
37void DeviceNULL::generateExtensions(egl::DeviceExtensions *outExtensions) const
38{
39 UNIMPLEMENTED();
40}
41
42bool DeviceNULL::deviceExternallySourced()
43{
44 UNIMPLEMENTED();
45 return bool();
46}
47
48} // namespace rx