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 GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
7 | 7 |
8 #include "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "gpu/command_buffer/client/gpu_control.h" | 11 #include "gpu/command_buffer/client/gpu_control.h" |
12 #include "gpu/command_buffer/service/feature_info.h" | 12 #include "gpu/command_buffer/service/feature_info.h" |
| 13 #include "ui/gfx/geometry/size.h" |
13 #include "ui/gfx/gpu_memory_buffer.h" | 14 #include "ui/gfx/gpu_memory_buffer.h" |
14 #include "ui/gfx/size.h" | |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class CommandLine; | 17 class CommandLine; |
18 } | 18 } |
19 | 19 |
20 namespace gfx { | 20 namespace gfx { |
21 | 21 |
22 class GLContext; | 22 class GLContext; |
23 class GLShareGroup; | 23 class GLShareGroup; |
24 class GLSurface; | 24 class GLSurface; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // Used on Android to virtualize GL for all contexts. | 140 // Used on Android to virtualize GL for all contexts. |
141 static int use_count_; | 141 static int use_count_; |
142 static scoped_refptr<gfx::GLShareGroup>* base_share_group_; | 142 static scoped_refptr<gfx::GLShareGroup>* base_share_group_; |
143 static scoped_refptr<gfx::GLSurface>* base_surface_; | 143 static scoped_refptr<gfx::GLSurface>* base_surface_; |
144 static scoped_refptr<gfx::GLContext>* base_context_; | 144 static scoped_refptr<gfx::GLContext>* base_context_; |
145 }; | 145 }; |
146 | 146 |
147 } // namespace gpu | 147 } // namespace gpu |
148 | 148 |
149 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ | 149 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ |
OLD | NEW |