Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
flutter::testing::RenderResult Struct Reference

Static Public Member Functions

static RenderResult Make (const std::shared_ptr< DlSurfaceInstance > &surface)
 
static RenderResult Make (const std::shared_ptr< DlPixelData > &data)
 
static RenderResult Make (const std::shared_ptr< DlPixelData > &data, const DlRect &bounds)
 

Public Attributes

std::shared_ptr< DlPixelDatapixel_data
 
DlRect render_bounds
 

Detailed Description

Definition at line 343 of file dl_rendering_unittests.cc.

Member Function Documentation

◆ Make() [1/3]

static RenderResult flutter::testing::RenderResult::Make ( const std::shared_ptr< DlPixelData > &  data)
inlinestatic

Definition at line 348 of file dl_rendering_unittests.cc.

348 {
349 return Make(data, DlRect::MakeWH(data->width(), data->height()));
350 }
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switch_defs.h:36
static RenderResult Make(const std::shared_ptr< DlSurfaceInstance > &surface)
static constexpr TRect MakeWH(Type width, Type height)
Definition rect.h:140

References flutter::data, Make(), and impeller::TRect< Scalar >::MakeWH().

◆ Make() [2/3]

static RenderResult flutter::testing::RenderResult::Make ( const std::shared_ptr< DlPixelData > &  data,
const DlRect bounds 
)
inlinestatic

Definition at line 352 of file dl_rendering_unittests.cc.

353 {
354 return {
355 .pixel_data = data,
356 .render_bounds = bounds,
357 };
358 }

References flutter::data, and pixel_data.

◆ Make() [3/3]

static RenderResult flutter::testing::RenderResult::Make ( const std::shared_ptr< DlSurfaceInstance > &  surface)
inlinestatic

Member Data Documentation

◆ pixel_data

◆ render_bounds

DlRect flutter::testing::RenderResult::render_bounds

Definition at line 361 of file dl_rendering_unittests.cc.


The documentation for this struct was generated from the following file: