| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/gpu/in_process_gpu_thread.h" | 5 #include "content/gpu/in_process_gpu_thread.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "build/build_config.h" |
| 8 #include "content/common/gpu/gpu_memory_buffer_factory.h" | 9 #include "content/common/gpu/gpu_memory_buffer_factory.h" |
| 9 #include "content/gpu/gpu_child_thread.h" | 10 #include "content/gpu/gpu_child_thread.h" |
| 10 #include "content/gpu/gpu_process.h" | 11 #include "content/gpu/gpu_process.h" |
| 11 #include "gpu/command_buffer/service/sync_point_manager.h" | 12 #include "gpu/command_buffer/service/sync_point_manager.h" |
| 12 | 13 |
| 13 #if defined(OS_ANDROID) | 14 #if defined(OS_ANDROID) |
| 14 #include "base/android/jni_android.h" | 15 #include "base/android/jni_android.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 SetThreadWasQuitProperly(true); | 65 SetThreadWasQuitProperly(true); |
| 65 delete gpu_process_; | 66 delete gpu_process_; |
| 66 } | 67 } |
| 67 | 68 |
| 68 base::Thread* CreateInProcessGpuThread( | 69 base::Thread* CreateInProcessGpuThread( |
| 69 const InProcessChildThreadParams& params) { | 70 const InProcessChildThreadParams& params) { |
| 70 return new InProcessGpuThread(params, nullptr); | 71 return new InProcessGpuThread(params, nullptr); |
| 71 } | 72 } |
| 72 | 73 |
| 73 } // namespace content | 74 } // namespace content |
| OLD | NEW |