|
sk_sp< SkSurface > | flutter::testing::CreateRenderSurface (const FlutterLayer &layer, GrDirectContext *context) |
|
static sk_sp< SkData > | flutter::testing::NormalizeImage (const sk_sp< SkImage > &image) |
|
bool | flutter::testing::RasterImagesAreSame (const sk_sp< SkImage > &a, const sk_sp< SkImage > &b) |
|
std::string | flutter::testing::FixtureNameForBackend (EmbedderTestContextType backend, const std::string &name) |
| Prepends a prefix to the name which is unique to the test context type. This is useful for tests that use EmbedderTestMultiBackend and require different fixtures per backend. For OpenGL, the name remains unchanged. More...
|
|
EmbedderTestBackingStoreProducer::RenderTargetType | flutter::testing::GetRenderTargetFromBackend (EmbedderTestContextType backend, bool opengl_framebuffer) |
| Resolves a render target type for a given backend description. This is useful for tests that use EmbedderTestMultiBackend. More...
|
|
void | flutter::testing::ConfigureBackingStore (FlutterBackingStore &backing_store, EmbedderTestContextType backend, bool opengl_framebuffer) |
| Configures per-backend properties for a given backing store. More...
|
|
bool | flutter::testing::WriteImageToDisk (const fml::UniqueFD &directory, const std::string &name, const sk_sp< SkImage > &image) |
|
bool | flutter::testing::ImageMatchesFixture (const std::string &fixture_file_name, const sk_sp< SkImage > &scene_image) |
|
bool | flutter::testing::ImageMatchesFixture (const std::string &fixture_file_name, std::future< sk_sp< SkImage > > &scene_image) |
|
bool | flutter::testing::SurfacePixelDataMatchesBytes (SkSurface *surface, const std::vector< uint8_t > &bytes) |
|
bool | flutter::testing::SurfacePixelDataMatchesBytes (std::future< SkSurface * > &surface_future, const std::vector< uint8_t > &bytes) |
|
void | flutter::testing::FilterMutationsByType (const FlutterPlatformViewMutation **mutations, size_t count, FlutterPlatformViewMutationType type, const std::function< void(const FlutterPlatformViewMutation &mutation)> &handler) |
|
void | flutter::testing::FilterMutationsByType (const FlutterPlatformView *view, FlutterPlatformViewMutationType type, const std::function< void(const FlutterPlatformViewMutation &mutation)> &handler) |
|
SkMatrix | flutter::testing::GetTotalMutationTransformationMatrix (const FlutterPlatformViewMutation **mutations, size_t count) |
|
SkMatrix | flutter::testing::GetTotalMutationTransformationMatrix (const FlutterPlatformView *view) |
|