Flutter Engine
serialization_callbacks.cc File Reference
#include "flutter/fml/logging.h"
#include "include/core/SkImage.h"
#include "include/core/SkPicture.h"
#include "include/core/SkStream.h"
#include "include/core/SkTypeface.h"

Go to the source code of this file.

Classes

struct  flutter::ImageMetaData
 

Namespaces

 flutter
 

Functions

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

Variables

int32_t width
 
int32_t height
 
uint32_t color_type
 
uint32_t alpha_type
 
bool has_color_space
 

Variable Documentation

◆ alpha_type

uint32_t alpha_type

◆ color_type

◆ has_color_space

bool has_color_space

Definition at line 22 of file serialization_callbacks.cc.

◆ height

int32_t height

Definition at line 19 of file serialization_callbacks.cc.

Referenced by flutter::SceneBuilder::addPlatformView(), flutter::SceneUpdateContext::CompositeEmbeddedView(), flutter::Paragraph::Create(), flutter::ParagraphBuilder::create(), flutter::SceneBuilder::create(), flutter::AngleSurfaceManager::CreateSurface(), flutter::decodeStrut(), flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), fl_engine_send_window_metrics_event(), FlutterDesktopViewControllerCreate(), FlutterDesktopWindowSetIcon(), FlutterEngineInitialize(), FlutterEngineSendWindowMetricsEvent(), FlutterSizeMake(), flutter::PlatformViewAndroidJNIImpl::FlutterViewDisplayOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), txt::ParagraphTxt::GetGlyphPositionAtCoordinate(), flutter::testing::TestGLSurface::GetOnscreenSurface(), txt::ParagraphTxt::GetRectsForRange(), flutter::AndroidEGLSurface::GetSize(), flutter::Win32Window::GetWindowHandle(), flutter::Win32Window::HandleMessage(), flutter::SceneHost::id(), InferSoftwarePlatformViewCreationCallback(), flutter::Win32Window::InitializeChild(), flutter::Stopwatch::InitVisualizeSurface(), flutter::IOSExternalTextureGL::IOSExternalTextureGL(), flutter::FlutterWindowsView::OnScroll(), flutter::Picture::picture(), flutter::ParagraphBuilder::pushStyle(), SendWindowMetrics(), flutter::testing::ShellTest::SetViewportMetrics(), flutter_runner::FuchsiaExternalViewEmbedder::SupportsDynamicThreadMerging(), flutter::testing::TEST_F(), flutter::TestMetalSurfaceImpl::TestMetalSurfaceImpl(), flutter::Picture::toImage(), flutter::Stopwatch::Visualize(), and flutter::CounterValues::Visualize().

◆ width

int32_t width

Definition at line 18 of file serialization_callbacks.cc.

Referenced by flutter::SceneBuilder::addPlatformView(), flutter::SceneUpdateContext::CompositeEmbeddedView(), flutter::Paragraph::Create(), flutter::SceneBuilder::create(), flutter::AngleSurfaceManager::CreateSurface(), fl_engine_send_window_metrics_event(), FlutterDesktopViewControllerCreate(), FlutterDesktopWindowSetIcon(), FlutterEngineInitialize(), FlutterEngineSendWindowMetricsEvent(), FlutterSizeMake(), flutter::PlatformViewAndroidJNIImpl::FlutterViewDisplayOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), minikin::LineWidths::getLineWidth(), flutter::testing::TestGLSurface::GetOnscreenSurface(), flutter::AndroidEGLSurface::GetSize(), flutter::Win32Window::GetWindowHandle(), GLFWFramebufferSizeCallback(), flutter::Win32Window::HandleMessage(), flutter::SceneHost::id(), flutter::Win32Window::InitializeChild(), flutter::Stopwatch::InitVisualizeSurface(), flutter::IOSExternalTextureGL::IOSExternalTextureGL(), flutter::FlutterWindowsView::OnScroll(), txt::ParagraphTxt::Paint(), flutter::Picture::picture(), flutter::testing::ShellTest::PumpOneFrame(), SendWindowMetrics(), minikin::LineBreaker::setHyphenationFrequency(), flutter::testing::ShellTest::SetViewportMetrics(), txt::Paragraph::Range< T >::Shift(), flutter_runner::FuchsiaExternalViewEmbedder::SupportsDynamicThreadMerging(), txt::TEST(), flutter::testing::TEST_F(), flutter::TestMetalSurfaceImpl::TestMetalSurfaceImpl(), flutter::Picture::toImage(), flutter::Stopwatch::Visualize(), and flutter::CounterValues::Visualize().