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

Side by Side Diff: services/ui/gpu/interfaces/gpu_host.mojom

Issue 2763493002: gpu: Use mojom API for recording log messages to the host. (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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ui.mojom; 5 module ui.mojom;
6 6
7 import "gpu/ipc/common/gpu_info.mojom"; 7 import "gpu/ipc/common/gpu_info.mojom";
8 import "gpu/ipc/common/surface_handle.mojom"; 8 import "gpu/ipc/common/surface_handle.mojom";
9 import "services/ui/gpu/interfaces/context_lost_reason.mojom"; 9 import "services/ui/gpu/interfaces/context_lost_reason.mojom";
10 import "url/mojo/url.mojom"; 10 import "url/mojo/url.mojom";
11 11
12 // Communication channel from the gpu process to the gpu host. This interface 12 // Communication channel from the gpu process to the gpu host. This interface
13 // should never have any sync function calls. 13 // should never have any sync function calls.
14 interface GpuHost { 14 interface GpuHost {
15 DidInitialize(gpu.mojom.GpuInfo gpu_info); 15 DidInitialize(gpu.mojom.GpuInfo gpu_info);
16 DidCreateOffscreenContext(url.mojom.Url url); 16 DidCreateOffscreenContext(url.mojom.Url url);
17 DidDestroyOffscreenContext(url.mojom.Url url); 17 DidDestroyOffscreenContext(url.mojom.Url url);
18 18
19 DidDestroyChannel(int32 client_id); 19 DidDestroyChannel(int32 client_id);
20 DidLoseContext(bool offscreen, 20 DidLoseContext(bool offscreen,
21 ContextLostReason reason, 21 ContextLostReason reason,
22 url.mojom.Url active_url); 22 url.mojom.Url active_url);
23 23
24 SetChildSurface(gpu.mojom.SurfaceHandle parent, 24 SetChildSurface(gpu.mojom.SurfaceHandle parent,
25 gpu.mojom.SurfaceHandle child); 25 gpu.mojom.SurfaceHandle child);
26 StoreShaderToDisk(int32 client_id, string key, string shader); 26 StoreShaderToDisk(int32 client_id, string key, string shader);
27
28 RecordLogMessage(int32 severity, string header, string message);
27 }; 29 };
OLDNEW
« 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