Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: gpu/ipc/service/gpu_init.h

Issue 2289553002: gpu: Introduce GpuInit. (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | gpu/ipc/service/gpu_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef GPU_IPC_SERVICE_GPU_INIT_H_
6 #define GPU_IPC_SERVICE_GPU_INIT_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h"
12 #include "gpu/gpu_export.h"
13
14 namespace base {
15 class CommandLine;
16 class Time;
17 }
18
19 namespace gpu {
20
21 class GpuInitDelegate;
22 class GpuMemoryBufferFactory;
23 class GpuWatchdogThread;
24 struct GPUInfo;
25
26 class GPU_EXPORT GpuInit {
27 public:
28 GpuInit(GpuInitDelegate* delegate, const base::CommandLine& command_line);
29 ~GpuInit();
30
31 private:
32 GpuInitDelegate* delegate_;
33 scoped_refptr<GpuWatchdogThread> watchdog_thread_;
34 std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_;
35
36 DISALLOW_COPY_AND_ASSIGN(GpuInit);
37 };
38
39 } // namespace gpu
40
41 #endif // GPU_IPC_SERVICE_GPU_INIT_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | gpu/ipc/service/gpu_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698