5#ifndef FLUTTER_FLOW_SURFACE_H_
6#define FLUTTER_FLOW_SURFACE_H_
15#include "third_party/skia/include/core/SkData.h"
54 virtual std::shared_ptr<impeller::AiksContext>
GetAiksContext()
const;
Abstract Base Class that represents where we will be rendering content.
virtual std::shared_ptr< impeller::AiksContext > GetAiksContext() const
virtual std::unique_ptr< SurfaceFrame > AcquireFrame(const DlISize &size)=0
virtual bool AllowsDrawingWhenGpuDisabled() const
virtual std::unique_ptr< GLContextResult > MakeRenderContextCurrent()
virtual bool ClearRenderContext()
virtual GrDirectContext * GetContext()=0
virtual bool EnableRasterCache() const
virtual DlMatrix GetRootTransformation() const =0
virtual SurfaceData GetSurfaceData() const
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all 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
A screenshot of the surface's raw data.
A 4x4 matrix using column-major storage.