| 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_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/basictypes.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 "ui/gl/gl_export.h" | 13 #include "ui/gl/gl_export.h" |
| 13 | 14 |
| 14 namespace gfx { | 15 namespace gfx { |
| 15 | 16 |
| 16 class GLContext; | 17 class GLContext; |
| 17 | 18 |
| 18 // A group of GL contexts that share an ID namespace. | 19 // A group of GL contexts that share an ID namespace. |
| 19 class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> { | 20 class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> { |
| 20 public: | 21 public: |
| 21 GLShareGroup(); | 22 GLShareGroup(); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #if defined(OS_MACOSX) | 61 #if defined(OS_MACOSX) |
| 61 int renderer_id_; | 62 int renderer_id_; |
| 62 #endif | 63 #endif |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(GLShareGroup); | 65 DISALLOW_COPY_AND_ASSIGN(GLShareGroup); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace gfx | 68 } // namespace gfx |
| 68 | 69 |
| 69 #endif // UI_GL_GL_SHARE_GROUP_H_ | 70 #endif // UI_GL_GL_SHARE_GROUP_H_ |
| OLD | NEW |