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

Unified Diff: services/ui/gpu/gpu_service.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 | « services/ui/gpu/gpu_main.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.h
diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h
index f07519bb66312c6f3bc65ba66714bbaeb9f84506..d6e2d3f583a1e7e3bb4990f9f2f6837c99b5beff 100644
--- a/services/ui/gpu/gpu_service.h
+++ b/services/ui/gpu/gpu_service.h
@@ -61,6 +61,8 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
base::WaitableEvent* shutdown_event = nullptr);
void Bind(mojom::GpuServiceRequest request);
+ bool is_initialized() const { return !!gpu_host_; }
+
media::MediaGpuChannelManager* media_gpu_channel_manager() {
return media_gpu_channel_manager_.get();
}
« no previous file with comments | « services/ui/gpu/gpu_main.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698