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_SERVICE_CONTEXT_GROUP_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 class ImageFactory; | 29 class ImageFactory; |
30 struct GpuPreferences; | 30 struct GpuPreferences; |
31 class TransferBufferManager; | 31 class TransferBufferManager; |
32 | 32 |
33 namespace gles2 { | 33 namespace gles2 { |
34 | 34 |
35 class ProgramCache; | 35 class ProgramCache; |
36 class BufferManager; | 36 class BufferManager; |
37 class GLES2Decoder; | 37 class GLES2Decoder; |
38 class FramebufferManager; | |
39 class MailboxManager; | 38 class MailboxManager; |
40 class RenderbufferManager; | 39 class RenderbufferManager; |
41 class PathManager; | 40 class PathManager; |
42 class ProgramManager; | 41 class ProgramManager; |
43 class ProgressReporter; | 42 class ProgressReporter; |
44 class SamplerManager; | 43 class SamplerManager; |
45 class ShaderManager; | 44 class ShaderManager; |
46 class TextureManager; | 45 class TextureManager; |
47 class MemoryTracker; | 46 class MemoryTracker; |
48 struct DisallowedFeatures; | 47 struct DisallowedFeatures; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 gpu::ImageFactory* image_factory() { return image_factory_; } | 158 gpu::ImageFactory* image_factory() { return image_factory_; } |
160 | 159 |
161 const GpuPreferences& gpu_preferences() const { | 160 const GpuPreferences& gpu_preferences() const { |
162 return gpu_preferences_; | 161 return gpu_preferences_; |
163 } | 162 } |
164 | 163 |
165 BufferManager* buffer_manager() const { | 164 BufferManager* buffer_manager() const { |
166 return buffer_manager_.get(); | 165 return buffer_manager_.get(); |
167 } | 166 } |
168 | 167 |
169 FramebufferManager* framebuffer_manager() const { | |
170 return framebuffer_manager_.get(); | |
171 } | |
172 | |
173 RenderbufferManager* renderbuffer_manager() const { | 168 RenderbufferManager* renderbuffer_manager() const { |
174 return renderbuffer_manager_.get(); | 169 return renderbuffer_manager_.get(); |
175 } | 170 } |
176 | 171 |
177 TextureManager* texture_manager() const { | 172 TextureManager* texture_manager() const { |
178 return texture_manager_.get(); | 173 return texture_manager_.get(); |
179 } | 174 } |
180 | 175 |
181 PathManager* path_manager() const { return path_manager_.get(); } | 176 PathManager* path_manager() const { return path_manager_.get(); } |
182 | 177 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 int32_t max_program_texel_offset_; | 268 int32_t max_program_texel_offset_; |
274 | 269 |
275 uint32_t max_transform_feedback_separate_attribs_; | 270 uint32_t max_transform_feedback_separate_attribs_; |
276 uint32_t max_uniform_buffer_bindings_; | 271 uint32_t max_uniform_buffer_bindings_; |
277 uint32_t uniform_buffer_offset_alignment_; | 272 uint32_t uniform_buffer_offset_alignment_; |
278 | 273 |
279 ProgramCache* program_cache_; | 274 ProgramCache* program_cache_; |
280 | 275 |
281 std::unique_ptr<BufferManager> buffer_manager_; | 276 std::unique_ptr<BufferManager> buffer_manager_; |
282 | 277 |
283 std::unique_ptr<FramebufferManager> framebuffer_manager_; | |
284 | |
285 std::unique_ptr<RenderbufferManager> renderbuffer_manager_; | 278 std::unique_ptr<RenderbufferManager> renderbuffer_manager_; |
286 | 279 |
287 std::unique_ptr<TextureManager> texture_manager_; | 280 std::unique_ptr<TextureManager> texture_manager_; |
288 | 281 |
289 std::unique_ptr<PathManager> path_manager_; | 282 std::unique_ptr<PathManager> path_manager_; |
290 | 283 |
291 std::unique_ptr<ProgramManager> program_manager_; | 284 std::unique_ptr<ProgramManager> program_manager_; |
292 | 285 |
293 std::unique_ptr<ShaderManager> shader_manager_; | 286 std::unique_ptr<ShaderManager> shader_manager_; |
294 | 287 |
(...skipping 17 matching lines...) Expand all Loading... |
312 | 305 |
313 GpuFeatureInfo gpu_feature_info_; | 306 GpuFeatureInfo gpu_feature_info_; |
314 | 307 |
315 DISALLOW_COPY_AND_ASSIGN(ContextGroup); | 308 DISALLOW_COPY_AND_ASSIGN(ContextGroup); |
316 }; | 309 }; |
317 | 310 |
318 } // namespace gles2 | 311 } // namespace gles2 |
319 } // namespace gpu | 312 } // namespace gpu |
320 | 313 |
321 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ | 314 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ |
OLD | NEW |