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

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

Issue 2459973002: Expedite discovery of primary DRM device. (Closed)
Patch Set: Add more comments. 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
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | ui/ozone/public/gpu_platform_support_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ed6da90beac2ef09300ab5472145b52d26bd4cc9 100644
--- a/ui/ozone/platform/drm/host/gpu_thread_observer.h
+++ b/ui/ozone/platform/drm/host/gpu_thread_observer.h
@@ -12,10 +12,15 @@ class GpuThreadObserver {
public:
virtual ~GpuThreadObserver() {}
+ // Called when the GPU process is launched.
+ // This is called from browser IO thread.
+ virtual void OnGpuProcessLaunched() = 0;
// Called when a GPU thread implementation has become available.
+ // This is called from browser UI thread.
virtual void OnGpuThreadReady() = 0;
// Called when the GPU thread implementation has ceased to be
// available.
+ // This is called from browser UI thread.
virtual void OnGpuThreadRetired() = 0;
};
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | ui/ozone/public/gpu_platform_support_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698