OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ | 5 #ifndef GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ |
6 #define GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ | 6 #define GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/single_thread_task_runner.h" |
9 #include "gpu/command_buffer/service/mailbox_manager.h" | 10 #include "gpu/command_buffer/service/mailbox_manager.h" |
10 #include "gpu/gpu_export.h" | 11 #include "gpu/gpu_export.h" |
11 #include "gpu/ipc/in_process_command_buffer.h" | 12 #include "gpu/ipc/in_process_command_buffer.h" |
12 #include "ui/gl/gl_share_group.h" | 13 #include "ui/gl/gl_share_group.h" |
13 | 14 |
14 namespace gpu { | 15 namespace gpu { |
15 | 16 |
16 // Default Service class when no service is specified. GpuInProcessThreadService | 17 // Default Service class when no service is specified. GpuInProcessThreadService |
17 // is used by Mus and unit tests. | 18 // is used by Mus and unit tests. |
18 class GPU_EXPORT GpuInProcessThreadService | 19 class GPU_EXPORT GpuInProcessThreadService |
(...skipping 30 matching lines...) Expand all Loading... |
49 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; | 50 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; |
50 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> | 51 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> |
51 framebuffer_completeness_cache_; | 52 framebuffer_completeness_cache_; |
52 | 53 |
53 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThreadService); | 54 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThreadService); |
54 }; | 55 }; |
55 | 56 |
56 } // namespace gpu | 57 } // namespace gpu |
57 | 58 |
58 #endif // GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ | 59 #endif // GPU_IPC_GPU_IN_PROCESS_THREAD_SERVICE_H_ |
OLD | NEW |