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

Side by Side Diff: app/gfx/gl/gl_context.h

Issue 3146002: Fixed build problems on Mac OS X when using GLContext from Chromium's... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « app/gfx/gl/generate_bindings.py ('k') | app/gfx/gl/gl_context_egl.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 APP_GFX_GL_GL_CONTEXT_H_ 5 #ifndef APP_GFX_GL_GL_CONTEXT_H_
6 #define APP_GFX_GL_GL_CONTEXT_H_ 6 #define APP_GFX_GL_GL_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/logging.h"
10 #include "build/build_config.h" 9 #include "build/build_config.h"
11 #include "gfx/native_widget_types.h" 10 #include "gfx/native_widget_types.h"
12 #include "gfx/size.h" 11 #include "gfx/size.h"
13 12
14 namespace gfx { 13 namespace gfx {
15 14
16 // Encapsulates an OpenGL context, hiding platform specific management. 15 // Encapsulates an OpenGL context, hiding platform specific management.
17 class GLContext { 16 class GLContext {
18 public: 17 public:
19 GLContext() {} 18 GLContext() {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 protected: 61 protected:
63 bool InitializeCommon(); 62 bool InitializeCommon();
64 63
65 private: 64 private:
66 DISALLOW_COPY_AND_ASSIGN(GLContext); 65 DISALLOW_COPY_AND_ASSIGN(GLContext);
67 }; 66 };
68 67
69 } // namespace gfx 68 } // namespace gfx
70 69
71 #endif // APP_GFX_GL_GL_CONTEXT_H_ 70 #endif // APP_GFX_GL_GL_CONTEXT_H_
OLDNEW
« no previous file with comments | « app/gfx/gl/generate_bindings.py ('k') | app/gfx/gl/gl_context_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698