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> |
11 | 11 |
12 #include "base/memory/scoped_vector.h" | |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
14 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
15 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
16 #include "content/common/gpu/gpu_memory_manager.h" | 15 #include "content/common/gpu/gpu_memory_manager.h" |
17 #include "content/common/gpu/gpu_memory_manager_client.h" | 16 #include "content/common/gpu/gpu_memory_manager_client.h" |
18 #include "gpu/command_buffer/common/constants.h" | 17 #include "gpu/command_buffer/common/constants.h" |
19 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 18 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
20 #include "gpu/command_buffer/service/command_buffer_service.h" | 19 #include "gpu/command_buffer/service/command_buffer_service.h" |
21 #include "gpu/command_buffer/service/context_group.h" | 20 #include "gpu/command_buffer/service/context_group.h" |
22 #include "gpu/command_buffer/service/gpu_scheduler.h" | 21 #include "gpu/command_buffer/service/gpu_scheduler.h" |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 size_t total_gpu_memory_; | 286 size_t total_gpu_memory_; |
288 scoped_ptr<WaitForCommandState> wait_for_token_; | 287 scoped_ptr<WaitForCommandState> wait_for_token_; |
289 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 288 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
290 | 289 |
291 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 290 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
292 }; | 291 }; |
293 | 292 |
294 } // namespace content | 293 } // namespace content |
295 | 294 |
296 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 295 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |