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

Unified Diff: services/ui/gpu/interfaces/gpu_host.mojom

Issue 2781553002: gpu: Introduce separate mojo api for failed initialization. (Closed)
Patch Set: . Created 3 years, 9 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_service.cc ('k') | services/ui/ws/gpu_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/interfaces/gpu_host.mojom
diff --git a/services/ui/gpu/interfaces/gpu_host.mojom b/services/ui/gpu/interfaces/gpu_host.mojom
index cf49040223fb1d4d12964b5764d4254da3626df6..b7d620032ee6f3b402565ddb012a01414722b074 100644
--- a/services/ui/gpu/interfaces/gpu_host.mojom
+++ b/services/ui/gpu/interfaces/gpu_host.mojom
@@ -4,6 +4,7 @@
module ui.mojom;
+import "gpu/ipc/common/gpu_feature_info.mojom";
import "gpu/ipc/common/gpu_info.mojom";
import "gpu/ipc/common/surface_handle.mojom";
import "services/ui/gpu/interfaces/context_lost_reason.mojom";
@@ -12,7 +13,10 @@ import "url/mojo/url.mojom";
// Communication channel from the gpu process to the gpu host. This interface
// should never have any sync function calls.
interface GpuHost {
- DidInitialize(gpu.mojom.GpuInfo gpu_info);
+ DidInitialize(gpu.mojom.GpuInfo gpu_info,
+ gpu.mojom.GpuFeatureInfo gpu_feature_info);
+ DidFailInitialize();
+
DidCreateOffscreenContext(url.mojom.Url url);
DidDestroyOffscreenContext(url.mojom.Url url);
« no previous file with comments | « services/ui/gpu/gpu_service.cc ('k') | services/ui/ws/gpu_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698