Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
serialization_callbacks.cc File Reference
#include "flutter/fml/logging.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkStream.h"
#include "third_party/skia/include/core/SkTypeface.h"

Go to the source code of this file.

Classes

struct  flutter::ImageMetaData
 

Namespaces

namespace  flutter
 

Functions

sk_sp< SkDataflutter::SerializeTypefaceWithoutData (SkTypeface *typeface, void *ctx)
 
sk_sp< SkDataflutter::SerializeTypefaceWithData (SkTypeface *typeface, void *ctx)
 
sk_sp< SkTypefaceflutter::DeserializeTypefaceWithoutData (const void *data, size_t length, void *ctx)
 
struct flutter::ImageMetaData flutter::__attribute__ ((packed))
 
sk_sp< SkDataflutter::SerializeImageWithoutData (SkImage *image, void *ctx)
 
sk_sp< SkImageflutter::DeserializeImageWithoutData (const void *data, size_t length, void *ctx)
 

Variables

int32_t width = kRealBufferWidth
 
int32_t height = kRealBufferHeight
 
uint32_t color_type
 
uint32_t alpha_type
 
bool has_color_space
 

Variable Documentation

◆ alpha_type

uint32_t alpha_type

Definition at line 3 of file serialization_callbacks.cc.

◆ color_type

uint32_t color_type

Definition at line 2 of file serialization_callbacks.cc.

◆ has_color_space

bool has_color_space

Definition at line 4 of file serialization_callbacks.cc.

◆ height

* height = kRealBufferHeight

Definition at line 1 of file serialization_callbacks.cc.

◆ width

* width = kRealBufferWidth

Definition at line 0 of file serialization_callbacks.cc.