#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 984 of file dl_dispatcher.cc.
impeller::FirstPassDispatcher::~FirstPassDispatcher | ( | ) |
Definition at line 991 of file dl_dispatcher.cc.
|
override |
Definition at line 1130 of file dl_dispatcher.cc.
References impeller::Matrix::HasPerspective(), impeller::TRect< T >::IsEmpty(), impeller::TRect< T >::IsMaximum(), restore(), and save().
|
override |
Definition at line 1094 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::Paint::stroke, impeller::GlyphProperties::stroke, impeller::Paint::style, impeller::Color::WithAlpha(), and x.
|
override |
|
override |
|
override |
|
override |
Definition at line 1000 of file dl_dispatcher.cc.
References impeller::BackdropData::backdrop_count, data, impeller::TRect< Scalar >::MakeLTRB(), impeller::TRect< Scalar >::MakeMaximum(), and save().
Definition at line 1051 of file dl_dispatcher.cc.
References impeller::Matrix::Scale().
Referenced by drawTextFrame().
|
override |
Definition at line 1164 of file dl_dispatcher.cc.
References impeller::Paint::color, and impeller::skia_conversions::ToColor().
|
override |
Definition at line 1159 of file dl_dispatcher.cc.
References impeller::Paint::style, and impeller::ToStyle().
|
override |
Definition at line 1209 of file dl_dispatcher.cc.
|
override |
Definition at line 1179 of file dl_dispatcher.cc.
References impeller::StrokeParameters::cap, impeller::kButt, impeller::kRound, impeller::kSquare, and impeller::Paint::stroke.
|
override |
Definition at line 1194 of file dl_dispatcher.cc.
References impeller::StrokeParameters::join, impeller::kBevel, impeller::kMiter, impeller::kRound, and impeller::Paint::stroke.
|
override |
Definition at line 1174 of file dl_dispatcher.cc.
References impeller::StrokeParameters::miter_limit, and impeller::Paint::stroke.
|
override |
Definition at line 1169 of file dl_dispatcher.cc.
References impeller::Paint::stroke, and impeller::StrokeParameters::width.
Definition at line 1059 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 1218 of file dl_dispatcher.cc.
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().
|
override |
Definition at line 1065 of file dl_dispatcher.cc.
References impeller::Matrix::MakeColumn().
|
override |
|
override |
Definition at line 1090 of file dl_dispatcher.cc.
Definition at line 1047 of file dl_dispatcher.cc.
References impeller::Matrix::Translate().