Flutter Engine
The Flutter Engine
serialization_callbacks.h
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#ifndef FLUTTER_SHELL_COMMON_SERIALIZATION_CALLBACKS_H_
6#define FLUTTER_SHELL_COMMON_SERIALIZATION_CALLBACKS_H_
7
8#include "flutter/fml/logging.h"
11
12namespace flutter {
13
17 size_t length,
18 void* ctx);
19
20// Serializes only the metadata of the image and not the underlying pixel data.
23 size_t length,
24 void* ctx);
25
26} // namespace flutter
27
28#endif // FLUTTER_SHELL_COMMON_SERIALIZATION_CALLBACKS_H_
size_t length
sk_sp< const SkImage > image
Definition: SkRecords.h:269
sk_sp< SkData > SerializeTypefaceWithData(SkTypeface *typeface, void *ctx)
sk_sp< SkImage > DeserializeImageWithoutData(const void *data, size_t length, void *ctx)
sk_sp< SkTypeface > DeserializeTypefaceWithoutData(const void *data, size_t length, void *ctx)
sk_sp< SkData > SerializeTypefaceWithoutData(SkTypeface *typeface, void *ctx)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition: switches.h:41
sk_sp< SkData > SerializeImageWithoutData(SkImage *image, void *ctx)