#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 | drawTextFrame (const std::shared_ptr< impeller::TextFrame > &text_frame, 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 infomation. Collects things like text frames and backdrop filters.
Definition at line 316 of file dl_dispatcher.h.
| impeller::FirstPassDispatcher::FirstPassDispatcher | ( | const ContentContext & | renderer, |
| const Matrix & | initial_matrix, | ||
| const Rect | cull_rect | ||
| ) |
Definition at line 1042 of file dl_dispatcher.cc.
| impeller::FirstPassDispatcher::~FirstPassDispatcher | ( | ) |
Definition at line 1049 of file dl_dispatcher.cc.
|
override |
Definition at line 1192 of file dl_dispatcher.cc.
References impeller::TRect< T >::GetBottom(), impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetRight(), impeller::TRect< T >::GetTop(), impeller::Matrix::HasPerspective(), impeller::TRect< T >::IsEmpty(), impeller::TRect< T >::IsMaximum(), restore(), impeller::TRect< T >::RoundOut(), and save().
|
override |
Definition at line 1152 of file dl_dispatcher.cc.
References impeller::Paint::color, impeller::GlyphProperties::color, impeller::ContentContext::GetLazyGlyphAtlas(), impeller::Paint::kStroke, impeller::Matrix::MakeTranslation(), impeller::TextFrame::RoundScaledFontSize(), scale(), impeller::GlyphProperties::stroke, impeller::Paint::stroke_cap, impeller::GlyphProperties::stroke_cap, impeller::Paint::stroke_join, impeller::GlyphProperties::stroke_join, impeller::Paint::stroke_miter, impeller::GlyphProperties::stroke_miter, impeller::Paint::stroke_width, impeller::GlyphProperties::stroke_width, impeller::Paint::style, impeller::Color::WithAlpha(), and x.
|
override |
|
override |
|
override |
|
override |
Definition at line 1058 of file dl_dispatcher.cc.
References impeller::BackdropData::backdrop_count, data, impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeMaximum(), and save().
Definition at line 1109 of file dl_dispatcher.cc.
References impeller::Matrix::Scale().
Referenced by drawTextFrame().
|
override |
Definition at line 1231 of file dl_dispatcher.cc.
References impeller::Paint::color, and impeller::skia_conversions::ToColor().
|
override |
Definition at line 1226 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1276 of file dl_dispatcher.cc.
|
override |
Definition at line 1246 of file dl_dispatcher.cc.
References impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke_cap.
|
override |
Definition at line 1261 of file dl_dispatcher.cc.
References impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke_join.
|
override |
Definition at line 1241 of file dl_dispatcher.cc.
References impeller::Paint::stroke_miter.
|
override |
Definition at line 1236 of file dl_dispatcher.cc.
References impeller::Paint::stroke_width.
Definition at line 1117 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 1285 of file dl_dispatcher.cc.
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().
|
override |
Definition at line 1123 of file dl_dispatcher.cc.
References impeller::Matrix::MakeColumn().
|
override |
|
override |
Definition at line 1148 of file dl_dispatcher.cc.
Definition at line 1105 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().