5#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SURFACE_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SURFACE_H_
8#include "flutter/flow/surface.h"
9#include "flutter/fml/macros.h"
10#include "flutter/fml/memory/weak_ptr.h"
19 Surface(std::string debug_label,
20 std::shared_ptr<flutter::ExternalViewEmbedder> view_embedder,
26 const std::string debug_label_;
27 std::shared_ptr<flutter::ExternalViewEmbedder> view_embedder_;
31 bool IsValid()
override;
34 std::unique_ptr<flutter::SurfaceFrame> AcquireFrame(
41 SkMatrix GetRootTransformation()
const override;
43 FML_DISALLOW_COPY_AND_ASSIGN(
Surface);
Abstract Base Class that represents where we will be rendering content.
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