Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
canvas_type.h
Go to the documentation of this file.
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_IMPELLER_AIKS_CANVAS_TYPE_H_
6#define FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
7
11
12namespace impeller {
13
14/// CanvasType defines what is the concrete type of the Canvas to be used. When
15/// the recorder is enabled it will be swapped out in place of the Canvas at
16/// compile-time.
17#ifdef IMPELLER_TRACE_CANVAS
18using CanvasType = CanvasRecorder<TraceSerializer>;
19#else
21#endif
22
23} // namespace impeller
24
25#endif // FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
Canvas CanvasType
Definition canvas_type.h:20