OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "components/mus/gles2/command_buffer_impl.h" | 5 #include "components/mus/gles2/command_buffer_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "components/mus/common/gpu_type_converters.h" |
10 #include "components/mus/gles2/command_buffer_driver.h" | 11 #include "components/mus/gles2/command_buffer_driver.h" |
11 #include "components/mus/gles2/command_buffer_type_conversions.h" | |
12 #include "components/mus/gles2/gpu_state.h" | 12 #include "components/mus/gles2/gpu_state.h" |
13 #include "gpu/command_buffer/service/sync_point_manager.h" | 13 #include "gpu/command_buffer/service/sync_point_manager.h" |
14 | 14 |
15 namespace mus { | 15 namespace mus { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 uint64_t g_next_command_buffer_id = 0; | 19 uint64_t g_next_command_buffer_id = 0; |
20 | 20 |
21 void RunInitializeCallback( | 21 void RunInitializeCallback( |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 bool CommandBufferImpl::DeleteOnGpuThread() { | 289 bool CommandBufferImpl::DeleteOnGpuThread() { |
290 delete this; | 290 delete this; |
291 return true; | 291 return true; |
292 } | 292 } |
293 | 293 |
294 void CommandBufferImpl::DeleteOnGpuThread2() { | 294 void CommandBufferImpl::DeleteOnGpuThread2() { |
295 delete this; | 295 delete this; |
296 } | 296 } |
297 | 297 |
298 } // namespace mus | 298 } // namespace mus |
OLD | NEW |