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

Side by Side Diff: services/gfx/compositor/graph/nodes.h

Issue 1873573003: Mozart: Ensure time always runs forward. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-3
Patch Set: fix build error on Android Created 4 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 | « services/gfx/compositor/compositor_engine.cc ('k') | services/gfx/compositor/graph/nodes.cc » ('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 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 #ifndef SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_ 5 #ifndef SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_
6 #define SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_ 6 #define SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "mojo/services/gfx/composition/interfaces/nodes.mojom.h" 14 #include "mojo/services/gfx/composition/interfaces/nodes.mojom.h"
15 #include "services/gfx/compositor/graph/snapshot.h" 15 #include "services/gfx/compositor/graph/snapshot.h"
16 16
17 class SkCanvas; 17 class SkCanvas;
18 struct SkPoint; 18 struct SkPoint;
19 class SkMatrix44; 19 class SkMatrix44;
20 20
21 namespace compositor { 21 namespace compositor {
22 22
23 class SceneContent; 23 class SceneContent;
24 class SceneContentBuilder; 24 class SceneContentBuilder;
25 class SceneDef;
26 class TransformPair; 25 class TransformPair;
27 26
28 // Base class for nodes in a scene graph. 27 // Base class for nodes in a scene graph.
29 // 28 //
30 // The base class mainly acts as a container for other nodes and does not 29 // The base class mainly acts as a container for other nodes and does not
31 // draw any content of its own. 30 // draw any content of its own.
32 // 31 //
33 // Instances of this class are immutable and reference counted so they may 32 // Instances of this class are immutable and reference counted so they may
34 // be shared by multiple versions of the same scene. 33 // be shared by multiple versions of the same scene.
35 class Node : public base::RefCounted<Node> { 34 class Node : public base::RefCounted<Node> {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 private: 268 private:
270 mojo::RectF const layer_rect_; 269 mojo::RectF const layer_rect_;
271 mojo::gfx::composition::BlendPtr const blend_; 270 mojo::gfx::composition::BlendPtr const blend_;
272 271
273 DISALLOW_COPY_AND_ASSIGN(LayerNode); 272 DISALLOW_COPY_AND_ASSIGN(LayerNode);
274 }; 273 };
275 274
276 } // namespace compositor 275 } // namespace compositor
277 276
278 #endif // SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_ 277 #endif // SERVICES_GFX_COMPOSITOR_GRAPH_NODES_H_
OLDNEW
« no previous file with comments | « services/gfx/compositor/compositor_engine.cc ('k') | services/gfx/compositor/graph/nodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698