#include <dl_dispatcher.h>
Public Member Functions | |
| FirstPassDispatcher (const ContentContext &renderer, const Matrix &initial_matrix, const Rect cull_rect) | |
| ~FirstPassDispatcher () | |
| void | save () override |
| void | saveLayer (const DlRect &bounds, const flutter::SaveLayerOptions options, const flutter::DlImageFilter *backdrop, std::optional< int64_t > backdrop_id) override |
| void | restore () override |
| void | translate (DlScalar tx, DlScalar ty) override |
| void | scale (DlScalar sx, DlScalar sy) override |
| void | rotate (DlScalar degrees) override |
| void | skew (DlScalar sx, DlScalar sy) override |
| void | transform2DAffine (DlScalar mxx, DlScalar mxy, DlScalar mxt, DlScalar myx, DlScalar myy, DlScalar myt) override |
| void | transformFullPerspective (DlScalar mxx, DlScalar mxy, DlScalar mxz, DlScalar mxt, DlScalar myx, DlScalar myy, DlScalar myz, DlScalar myt, DlScalar mzx, DlScalar mzy, DlScalar mzz, DlScalar mzt, DlScalar mwx, DlScalar mwy, DlScalar mwz, DlScalar mwt) override |
| void | transformReset () override |
| void | drawText (const std::shared_ptr< flutter::DlText > &text, DlScalar x, DlScalar y) override |
| void | drawDisplayList (const sk_sp< flutter::DisplayList > display_list, DlScalar opacity) override |
| void | setDrawStyle (flutter::DlDrawStyle style) override |
| void | setColor (flutter::DlColor color) override |
| void | setStrokeWidth (DlScalar width) override |
| void | setStrokeMiter (DlScalar limit) override |
| void | setStrokeCap (flutter::DlStrokeCap cap) override |
| void | setStrokeJoin (flutter::DlStrokeJoin join) override |
| void | setImageFilter (const flutter::DlImageFilter *filter) override |
| std::pair< std::unordered_map< int64_t, BackdropData >, size_t > | TakeBackdropData () |
Performs a first pass over the display list to collect information that will be useful in a second pass by the CanvasDlDispatcher. This class collects things like text frames and backdrop filters.
Definition at line 345 of file dl_dispatcher.h.
| impeller::FirstPassDispatcher::FirstPassDispatcher | ( | const ContentContext & | renderer, |
| const Matrix & | initial_matrix, | ||
| const Rect | cull_rect | ||
| ) |
Definition at line 966 of file dl_dispatcher.cc.
| impeller::FirstPassDispatcher::~FirstPassDispatcher | ( | ) |
Definition at line 973 of file dl_dispatcher.cc.
|
override |
Definition at line 1117 of file dl_dispatcher.cc.
References impeller::Matrix::HasPerspective(), impeller::TRect< T >::IsEmpty(), impeller::TRect< T >::IsMaximum(), restore(), and save().
|
override |
Definition at line 1079 of file dl_dispatcher.cc.
References impeller::Paint::color, impeller::GlyphProperties::color, impeller::ContentContext::GetLazyGlyphAtlas(), impeller::Paint::kStroke, impeller::Paint::stroke, impeller::GlyphProperties::stroke, impeller::Paint::style, impeller::Color::WithAlpha(), and x.
|
override |
|
override |
|
override |
|
override |
Definition at line 982 of file dl_dispatcher.cc.
References impeller::BackdropData::all_filters_equal, impeller::BackdropData::backdrop_count, impeller::BackdropData::last_backdrop, impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeMaximum(), and save().
|
override |
Definition at line 1151 of file dl_dispatcher.cc.
References impeller::Paint::color, and impeller::skia_conversions::ToColor().
|
override |
Definition at line 1146 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1196 of file dl_dispatcher.cc.
|
override |
Definition at line 1166 of file dl_dispatcher.cc.
References impeller::StrokeParameters::cap, impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke.
|
override |
Definition at line 1181 of file dl_dispatcher.cc.
References impeller::StrokeParameters::join, impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke.
|
override |
Definition at line 1161 of file dl_dispatcher.cc.
References impeller::StrokeParameters::miter_limit, and impeller::Paint::stroke.
|
override |
Definition at line 1156 of file dl_dispatcher.cc.
References impeller::Paint::stroke, and impeller::StrokeParameters::width.
Definition at line 1041 of file dl_dispatcher.cc.
References impeller::Matrix::MakeSkew().
| std::pair< std::unordered_map< int64_t, BackdropData >, size_t > impeller::FirstPassDispatcher::TakeBackdropData | ( | ) |
Definition at line 1211 of file dl_dispatcher.cc.
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().
|
override |
Definition at line 1047 of file dl_dispatcher.cc.
References impeller::Matrix::MakeColumn().
|
override |
|
override |
Definition at line 1075 of file dl_dispatcher.cc.
Definition at line 1029 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().