Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Side by Side Diff: ui/gl/gl_surface_wgl.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_surface_stub.cc ('k') | ui/gl/gl_surface_wgl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_export.h"
11 #include "ui/gl/gl_surface.h" 11 #include "ui/gl/gl_surface.h"
12 12
13 namespace gfx { 13 namespace gl {
14 14
15 // Base interface for WGL surfaces. 15 // Base interface for WGL surfaces.
16 class GL_EXPORT GLSurfaceWGL : public GLSurface { 16 class GL_EXPORT GLSurfaceWGL : public GLSurface {
17 public: 17 public:
18 GLSurfaceWGL(); 18 GLSurfaceWGL();
19 19
20 // Implement GLSurface. 20 // Implement GLSurface.
21 void* GetDisplay() override; 21 void* GetDisplay() override;
22 22
23 static bool InitializeOneOff(); 23 static bool InitializeOneOff();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 private: 77 private:
78 ~PbufferGLSurfaceWGL() override; 78 ~PbufferGLSurfaceWGL() override;
79 79
80 gfx::Size size_; 80 gfx::Size size_;
81 HDC device_context_; 81 HDC device_context_;
82 void* pbuffer_; 82 void* pbuffer_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); 84 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL);
85 }; 85 };
86 86
87 } // namespace gfx 87 } // namespace gl
88 88
89 #endif // UI_GL_GL_SURFACE_WGL_H_ 89 #endif // UI_GL_GL_SURFACE_WGL_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_stub.cc ('k') | ui/gl/gl_surface_wgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698