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

Side by Side Diff: mojo/services/gfx/composition/cpp/formatting.h

Issue 1552963002: Initial checkin of the new Mozart compositor. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-11
Patch Set: fix android build Created 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SERVICES_GFX_COMPOSITION_CPP_FORMATTING_H_
6 #define MOJO_SERVICES_GFX_COMPOSITION_CPP_FORMATTING_H_
7
8 #include "mojo/public/cpp/bindings/formatting.h"
9 #include "mojo/services/geometry/cpp/formatting.h"
10 #include "mojo/services/gfx/composition/interfaces/compositor.mojom.h"
11 #include "mojo/services/gfx/composition/interfaces/scheduling.mojom.h"
12
13 namespace mojo {
14 namespace gfx {
15 namespace composition {
16
17 std::ostream& operator<<(std::ostream& os,
18 const mojo::gfx::composition::SceneToken& value);
19 std::ostream& operator<<(std::ostream& os,
20 const mojo::gfx::composition::SceneUpdate& value);
21 std::ostream& operator<<(std::ostream& os,
22 const mojo::gfx::composition::SceneMetadata& value);
23
24 std::ostream& operator<<(std::ostream& os,
25 const mojo::gfx::composition::Resource& value);
26 std::ostream& operator<<(std::ostream& os,
27 const mojo::gfx::composition::SceneResource& value);
28 std::ostream& operator<<(
29 std::ostream& os,
30 const mojo::gfx::composition::MailboxTextureResource& value);
31
32 std::ostream& operator<<(std::ostream& os,
33 const mojo::gfx::composition::Node& value);
34 std::ostream& operator<<(std::ostream& os,
35 const mojo::gfx::composition::NodeOp& value);
36 std::ostream& operator<<(std::ostream& os,
37 const mojo::gfx::composition::RectNodeOp& value);
38 std::ostream& operator<<(std::ostream& os,
39 const mojo::gfx::composition::ImageNodeOp& value);
40 std::ostream& operator<<(std::ostream& os,
41 const mojo::gfx::composition::SceneNodeOp& value);
42 std::ostream& operator<<(std::ostream& os,
43 const mojo::gfx::composition::LayerNodeOp& value);
44
45 // FIXME(jeffbrown): Passing as a pointer to disambiguate with the operator<<
46 // generated by mojom itself for this enum, which unfortunately doesn't print
47 // names. We should improve mojom then get rid of this overload.
48 std::ostream& operator<<(std::ostream& os,
49 const mojo::gfx::composition::Node::Combinator* value);
50
51 std::ostream& operator<<(std::ostream& os,
52 const mojo::gfx::composition::Color& value);
53
54 std::ostream& operator<<(std::ostream& os,
55 const mojo::gfx::composition::Blend& value);
56
57 std::ostream& operator<<(std::ostream& os,
58 const mojo::gfx::composition::FrameInfo& value);
59
60 } // namespace composition
61 } // namespace gfx
62 } // namespace mojo
63
64 #endif // MOJO_SERVICES_GFX_COMPOSITION_CPP_FORMATTING_H_
OLDNEW
« no previous file with comments | « mojo/services/gfx/composition/cpp/BUILD.gn ('k') | mojo/services/gfx/composition/cpp/formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698