Flutter Engine
embedder_unittests_util.cc File Reference
#include "flutter/shell/platform/embedder/tests/embedder_unittests_util.h"

Go to the source code of this file.

Namespaces

 flutter
 
 flutter::testing
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

sk_sp< SkSurface > flutter::testing::CreateRenderSurface (const FlutterLayer &layer, GrDirectContext *context)
 
bool flutter::testing::RasterImagesAreSame (sk_sp< SkImage > a, sk_sp< SkImage > b)
 
bool flutter::testing::WriteImageToDisk (const fml::UniqueFD &directory, const std::string &name, sk_sp< SkImage > image)
 
bool flutter::testing::ImageMatchesFixture (const std::string &fixture_file_name, sk_sp< SkImage > scene_image)
 
bool flutter::testing::ImageMatchesFixture (const std::string &fixture_file_name, std::future< sk_sp< SkImage >> &scene_image)
 
void flutter::testing::FilterMutationsByType (const FlutterPlatformViewMutation **mutations, size_t count, FlutterPlatformViewMutationType type, std::function< void(const FlutterPlatformViewMutation &mutation)> handler)
 
void flutter::testing::FilterMutationsByType (const FlutterPlatformView *view, FlutterPlatformViewMutationType type, std::function< void(const FlutterPlatformViewMutation &mutation)> handler)
 
SkMatrix flutter::testing::GetTotalMutationTransformationMatrix (const FlutterPlatformViewMutation **mutations, size_t count)
 
SkMatrix flutter::testing::GetTotalMutationTransformationMatrix (const FlutterPlatformView *view)
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file embedder_unittests_util.cc.