Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
aiks
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
8
#include "
impeller/aiks/canvas.h
"
9
#include "
impeller/aiks/canvas_recorder.h
"
10
#include "
impeller/aiks/trace_serializer.h
"
11
12
namespace
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
18
using
CanvasType
= CanvasRecorder<TraceSerializer>;
19
#else
20
using
CanvasType
=
Canvas
;
21
#endif
22
23
}
// namespace impeller
24
25
#endif
// FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
canvas_recorder.h
impeller::Canvas
Definition
canvas.h:59
canvas.h
impeller
Definition
texture.h:18
impeller::CanvasType
Canvas CanvasType
Definition
canvas_type.h:20
trace_serializer.h
Generated on Fri Apr 26 2024 06:14:07 for Flutter Engine by
1.9.8