diff options
Diffstat (limited to 'gfx/angle/checkout/src/libANGLE/renderer/d3d/ContextD3D.h')
-rw-r--r-- | gfx/angle/checkout/src/libANGLE/renderer/d3d/ContextD3D.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ContextD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ContextD3D.h new file mode 100644 index 0000000000..d563672e67 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ContextD3D.h @@ -0,0 +1,24 @@ +// +// 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_ |