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

Side by Side Diff: ui/gl/gl_share_group.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_osmesa_api_implementation.cc ('k') | ui/gl/gl_share_group.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_SHARE_GROUP_H_ 5 #ifndef UI_GL_GL_SHARE_GROUP_H_
6 #define UI_GL_GL_SHARE_GROUP_H_ 6 #define UI_GL_GL_SHARE_GROUP_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "ui/gl/gl_export.h" 13 #include "ui/gl/gl_export.h"
14 14
15 namespace gfx { 15 namespace gl {
16 16
17 class GLContext; 17 class GLContext;
18 18
19 // A group of GL contexts that share an ID namespace. 19 // A group of GL contexts that share an ID namespace.
20 class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> { 20 class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> {
21 public: 21 public:
22 GLShareGroup(); 22 GLShareGroup();
23 23
24 // These two should only be called from the constructor and destructor of 24 // These two should only be called from the constructor and destructor of
25 // GLContext. 25 // GLContext.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 GLContext* shared_context_; 59 GLContext* shared_context_;
60 60
61 #if defined(OS_MACOSX) 61 #if defined(OS_MACOSX)
62 int renderer_id_; 62 int renderer_id_;
63 #endif 63 #endif
64 64
65 DISALLOW_COPY_AND_ASSIGN(GLShareGroup); 65 DISALLOW_COPY_AND_ASSIGN(GLShareGroup);
66 }; 66 };
67 67
68 } // namespace gfx 68 } // namespace gl
69 69
70 #endif // UI_GL_GL_SHARE_GROUP_H_ 70 #endif // UI_GL_GL_SHARE_GROUP_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_osmesa_api_implementation.cc ('k') | ui/gl/gl_share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698