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

Unified Diff: services/ui/gpu/gpu_main.h

Issue 2866983003: mus-gpu: Bind GpuMain on the gpu thread. (Closed)
Patch Set: . Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.h
diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h
index 005c6d526c30d488a3d34802a9359f59101c2a0b..4b8717454370db0c65aee6bfa8e72bfbd3026165 100644
--- a/services/ui/gpu/gpu_main.h
+++ b/services/ui/gpu/gpu_main.h
@@ -46,6 +46,7 @@ class GpuMain : public gpu::GpuSandboxHelper, public mojom::GpuMain {
GpuService* gpu_service() { return gpu_service_.get(); }
private:
+ void BindOnGpu(mojom::GpuMainRequest request);
void InitOnGpuThread(
scoped_refptr<base::SingleThreadTaskRunner> io_runner,
scoped_refptr<base::SingleThreadTaskRunner> compositor_runner);
@@ -59,7 +60,7 @@ class GpuMain : public gpu::GpuSandboxHelper, public mojom::GpuMain {
cc::mojom::FrameSinkManagerRequest request,
cc::mojom::FrameSinkManagerClientPtrInfo client_info);
void CreateGpuServiceOnGpuThread(mojom::GpuServiceRequest request,
- mojom::GpuHostPtrInfo gpu_host_info,
+ mojom::GpuHostPtr gpu_host,
const gpu::GpuPreferences& preferences,
gpu::GpuProcessActivityFlags activity_flags);
void BindGpuInternalOnGpuThread(mojom::GpuServiceRequest request);
« no previous file with comments | « no previous file | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698