Flutter Engine
The Flutter Engine
data.cpp
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "export.h"
6
8
11}
12
14 return data->writable_data();
15}
16
18 return data->data();
19}
20
22 return data->size();
23}
24
26 return data->unref();
27}
Definition: SkData.h:25
static sk_sp< SkData > MakeUninitialized(size_t length)
Definition: SkData.cpp:116
T * release()
Definition: SkRefCnt.h:324
SKWASM_EXPORT void * skData_getPointer(SkData *data)
Definition: data.cpp:13
SKWASM_EXPORT void skData_dispose(SkData *data)
Definition: data.cpp:25
SKWASM_EXPORT size_t skData_getSize(SkData *data)
Definition: data.cpp:21
SKWASM_EXPORT SkData * skData_create(size_t size)
Definition: data.cpp:9
SKWASM_EXPORT const void * skData_getConstPointer(SkData *data)
Definition: data.cpp:17
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
Definition: switches.h:259
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63
#define SKWASM_EXPORT
Definition: export.h:10