OLD | NEW |
1 // Copyright (c) 2011 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 #include "ui/gfx/gl/gl_share_group.h" | 5 #include "ui/gl/gl_share_group.h" |
6 | 6 |
7 #include "ui/gfx/gl/gl_context.h" | 7 #include "ui/gl/gl_context.h" |
8 | 8 |
9 namespace gfx { | 9 namespace gfx { |
10 | 10 |
11 GLShareGroup::GLShareGroup() { | 11 GLShareGroup::GLShareGroup() { |
12 } | 12 } |
13 | 13 |
14 void GLShareGroup::AddContext(GLContext* context) { | 14 void GLShareGroup::AddContext(GLContext* context) { |
15 contexts_.insert(context); | 15 contexts_.insert(context); |
16 } | 16 } |
17 | 17 |
(...skipping 17 matching lines...) Expand all Loading... |
35 return *it; | 35 return *it; |
36 } | 36 } |
37 | 37 |
38 return NULL; | 38 return NULL; |
39 } | 39 } |
40 | 40 |
41 GLShareGroup::~GLShareGroup() { | 41 GLShareGroup::~GLShareGroup() { |
42 } | 42 } |
43 | 43 |
44 } // namespace gfx | 44 } // namespace gfx |
OLD | NEW |