OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GL_GL_SURFACE_WGL_H_ | 5 #ifndef UI_GL_GL_SURFACE_WGL_H_ |
6 #define UI_GL_GL_SURFACE_WGL_H_ | 6 #define UI_GL_GL_SURFACE_WGL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 #include "ui/gl/gl_export.h" |
10 #include "ui/gl/gl_surface.h" | 11 #include "ui/gl/gl_surface.h" |
11 | 12 |
12 namespace gfx { | 13 namespace gfx { |
13 | 14 |
14 // Base interface for WGL surfaces. | 15 // Base interface for WGL surfaces. |
15 class GL_EXPORT GLSurfaceWGL : public GLSurface { | 16 class GL_EXPORT GLSurfaceWGL : public GLSurface { |
16 public: | 17 public: |
17 GLSurfaceWGL(); | 18 GLSurfaceWGL(); |
18 | 19 |
19 // Implement GLSurface. | 20 // Implement GLSurface. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 gfx::Size size_; | 74 gfx::Size size_; |
74 HDC device_context_; | 75 HDC device_context_; |
75 void* pbuffer_; | 76 void* pbuffer_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); | 78 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace gfx | 81 } // namespace gfx |
81 | 82 |
82 #endif // UI_GL_GL_SURFACE_WGL_H_ | 83 #endif // UI_GL_GL_SURFACE_WGL_H_ |
OLD | NEW |