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

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

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Addressed some comments and rebased 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/exo/BUILD.gn » ('j') | components/exo/compositor_frame_sink_holder.h » ('J')
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/begin_frame_args.mojom"; 7 import "cc/ipc/begin_frame_args.mojom";
8 import "cc/ipc/compositor_frame.mojom"; 8 import "cc/ipc/compositor_frame.mojom";
9 import "cc/ipc/frame_sink_id.mojom"; 9 import "cc/ipc/frame_sink_id.mojom";
10 import "cc/ipc/local_frame_id.mojom"; 10 import "cc/ipc/local_frame_id.mojom";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // TODO(fsamuel): This method ought not be necessary with unified BeginFrame. 42 // TODO(fsamuel): This method ought not be necessary with unified BeginFrame.
43 // However, there's a fair amount of cleanup and refactoring necessary to get 43 // However, there's a fair amount of cleanup and refactoring necessary to get
44 // rid of it. 44 // rid of it.
45 DidReceiveCompositorFrameAck(); 45 DidReceiveCompositorFrameAck();
46 46
47 // Notification for the client to generate a CompositorFrame. 47 // Notification for the client to generate a CompositorFrame.
48 OnBeginFrame(BeginFrameArgs args); 48 OnBeginFrame(BeginFrameArgs args);
49 49
50 // Returns resources sent to SubmitCompositorFrame to be reused or freed. 50 // Returns resources sent to SubmitCompositorFrame to be reused or freed.
51 ReclaimResources(ReturnedResourceArray resources); 51 ReclaimResources(ReturnedResourceArray resources);
52
53 WillDrawSurface();
52 }; 54 };
53 55
54 // MojoCompositorFrameSinkPrivate is used by the display compositor host to set 56 // MojoCompositorFrameSinkPrivate is used by the display compositor host to set
55 // up BeginFrameSource hierarchies. This API lives in SurfaceManager but is 57 // up BeginFrameSource hierarchies. This API lives in SurfaceManager but is
56 // called from here in order to ensure that hierarchy registration does not race 58 // called from here in order to ensure that hierarchy registration does not race
57 // CompositorFrameSink creation. 59 // CompositorFrameSink creation.
58 interface MojoCompositorFrameSinkPrivate { 60 interface MojoCompositorFrameSinkPrivate {
59 AddChildFrameSink(FrameSinkId child_frame_sink_id); 61 AddChildFrameSink(FrameSinkId child_frame_sink_id);
60 RemoveChildFrameSink(FrameSinkId child_frame_sink_id); 62 RemoveChildFrameSink(FrameSinkId child_frame_sink_id);
61 }; 63 };
OLDNEW
« no previous file with comments | « no previous file | components/exo/BUILD.gn » ('j') | components/exo/compositor_frame_sink_holder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698