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

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

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase Created 3 years, 8 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/ipc/BUILD.gn ('k') | components/display_compositor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module cc.mojom;
6
7 import "gpu/ipc/common/mailbox.mojom";
8
9 // This interface is used when allocating shared bitmap memory to be shared
10 // with a display compositor.
11 // This interface needs to be associated with the RenderMessageFilter interface
12 // to prevent running into message ordering issues (CC trying to access a
13 // shared bitmap before the registration message below made it to the display
14 // compositor).
15 interface SharedBitmapManager {
16 // Informs the display compositor that the child allocated a shared bitmap.
17 DidAllocateSharedBitmap(handle<shared_buffer> buffer, gpu.mojom.Mailbox id);
18
19 // Informs the display compositor that the child deleted a shared bitmap.
20 DidDeleteSharedBitmap(gpu.mojom.Mailbox id);
21 };
OLDNEW
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | components/display_compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698