1 //
2 // Copyright 2017 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 
7 // SurfaceWGL.h: Base class for WGL surface types
8 
9 #ifndef LIBANGLE_RENDERER_GL_WGL_SURFACEWGL_H_
10 #define LIBANGLE_RENDERER_GL_WGL_SURFACEWGL_H_
11 
12 #include "libANGLE/renderer/gl/SurfaceGL.h"
13 
14 namespace rx
15 {
16 class SurfaceWGL : public SurfaceGL
17 {
18   public:
SurfaceWGL(const egl::SurfaceState & state)19     SurfaceWGL(const egl::SurfaceState &state) : SurfaceGL(state) {}
20 
~SurfaceWGL()21     ~SurfaceWGL() override {}
22 
23     virtual HDC getDC() const = 0;
24 };
25 }  // namespace rx
26 
27 #endif  // LIBANGLE_RENDERER_GL_WGL_SURFACEWGL_H_
28