#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 301 of file dl_dispatcher.h.
| impeller::FirstPassDispatcher::FirstPassDispatcher | ( | const ContentContext & | renderer, |
| const Matrix & | initial_matrix, | ||
| const Rect | cull_rect | ||
| ) |
Definition at line 1000 of file dl_dispatcher.cc.
| impeller::FirstPassDispatcher::~FirstPassDispatcher | ( | ) |
Definition at line 1007 of file dl_dispatcher.cc.
|
override |
Definition at line 1150 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 1110 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 1016 of file dl_dispatcher.cc.
References impeller::BackdropData::backdrop_count, data, impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeMaximum(), and save().
Definition at line 1067 of file dl_dispatcher.cc.
References impeller::Matrix::Scale().
Referenced by drawTextFrame().
|
override |
Definition at line 1189 of file dl_dispatcher.cc.
References impeller::Paint::color, and impeller::skia_conversions::ToColor().
|
override |
Definition at line 1184 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1234 of file dl_dispatcher.cc.
|
override |
Definition at line 1204 of file dl_dispatcher.cc.
References impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke_cap.
|
override |
Definition at line 1219 of file dl_dispatcher.cc.
References impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke_join.
|
override |
Definition at line 1199 of file dl_dispatcher.cc.
References impeller::Paint::stroke_miter.
|
override |
Definition at line 1194 of file dl_dispatcher.cc.
References impeller::Paint::stroke_width.
Definition at line 1075 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 1243 of file dl_dispatcher.cc.
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().
|
override |
Definition at line 1081 of file dl_dispatcher.cc.
References impeller::Matrix::MakeColumn().
|
override |
|
override |
Definition at line 1106 of file dl_dispatcher.cc.
Definition at line 1063 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().