#include <offscreen_surface.h>
Definition at line 24 of file offscreen_surface.h.
◆ OffscreenSurface()
Definition at line 71 of file offscreen_surface.cc.
72 {
74 if (offscreen_surface_) {
76 }
77}
void set_canvas(SkCanvas *canvas)
static sk_sp< SkSurface > CreateSnapshotSurface(GrDirectContext *surface_context, const SkISize &size)
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
◆ ~OffscreenSurface()
flutter::OffscreenSurface::~OffscreenSurface |
( |
| ) |
|
|
default |
◆ GetCanvas()
DlCanvas * flutter::OffscreenSurface::GetCanvas |
( |
| ) |
|
◆ GetRasterData()
sk_sp< SkData > flutter::OffscreenSurface::GetRasterData |
( |
bool |
compressed | ) |
const |
Definition at line 79 of file offscreen_surface.cc.
79 {
81}
static sk_sp< SkData > GetRasterData(const sk_sp< SkSurface > &offscreen_surface, bool compressed)
◆ IsValid()
bool flutter::OffscreenSurface::IsValid |
( |
| ) |
const |
The documentation for this class was generated from the following files: