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 CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 bool use_virtualized_gl_context_; | 245 bool use_virtualized_gl_context_; |
246 int32 route_id_; | 246 int32 route_id_; |
247 int32 surface_id_; | 247 int32 surface_id_; |
248 bool software_; | 248 bool software_; |
249 uint32 last_flush_count_; | 249 uint32 last_flush_count_; |
250 | 250 |
251 scoped_ptr<gpu::CommandBufferService> command_buffer_; | 251 scoped_ptr<gpu::CommandBufferService> command_buffer_; |
252 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; | 252 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; |
253 scoped_ptr<gpu::GpuScheduler> scheduler_; | 253 scoped_ptr<gpu::GpuScheduler> scheduler_; |
254 scoped_refptr<gfx::GLSurface> surface_; | 254 scoped_refptr<gfx::GLSurface> surface_; |
255 scoped_ptr<gpu::GpuControlService> gpu_control_; | 255 scoped_ptr<gpu::GpuControlService> gpu_control_service_; |
256 | 256 |
257 scoped_ptr<GpuMemoryManagerClientState> memory_manager_client_state_; | 257 scoped_ptr<GpuMemoryManagerClientState> memory_manager_client_state_; |
258 // The last memory allocation received from the GpuMemoryManager (used to | 258 // The last memory allocation received from the GpuMemoryManager (used to |
259 // elide redundant work). | 259 // elide redundant work). |
260 bool last_memory_allocation_valid_; | 260 bool last_memory_allocation_valid_; |
261 gpu::MemoryAllocation last_memory_allocation_; | 261 gpu::MemoryAllocation last_memory_allocation_; |
262 | 262 |
263 GpuWatchdog* watchdog_; | 263 GpuWatchdog* watchdog_; |
264 | 264 |
265 ObserverList<DestructionObserver> destruction_observers_; | 265 ObserverList<DestructionObserver> destruction_observers_; |
(...skipping 16 matching lines...) Expand all Loading... |
282 size_t total_gpu_memory_; | 282 size_t total_gpu_memory_; |
283 scoped_ptr<WaitForCommandState> wait_for_token_; | 283 scoped_ptr<WaitForCommandState> wait_for_token_; |
284 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 284 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
285 | 285 |
286 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 286 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
287 }; | 287 }; |
288 | 288 |
289 } // namespace content | 289 } // namespace content |
290 | 290 |
291 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 291 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |