• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Flutter 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 FLUTTER_FLOW_DEBUG_PRINT_H_
6 #define FLUTTER_FLOW_DEBUG_PRINT_H_
7 
8 #include "flutter/flow/matrix_decomposition.h"
9 #include "flutter/flow/raster_cache_key.h"
10 #include "flutter/fml/macros.h"
11 #include "third_party/skia/include/core/SkMatrix.h"
12 #include "third_party/skia/include/core/SkMatrix44.h"
13 #include "third_party/skia/include/core/SkPoint3.h"
14 #include "third_party/skia/include/core/SkRRect.h"
15 
16 #define DEF_PRINTER(x) std::ostream& operator<<(std::ostream&, const x&);
17 
18 DEF_PRINTER(flutter::MatrixDecomposition);
19 DEF_PRINTER(flutter::PictureRasterCacheKey);
20 DEF_PRINTER(SkISize);
21 DEF_PRINTER(SkMatrix);
22 DEF_PRINTER(SkMatrix44);
23 DEF_PRINTER(SkPoint);
24 DEF_PRINTER(SkRect);
25 DEF_PRINTER(SkRRect);
26 DEF_PRINTER(SkVector3);
27 DEF_PRINTER(SkVector4);
28 
29 #endif  // FLUTTER_FLOW_DEBUG_PRINT_H_
30