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

Side by Side Diff: mojo/services/gfx/composition/interfaces/compositor.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.gfx.composition; 6 module mojo.gfx.composition;
7 7
8 import "mojo/services/geometry/interfaces/geometry.mojom"; 8 import "mojo/services/geometry/interfaces/geometry.mojom";
9 import "mojo/services/gpu/interfaces/context_provider.mojom"; 9 import "mojo/services/gfx/composition/interfaces/renderers.mojom";
10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom"; 10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom";
11 import "mojo/services/gfx/composition/interfaces/scenes.mojom"; 11 import "mojo/services/gfx/composition/interfaces/scenes.mojom";
12 import "mojo/services/gfx/composition/interfaces/renderers.mojom"; 12 import "mojo/services/gpu/interfaces/context_provider.mojom";
13 13
14 // Maximum length for a scene or renderer label. 14 // Maximum length for a scene or renderer label.
15 const uint32 kLabelMaxLength = 32; 15 const uint32 kLabelMaxLength = 32;
16 16
17 // The compositor manages scenes and scene graph renderers. 17 // The compositor manages scenes and scene graph renderers.
18 // 18 //
19 // Applications create scenes to describe graphical content they would like 19 // Applications create scenes to describe graphical content they would like
20 // to render, including references to other scenes they would like to compose. 20 // to render, including references to other scenes they would like to compose.
21 // 21 //
22 // The system creates a renderer to bind a scene graph to a particular display. 22 // The system creates a renderer to bind a scene graph to a particular display.
(...skipping 23 matching lines...) Expand all
46 // 46 //
47 // The |context_provider| provides the GL Context to which the content 47 // The |context_provider| provides the GL Context to which the content
48 // should be rendered. This will typically be a display. 48 // should be rendered. This will typically be a display.
49 // 49 //
50 // The |label| is an optional name to associate with the renderer for 50 // The |label| is an optional name to associate with the renderer for
51 // diagnostic purposes. The label will be truncated if it is longer 51 // diagnostic purposes. The label will be truncated if it is longer
52 // than |kLabelMaxLength|. 52 // than |kLabelMaxLength|.
53 // 53 //
54 // To destroy the renderer, simply close the |renderer| message pipe. 54 // To destroy the renderer, simply close the |renderer| message pipe.
55 CreateRenderer(mojo.ContextProvider context_provider, 55 CreateRenderer(mojo.ContextProvider context_provider,
56 Renderer& renderer, string? label); 56 Renderer& renderer,
57 string? label);
57 }; 58 };
OLDNEW
« no previous file with comments | « mojo/services/files/interfaces/ioctl_terminal.mojom ('k') | mojo/services/gfx/composition/interfaces/nodes.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698