Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
snapshot_controller_impeller.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_COMMON_SNAPSHOT_CONTROLLER_IMPELLER_H_
6#define FLUTTER_SHELL_COMMON_SNAPSHOT_CONTROLLER_IMPELLER_H_
7
8#include "flutter/shell/common/snapshot_controller.h"
10
11namespace flutter {
12
14 public:
16 const SnapshotController::Delegate& delegate)
17 : SnapshotController(delegate) {}
18
20 SkISize size) override;
21
23
25 const std::shared_ptr<impeller::RuntimeStage>& runtime_stage) override;
26
27 private:
28 sk_sp<DlImage> DoMakeRasterSnapshot(const sk_sp<DisplayList>& display_list,
30
32};
33
34} // namespace flutter
35
36#endif // FLUTTER_SHELL_COMMON_SNAPSHOT_CONTROLLER_IMPELLER_H_
sk_sp< DlImage > MakeRasterSnapshot(sk_sp< DisplayList > display_list, SkISize size) override
sk_sp< SkImage > ConvertToRasterImage(sk_sp< SkImage > image) override
SnapshotControllerImpeller(const SnapshotController::Delegate &delegate)
void CacheRuntimeStage(const std::shared_ptr< impeller::RuntimeStage > &runtime_stage) override
sk_sp< SkImage > image
Definition examples.cpp:29
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition switches.h:259