Hash :
d08f3b3d
Author :
Date :
2016-09-23T15:56:30
Add stubs for a NULL renderer. BUG=angleproject:1468 Change-Id: I2ed2b65a4b6f6ea3dda61c0467aef95e407cd38c Reviewed-on: https://chromium-review.googlesource.com/388844 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
//
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ImageNULL.cpp:
// Implements the class methods for ImageNULL.
//
#include "libANGLE/renderer/null/ImageNULL.h"
#include "common/debug.h"
namespace rx
{
ImageNULL::ImageNULL() : ImageImpl()
{
}
ImageNULL::~ImageNULL()
{
}
egl::Error ImageNULL::initialize()
{
UNIMPLEMENTED();
return egl::Error(EGL_BAD_ACCESS);
}
gl::Error ImageNULL::orphan(egl::ImageSibling *sibling)
{
UNIMPLEMENTED();
return gl::Error(GL_INVALID_OPERATION);
}
} // namespace rx