#include <mock_embedder.h>
|
| MockViewEmbedder () |
|
| ~MockViewEmbedder () |
|
void | AddCanvas (DlCanvas *canvas) |
|
DlCanvas * | GetRootCanvas () override |
|
void | CancelFrame () override |
|
void | BeginFrame (GrDirectContext *context, const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger) override |
|
void | PrepareFlutterView (SkISize frame_size, double device_pixel_ratio) override |
|
void | PrerollCompositeEmbeddedView (int64_t view_id, std::unique_ptr< EmbeddedViewParams > params) override |
|
DlCanvas * | CompositeEmbeddedView (int64_t view_id) override |
|
std::vector< int64_t > | prerolled_views () const |
|
std::vector< int64_t > | painted_views () const |
|
| ExternalViewEmbedder ()=default |
|
virtual | ~ExternalViewEmbedder ()=default |
|
virtual void | CollectView (int64_t view_id) |
|
virtual DlCanvas * | GetRootCanvas ()=0 |
|
virtual void | CancelFrame ()=0 |
|
virtual void | BeginFrame (GrDirectContext *context, const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger)=0 |
|
virtual void | PrerollCompositeEmbeddedView (int64_t platform_view_id, std::unique_ptr< EmbeddedViewParams > params)=0 |
|
virtual PostPrerollResult | PostPrerollAction (const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger) |
|
virtual DlCanvas * | CompositeEmbeddedView (int64_t platform_view_id)=0 |
|
virtual void | PrepareFlutterView (SkISize frame_size, double device_pixel_ratio)=0 |
|
virtual void | SubmitFlutterView (int64_t flutter_view_id, GrDirectContext *context, const std::shared_ptr< impeller::AiksContext > &aiks_context, std::unique_ptr< SurfaceFrame > frame) |
|
virtual void | EndFrame (bool should_resubmit_frame, const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger) |
|
virtual bool | SupportsDynamicThreadMerging () |
|
virtual void | Teardown () |
|
void | SetUsedThisFrame (bool used_this_frame) |
|
bool | GetUsedThisFrame () const |
|
virtual void | PushVisitedPlatformView (int64_t platform_view_id) |
|
virtual void | PushFilterToVisitedPlatformViews (const std::shared_ptr< const DlImageFilter > &filter, const SkRect &filter_rect) |
|
Definition at line 13 of file mock_embedder.h.
◆ MockViewEmbedder()
flutter::testing::MockViewEmbedder::MockViewEmbedder |
( |
| ) |
|
|
default |
◆ ~MockViewEmbedder()
flutter::testing::MockViewEmbedder::~MockViewEmbedder |
( |
| ) |
|
|
default |
◆ AddCanvas()
void flutter::testing::MockViewEmbedder::AddCanvas |
( |
DlCanvas * |
canvas | ) |
|
Definition at line 14 of file mock_embedder.cc.
14 {
15 contexts_.emplace_back(canvas);
16}
◆ BeginFrame()
◆ CancelFrame()
void flutter::testing::MockViewEmbedder::CancelFrame |
( |
| ) |
|
|
overridevirtual |
◆ CompositeEmbeddedView()
DlCanvas * flutter::testing::MockViewEmbedder::CompositeEmbeddedView |
( |
int64_t |
view_id | ) |
|
|
overridevirtual |
◆ GetRootCanvas()
DlCanvas * flutter::testing::MockViewEmbedder::GetRootCanvas |
( |
| ) |
|
|
overridevirtual |
◆ painted_views()
std::vector< int64_t > flutter::testing::MockViewEmbedder::painted_views |
( |
| ) |
const |
|
inline |
◆ PrepareFlutterView()
void flutter::testing::MockViewEmbedder::PrepareFlutterView |
( |
SkISize |
frame_size, |
|
|
double |
device_pixel_ratio |
|
) |
| |
|
overridevirtual |
◆ PrerollCompositeEmbeddedView()
void flutter::testing::MockViewEmbedder::PrerollCompositeEmbeddedView |
( |
int64_t |
view_id, |
|
|
std::unique_ptr< EmbeddedViewParams > |
params |
|
) |
| |
|
overridevirtual |
◆ prerolled_views()
std::vector< int64_t > flutter::testing::MockViewEmbedder::prerolled_views |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: