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

Unified Diff: ui/ozone/platform/drm/host/gpu_thread_observer.h

Issue 2459973002: Expedite discovery of primary DRM device. (Closed)
Patch Set: Send the first AddGraphicsDevice IPC synchronously on IO thread. Created 4 years, 1 month 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
Index: ui/ozone/platform/drm/host/gpu_thread_observer.h
diff --git a/ui/ozone/platform/drm/host/gpu_thread_observer.h b/ui/ozone/platform/drm/host/gpu_thread_observer.h
index 3307dfa8fcbb0f763793ca141c4d1e62d744912b..aadbb87fae6830567c523948a40c29bd19568464 100644
--- a/ui/ozone/platform/drm/host/gpu_thread_observer.h
+++ b/ui/ozone/platform/drm/host/gpu_thread_observer.h
@@ -12,6 +12,8 @@ class GpuThreadObserver {
public:
virtual ~GpuThreadObserver() {}
+ // Called when the GPU process is launched.
+ virtual void OnGpuProcessLaunched() = 0;
dnicoara 2016/11/01 19:00:40 You'll want to document that this is called from b
hshi1 2016/11/01 19:31:47 Done.
// Called when a GPU thread implementation has become available.
virtual void OnGpuThreadReady() = 0;
// Called when the GPU thread implementation has ceased to be

Powered by Google App Engine
This is Rietveld 408576698