| 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 "services/ui/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" | |
| 11 #include "components/mus/gles2/command_buffer_driver.h" | |
| 12 #include "components/mus/gles2/gpu_state.h" | |
| 13 #include "gpu/command_buffer/service/sync_point_manager.h" | 10 #include "gpu/command_buffer/service/sync_point_manager.h" |
| 11 #include "services/ui/common/gpu_type_converters.h" |
| 12 #include "services/ui/gles2/command_buffer_driver.h" |
| 13 #include "services/ui/gles2/gpu_state.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( |
| 22 const mojom::CommandBuffer::InitializeCallback& callback, | 22 const mojom::CommandBuffer::InitializeCallback& callback, |
| 23 mojom::CommandBufferInitializeResultPtr result) { | 23 mojom::CommandBufferInitializeResultPtr result) { |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 bool CommandBufferImpl::DeleteOnGpuThread() { | 292 bool CommandBufferImpl::DeleteOnGpuThread() { |
| 293 delete this; | 293 delete this; |
| 294 return true; | 294 return true; |
| 295 } | 295 } |
| 296 | 296 |
| 297 void CommandBufferImpl::DeleteOnGpuThread2() { | 297 void CommandBufferImpl::DeleteOnGpuThread2() { |
| 298 delete this; | 298 delete this; |
| 299 } | 299 } |
| 300 | 300 |
| 301 } // namespace mus | 301 } // namespace mus |
| OLD | NEW |