Flutter Impeller
flags.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_BASE_FLAGS_H_
6 #define FLUTTER_IMPELLER_BASE_FLAGS_H_
7 
8 namespace impeller {
9 struct Flags {
10  /// Whether to defer PSO construction until first use. Usage Will introduce
11  /// raster jank.
12  bool lazy_shader_mode = false;
13  /// When turned on DrawLine will use the experimental antialiased path.
14  bool antialiased_lines = false;
15 };
16 } // namespace impeller
17 
18 #endif // FLUTTER_IMPELLER_BASE_FLAGS_H_
bool antialiased_lines
When turned on DrawLine will use the experimental antialiased path.
Definition: flags.h:14
bool lazy_shader_mode
Definition: flags.h:12