5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
8#include "flutter/flow/embedded_views.h"
9#include "flutter/fml/macros.h"
10#include "flutter/fml/platform/darwin/scoped_nsobject.h"
11#include "flutter/shell/gpu/gpu_surface_software.h"
12#import "flutter/shell/platform/darwin/ios/ios_context.h"
13#import "flutter/shell/platform/darwin/ios/ios_surface.h"
24 std::shared_ptr<IOSContext> context);
Interface implemented by all platform surfaces that can present a software backing store to the "scre...
IOSSurfaceSoftware(const fml::scoped_nsobject< CALayer > &layer, std::shared_ptr< IOSContext > context)
~IOSSurfaceSoftware() override
bool PresentBackingStore(sk_sp< SkSurface > backing_store) override
Called by the platform when a frame has been rendered into the backing store and the platform must di...
void UpdateStorageSizeIfNecessary() override
sk_sp< SkSurface > AcquireBackingStore(const SkISize &size) override
Called when the GPU surface needs a new buffer to render a new frame into.
bool IsValid() const override
std::unique_ptr< Surface > CreateGPUSurface(GrDirectContext *gr_context=nullptr) override
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