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/SkSerialProcs.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)
 
sk_sp< SkTypeface > flutter::DeserializeTypefaceWithoutData (const void *data, size_t length, 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 = REAL_BUFFER_WIDTH
 
int32_t height = REAL_BUFFER_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 27 of file serialization_callbacks.cc.

◆ height

* height = REAL_BUFFER_HEIGHT

Definition at line 24 of file serialization_callbacks.cc.

Referenced by gfx::RectF::bottom(), gfx::Rect::bottom(), flutter::testing::CanvasCompareTester::compareToReference(), flutter::TextInputPlugin::ComposeChangeHook(), flutter::Paragraph::Create(), flutter::ParagraphBuilder::create(), flutter::SceneBuilder::create(), flutter::FlutterMetalCompositor::CreateBackingStore(), flutter::TestMetalContext::CreateMetalTexture(), flutter::testing::CreateOffscreenTexture(), flutter::AngleSurfaceManager::CreateSurface(), flutter::decodeStrut(), flutter::Picture::display_list(), flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), flutter::EmbedderExternalTextureGL::EmbedderExternalTextureGL(), flutter::EmbedderExternalTextureMetal::EmbedderExternalTextureMetal(), flutter_runner::Engine::Engine(), fl_backing_store_provider_new(), fl_engine_send_window_metrics_event(), fl_pixel_buffer_texture_populate(), fl_test_texture_populate(), fl_texture_gl_populate(), FlutterDesktopViewControllerCreate(), FlutterDesktopWindowSetIcon(), FlutterEngineInitialize(), FlutterEngineSendWindowMetricsEvent(), FlutterSizeMake(), flutter::PlatformViewAndroidJNIImpl::FlutterViewDisplayOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), G_DECLARE_DERIVABLE_TYPE(), txt::ParagraphTxt::GetGlyphPositionAtCoordinate(), flutter::testing::TestGLSurface::GetOnscreenSurface(), txt::ParagraphTxt::GetRectsForRange(), flutter::AndroidEGLSurface::GetSize(), flutter::WindowWin32::GetWindowHandle(), flutter_runner::PlatformView::HandleFuchsiaShaderWarmupChannelPlatformMessage(), flutter::WindowWin32::HandleMessage(), InferSoftwarePlatformViewCreationCallback(), flutter::WindowWin32::InitializeChild(), flutter::testing::EmbedderConfigBuilder::InitializeEngine(), flutter::Stopwatch::InitVisualizeSurface(), TestExternalTexture::initWidth:height:pixelFormatType:, flutter::IOSExternalTextureGL::IOSExternalTextureGL(), gfx::InsetsF::IsEmpty(), gfx::SizeF::IsEmpty(), gfx::Insets::IsEmpty(), gfx::Size::IsEmpty(), gfx::RectF::left_center(), gfx::Rect::left_center(), flutter::testing::CanvasCompareTester::makeSurface(), flutter::testing::MockRasterCache::MockRasterCache(), flutter::FlutterWindowWin32::OnBitmapSurfaceUpdated(), flutter::FlutterWindowsView::OnResetImeComposing(), FlutterDarwinExternalTextureMetal::onTextureUnregistered, flutter::FlutterWindowsView::OnWindowSizeChanged(), flutter_runner::testing::FakeShapeT< S >::RectangleDef::operator==(), flutter_runner::testing::FakeShapeT< S >::RoundedRectangleDef::operator==(), flutter_runner::testing::FakeImageT< S >::Image2Def::operator==(), flutter_runner::testing::FakeImageT< S >::Image3Def::operator==(), flutter::ExternalTextureGL::PopulateTexture(), flutter::testing::ShellTest::PumpOneFrame(), flutter::ParagraphBuilder::pushStyle(), flutter::Picture::RasterizeToImage(), flutter::TextureRegistrarImpl::RegisterTexture(), flutter::AngleSurfaceManager::ResizeSurface(), gfx::RectF::right_center(), gfx::Rect::right_center(), gfx::SizeF::Scale(), SendWindowMetrics(), gfx::Rect::set_origin(), flutter::testing::ShellTest::SetViewportMetrics(), gfx::Insets::size(), TEST(), flutter::testing::TEST(), flutter::TEST(), gfx::TEST(), ui::TEST_F(), flutter_runner::testing::TEST_F(), flutter::testing::TEST_F(), flutter::Picture::toImage(), flutter::Stopwatch::Visualize(), flutter::CounterValues::Visualize(), and flutter_runner::Engine::WriteProfileToTrace().

