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_CONTEXT_OSMESA_H_ | 5 #ifndef UI_GL_GL_CONTEXT_OSMESA_H_ |
6 #define UI_GL_GL_CONTEXT_OSMESA_H_ | 6 #define UI_GL_GL_CONTEXT_OSMESA_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "ui/gl/gl_context.h" | 10 #include "ui/gl/gl_context.h" |
11 | 11 |
12 typedef struct osmesa_context* OSMesaContext; | 12 typedef struct osmesa_context* OSMesaContext; |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 | 15 |
16 class GLShareGroup; | 16 class GLShareGroup; |
17 class GLSurface; | 17 class GLSurface; |
18 | 18 |
19 // Encapsulates an OSMesa OpenGL context that uses software rendering. | 19 // Encapsulates an OSMesa OpenGL context that uses software rendering. |
(...skipping 18 matching lines...) Expand all Loading... |
38 | 38 |
39 OSMesaContext context_; | 39 OSMesaContext context_; |
40 bool is_released_; | 40 bool is_released_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(GLContextOSMesa); | 42 DISALLOW_COPY_AND_ASSIGN(GLContextOSMesa); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace gfx | 45 } // namespace gfx |
46 | 46 |
47 #endif // UI_GL_GL_CONTEXT_OSMESA_H_ | 47 #endif // UI_GL_GL_CONTEXT_OSMESA_H_ |
OLD | NEW |