5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_SOFTWARE_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_SOFTWARE_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/gpu/gpu_surface_software.h"
10#include "flutter/shell/platform/embedder/embedder_external_view_embedder.h"
11#include "flutter/shell/platform/embedder/embedder_surface.h"
27 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder);
35 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder_;
38 bool IsValid()
const override;
41 std::unique_ptr<Surface> CreateGPUSurface()
override;
~EmbedderSurfaceSoftware() override
EmbedderSurfaceSoftware(SoftwareDispatchTable software_dispatch_table, std::shared_ptr< EmbedderExternalViewEmbedder > external_view_embedder)
Interface implemented by all platform surfaces that can present a software backing store to the "scre...
Dart_NativeFunction function
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
std::function< bool(const void *allocation, size_t row_bytes, size_t height)> software_present_backing_store