Hash :
0c667215
Author :
Date :
2019-01-01T14:40:36
Pass ErrorSet to ContextImpl constructor. This removes the need for the setErrorSet method. Also update some egl::Error TODO bugs. Bug: angleproject:2491 Change-Id: I0aba07c4a53b579835a88c3dacae294f752e6b17 Reviewed-on: https://chromium-review.googlesource.com/c/1392393 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
//
// Copyright 2018 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.
//
// ContextD3D: Shared common class for Context9 and Context11.
#ifndef LIBANGLE_RENDERER_CONTEXTD3D_H_
#define LIBANGLE_RENDERER_CONTEXTD3D_H_
#include "libANGLE/renderer/ContextImpl.h"
#include "libANGLE/renderer/d3d/RendererD3D.h"
namespace rx
{
class ContextD3D : public ContextImpl, public d3d::Context
{
public:
ContextD3D(const gl::State &state, gl::ErrorSet *errorSet) : ContextImpl(state, errorSet) {}
~ContextD3D() override {}
};
} // namespace rx
#endif // LIBANGLE_RENDERER_CONTEXTD3D_H_