Flutter Engine
The Flutter Engine
flutter_runner_product_configuration.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_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLUTTER_RUNNER_PRODUCT_CONFIGURATION_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLUTTER_RUNNER_PRODUCT_CONFIGURATION_H_
7
8#include <string>
9
10namespace flutter_runner {
11
13 public:
15 explicit FlutterRunnerProductConfiguration(std::string json_string);
16
17 bool get_intercept_all_input() { return intercept_all_input_; }
18 bool software_rendering() { return software_rendering_; }
19 bool enable_shader_warmup() { return enable_shader_warmup_; }
21 return enable_shader_warmup_dart_hooks_;
22 }
23
24 private:
25 bool intercept_all_input_ = false;
26 bool software_rendering_ = false;
27 bool enable_shader_warmup_ = false;
28 bool enable_shader_warmup_dart_hooks_ = true;
29};
30
31} // namespace flutter_runner
32#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLUTTER_RUNNER_PRODUCT_CONFIGURATION_H_