Flutter Engine
The Flutter Engine
|
The external view embedder used by |ShellTestPlatformViewGL|. More...
#include <shell_test_external_view_embedder.h>
Public Types | |
using | EndFrameCallBack = std::function< void(bool, fml::RefPtr< fml::RasterThreadMerger >)> |
Public Member Functions | |
ShellTestExternalViewEmbedder (const EndFrameCallBack &end_frame_call_back, PostPrerollResult post_preroll_result, bool support_thread_merging) | |
~ShellTestExternalViewEmbedder ()=default | |
void | UpdatePostPrerollResult (PostPrerollResult post_preroll_result) |
int | GetSubmittedFrameCount () |
SkISize | GetLastSubmittedFrameSize () |
MutatorsStack | GetStack (int64_t) |
std::vector< int64_t > | GetVisitedPlatformViews () |
Public Member Functions inherited from flutter::ExternalViewEmbedder | |
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) |
The external view embedder used by |ShellTestPlatformViewGL|.
Definition at line 16 of file shell_test_external_view_embedder.h.
using flutter::ShellTestExternalViewEmbedder::EndFrameCallBack = std::function<void(bool, fml::RefPtr<fml::RasterThreadMerger>)> |
Definition at line 18 of file shell_test_external_view_embedder.h.
flutter::ShellTestExternalViewEmbedder::ShellTestExternalViewEmbedder | ( | const EndFrameCallBack & | end_frame_call_back, |
PostPrerollResult | post_preroll_result, | ||
bool | support_thread_merging | ||
) |
Definition at line 9 of file shell_test_external_view_embedder.cc.
|
default |
SkISize flutter::ShellTestExternalViewEmbedder::GetLastSubmittedFrameSize | ( | ) |
Definition at line 27 of file shell_test_external_view_embedder.cc.
MutatorsStack flutter::ShellTestExternalViewEmbedder::GetStack | ( | int64_t | view_id | ) |
Definition at line 35 of file shell_test_external_view_embedder.cc.
int flutter::ShellTestExternalViewEmbedder::GetSubmittedFrameCount | ( | ) |
Definition at line 23 of file shell_test_external_view_embedder.cc.
std::vector< int64_t > flutter::ShellTestExternalViewEmbedder::GetVisitedPlatformViews | ( | ) |
Definition at line 31 of file shell_test_external_view_embedder.cc.
void flutter::ShellTestExternalViewEmbedder::UpdatePostPrerollResult | ( | PostPrerollResult | post_preroll_result | ) |
Definition at line 18 of file shell_test_external_view_embedder.cc.