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 #ifndef CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ | 5 #ifndef CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ |
6 #define CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ | 6 #define CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 // Non-owning. | 48 // Non-owning. |
49 gpu::SyncPointManager* sync_point_manager_override_; | 49 gpu::SyncPointManager* sync_point_manager_override_; |
50 | 50 |
51 scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory_; | 51 scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(InProcessGpuThread); | 53 DISALLOW_COPY_AND_ASSIGN(InProcessGpuThread); |
54 }; | 54 }; |
55 | 55 |
56 CONTENT_EXPORT base::Thread* CreateInProcessGpuThread( | 56 CONTENT_EXPORT base::Thread* CreateInProcessGpuThread( |
57 const InProcessChildThreadParams& params); | 57 const InProcessChildThreadParams& params, |
| 58 const gpu::GpuPreferences& gpu_preferences); |
58 | 59 |
59 } // namespace content | 60 } // namespace content |
60 | 61 |
61 #endif // CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ | 62 #endif // CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ |
OLD | NEW |