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

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

Issue 2559113002: mus/gpu: Introduce the GpuServiceHost mojom interface. (Closed)
Patch Set: . Created 4 years 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/interfaces/gpu_main.mojom ('k') | services/ui/gpu/interfaces/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/interfaces/gpu_service_host.mojom
diff --git a/services/ui/gpu/interfaces/gpu_service_host.mojom b/services/ui/gpu/interfaces/gpu_service_host.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f6aa1384ac0c617ef508838599a1e39112cba85f
--- /dev/null
+++ b/services/ui/gpu/interfaces/gpu_service_host.mojom
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ui.mojom;
+
+import "gpu/ipc/common/gpu_info.mojom";
+import "services/ui/gpu/interfaces/context_lost_reason.mojom";
+import "url/mojo/url.mojom";
+
+interface GpuServiceHost {
+ DidInitialize(gpu.mojom.GpuInfo gpu_info);
+ DidCreateOffscreenContext(url.mojom.Url url);
+ DidDestroyOffscreenContext(url.mojom.Url url);
+
+ DidDestroyChannel(int32 client_id);
+ DidLoseContext(bool offscreen,
+ ContextLostReason reason,
+ url.mojom.Url active_url);
+
+ StoreShaderToDisk(int32 client_id, string key, string shader);
+};
« no previous file with comments | « services/ui/gpu/interfaces/gpu_main.mojom ('k') | services/ui/gpu/interfaces/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698