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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 2347383002: X11: Use better visuals for OpenGL (Closed)
Patch Set: auto* Created 4 years, 2 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 | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 public: 58 public:
59 typedef std::queue<IPC::Message*> DeferredMessages; 59 typedef std::queue<IPC::Message*> DeferredMessages;
60 60
61 GpuChildThread(gpu::GpuWatchdogThread* gpu_watchdog_thread, 61 GpuChildThread(gpu::GpuWatchdogThread* gpu_watchdog_thread,
62 bool dead_on_arrival, 62 bool dead_on_arrival,
63 const gpu::GPUInfo& gpu_info, 63 const gpu::GPUInfo& gpu_info,
64 const DeferredMessages& deferred_messages, 64 const DeferredMessages& deferred_messages,
65 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory); 65 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
66 66
67 GpuChildThread(const InProcessChildThreadParams& params, 67 GpuChildThread(const InProcessChildThreadParams& params,
68 const gpu::GPUInfo& gpu_info,
68 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory); 69 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
69 70
70 ~GpuChildThread() override; 71 ~GpuChildThread() override;
71 72
72 void Shutdown() override; 73 void Shutdown() override;
73 74
74 void Init(const base::Time& process_start_time); 75 void Init(const base::Time& process_start_time);
75 void StopWatchdog(); 76 void StopWatchdog();
76 77
77 private: 78 private:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 164
164 // Bindings to the shell::mojom::ServiceFactory impl. 165 // Bindings to the shell::mojom::ServiceFactory impl.
165 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; 166 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 168 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
168 }; 169 };
169 170
170 } // namespace content 171 } // namespace content
171 172
172 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 173 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698