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

Side by Side Diff: cc/ipc/display_compositor.mojom

Issue 2632273003: Move ReferencedSurfaceTracker into GpuCompositorFrameSink. (Closed)
Patch Set: Fix iterator invalidation. Created 3 years, 11 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 | « cc/BUILD.gn ('k') | cc/ipc/mojo_compositor_frame_sink.mojom » ('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 cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/frame_sink_id.mojom"; 7 import "cc/ipc/frame_sink_id.mojom";
8 import "cc/ipc/mojo_compositor_frame_sink.mojom"; 8 import "cc/ipc/mojo_compositor_frame_sink.mojom";
9 import "cc/ipc/surface_id.mojom"; 9 import "cc/ipc/surface_id.mojom";
10 import "cc/ipc/surface_info.mojom"; 10 import "cc/ipc/surface_info.mojom";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 cc.mojom.MojoCompositorFrameSink& compositor_frame_sink, 54 cc.mojom.MojoCompositorFrameSink& compositor_frame_sink,
55 cc.mojom.MojoCompositorFrameSinkPrivate& compositor_frame_sink_private, 55 cc.mojom.MojoCompositorFrameSinkPrivate& compositor_frame_sink_private,
56 cc.mojom.MojoCompositorFrameSinkClient compositor_frame_sink_client); 56 cc.mojom.MojoCompositorFrameSinkClient compositor_frame_sink_client);
57 }; 57 };
58 58
59 // The DisplayCompositorClient interface is implemented by the Display 59 // The DisplayCompositorClient interface is implemented by the Display
60 // Compositor Host, a stable, and privileged peer service to the display 60 // Compositor Host, a stable, and privileged peer service to the display
61 // compositor. The display compositor host is either the browser process in 61 // compositor. The display compositor host is either the browser process in
62 // Chrome or the window server process. 62 // Chrome or the window server process.
63 interface DisplayCompositorClient { 63 interface DisplayCompositorClient {
64 // Called by the display compostor when it is created. Provides the top level
65 // root surface id that should reference display roots. This will always be
66 // the first message sent.
67 OnDisplayCompositorCreated(cc.mojom.SurfaceId root_surface_id);
68
69 // Called by the display compositor immediately upon receiving a 64 // Called by the display compositor immediately upon receiving a
70 // CompositorFrame with a new SurfaceId for the first time. 65 // CompositorFrame with a new SurfaceId for the first time.
71 OnSurfaceCreated(SurfaceInfo surface_info); 66 OnSurfaceCreated(SurfaceInfo surface_info);
72 }; 67 };
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698