◆ width

* width = REAL_BUFFER_WIDTH

Definition at line 23 of file serialization_callbacks.cc.

Referenced by gfx::RectF::bottom_center(), gfx::Rect::bottom_center(), flutter::testing::CanvasCompareTester::compareToReference(), flutter::TextInputPlugin::ComposeChangeHook(), flutter::Paragraph::Create(), flutter::SceneBuilder::create(), flutter::FlutterMetalCompositor::CreateBackingStore(), flutter::TestMetalContext::CreateMetalTexture(), flutter::testing::CreateOffscreenTexture(), flutter::AngleSurfaceManager::CreateSurface(), flutter::Picture::display_list(), flutter::EmbedderExternalTextureGL::EmbedderExternalTextureGL(), flutter::EmbedderExternalTextureMetal::EmbedderExternalTextureMetal(), flutter_runner::Engine::Engine(), fl_backing_store_provider_new(), fl_engine_send_window_metrics_event(), fl_pixel_buffer_texture_populate(), fl_test_texture_populate(), fl_texture_gl_populate(), FlutterDesktopViewControllerCreate(), FlutterDesktopWindowSetIcon(), FlutterEngineInitialize(), FlutterEngineSendWindowMetricsEvent(), FlutterSizeMake(), flutter::PlatformViewAndroidJNIImpl::FlutterViewDisplayOverlaySurface(), flutter::PlatformViewAndroidJNIImpl::FlutterViewOnDisplayPlatformView(), G_DECLARE_DERIVABLE_TYPE(), minikin::LineWidths::getLineWidth(), flutter::testing::TestGLSurface::GetOnscreenSurface(), flutter::AndroidEGLSurface::GetSize(), flutter::WindowWin32::GetWindowHandle(), GLFWFramebufferSizeCallback(), flutter_runner::PlatformView::HandleFuchsiaShaderWarmupChannelPlatformMessage(), flutter::WindowWin32::HandleMessage(), flutter::WindowWin32::InitializeChild(), flutter::testing::EmbedderConfigBuilder::InitializeEngine(), flutter::Stopwatch::InitVisualizeSurface(), TestExternalTexture::initWidth:height:pixelFormatType:, flutter::IOSExternalTextureGL::IOSExternalTextureGL(), gfx::InsetsF::IsEmpty(), gfx::SizeF::IsEmpty(), gfx::Insets::IsEmpty(), gfx::Size::IsEmpty(), flutter::testing::CanvasCompareTester::makeSurface(), flutter::testing::MockRasterCache::MockRasterCache(), flutter::FlutterWindowsView::OnResetImeComposing(), FlutterDarwinExternalTextureMetal::onTextureUnregistered, flutter::FlutterWindowsView::OnWindowSizeChanged(), flutter_runner::testing::FakeShapeT< S >::RectangleDef::operator==(), flutter_runner::testing::FakeShapeT< S >::RoundedRectangleDef::operator==(), flutter_runner::testing::FakeImageT< S >::Image2Def::operator==(), flutter_runner::testing::FakeImageT< S >::Image3Def::operator==(), txt::ParagraphTxt::Paint(), flutter::ExternalTextureGL::PopulateTexture(), flutter::testing::ShellTest::PumpOneFrame(), flutter::Picture::RasterizeToImage(), flutter::TextureRegistrarImpl::RegisterTexture(), flutter::AngleSurfaceManager::ResizeSurface(), gfx::RectF::right(), gfx::Rect::right(), gfx::SizeF::Scale(), SendWindowMetrics(), gfx::Rect::set_origin(), minikin::LineBreaker::setHyphenationFrequency(), flutter::DisplayListBuilder::setStrokeWidth(), flutter::testing::ShellTest::SetViewportMetrics(), txt::Paragraph::Range< T >::Shift(), gfx::Insets::size(), TEST(), flutter::testing::TEST(), txt::TEST(), flutter::TEST(), gfx::TEST(), ui::TEST_F(), flutter_runner::testing::TEST_F(), flutter::testing::TEST_F(), flutter::Picture::toImage(), gfx::RectF::top_center(), gfx::Rect::top_center(), flutter::Stopwatch::Visualize(), flutter::CounterValues::Visualize(), and flutter_runner::Engine::WriteProfileToTrace().