• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2018 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 // ContextD3D: Shared common class for Context9 and Context11.
7 
8 #ifndef LIBANGLE_RENDERER_CONTEXTD3D_H_
9 #define LIBANGLE_RENDERER_CONTEXTD3D_H_
10 
11 #include "libANGLE/renderer/ContextImpl.h"
12 #include "libANGLE/renderer/d3d/RendererD3D.h"
13 
14 namespace rx
15 {
16 class ContextD3D : public ContextImpl, public d3d::Context
17 {
18   public:
ContextD3D(const gl::State & state,gl::ErrorSet * errorSet)19     ContextD3D(const gl::State &state, gl::ErrorSet *errorSet) : ContextImpl(state, errorSet) {}
~ContextD3D()20     ~ContextD3D() override {}
21 };
22 }  // namespace rx
23 
24 #endif  // LIBANGLE_RENDERER_CONTEXTD3D_H_
25