#include <dl_dispatcher.h>
Public Member Functions | |
| CanvasDlDispatcher (ContentContext &renderer, RenderTarget &render_target, bool is_onscreen, bool has_root_backdrop_filter, flutter::DlBlendMode max_root_blend_mode, IRect32 cull_rect) | |
| ~CanvasDlDispatcher ()=default | |
| void | SetBackdropData (std::unordered_map< int64_t, BackdropData > backdrop, size_t backdrop_count) |
| void | save () override |
| void | saveLayer (const DlRect &bounds, const flutter::SaveLayerOptions options, const flutter::DlImageFilter *backdrop, std::optional< int64_t > backdrop_id) override |
| void | FinishRecording () |
| void | drawVertices (const std::shared_ptr< flutter::DlVertices > &vertices, flutter::DlBlendMode dl_mode) override |
| void | save (uint32_t total_content_depth) override |
| void | saveLayer (const DlRect &bounds, const flutter::SaveLayerOptions &options, uint32_t total_content_depth, flutter::DlBlendMode max_content_mode, const flutter::DlImageFilter *backdrop, std::optional< int64_t > backdrop_id) override |
Public Member Functions inherited from impeller::DlDispatcherBase | |
| void | setAntiAlias (bool aa) 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 | setColorSource (const flutter::DlColorSource *source) override |
| void | setColorFilter (const flutter::DlColorFilter *filter) override |
| void | setInvertColors (bool invert) override |
| void | setBlendMode (flutter::DlBlendMode mode) override |
| void | setMaskFilter (const flutter::DlMaskFilter *filter) override |
| void | setImageFilter (const flutter::DlImageFilter *filter) override |
| void | save (uint32_t total_content_depth) override |
| void | saveLayer (const DlRect &bounds, const flutter::SaveLayerOptions &options, uint32_t total_content_depth, flutter::DlBlendMode max_content_mode, 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 | clipRect (const DlRect &rect, flutter::DlClipOp clip_op, bool is_aa) override |
| void | clipOval (const DlRect &bounds, flutter::DlClipOp clip_op, bool is_aa) override |
| void | clipRoundRect (const DlRoundRect &rrect, flutter::DlClipOp clip_op, bool is_aa) override |
| void | clipRoundSuperellipse (const DlRoundSuperellipse &rse, flutter::DlClipOp clip_op, bool is_aa) override |
| void | clipPath (const DlPath &path, flutter::DlClipOp clip_op, bool is_aa) override |
| void | drawColor (flutter::DlColor color, flutter::DlBlendMode mode) override |
| void | drawPaint () override |
| void | drawLine (const DlPoint &p0, const DlPoint &p1) override |
| void | drawDashedLine (const DlPoint &p0, const DlPoint &p1, DlScalar on_length, DlScalar off_length) override |
| void | drawRect (const DlRect &rect) override |
| void | drawOval (const DlRect &bounds) override |
| void | drawCircle (const DlPoint ¢er, DlScalar radius) override |
| void | drawRoundRect (const DlRoundRect &rrect) override |
| void | drawDiffRoundRect (const DlRoundRect &outer, const DlRoundRect &inner) override |
| void | drawRoundSuperellipse (const DlRoundSuperellipse &rse) override |
| void | drawPath (const DlPath &path) override |
| void | drawArc (const DlRect &oval_bounds, DlScalar start_degrees, DlScalar sweep_degrees, bool use_center) override |
| void | drawPoints (flutter::DlPointMode mode, uint32_t count, const DlPoint points[]) override |
| void | drawVertices (const std::shared_ptr< flutter::DlVertices > &vertices, flutter::DlBlendMode dl_mode) override |
| void | drawImage (const sk_sp< flutter::DlImage > image, const DlPoint &point, flutter::DlImageSampling sampling, bool render_with_attributes) override |
| void | drawImageRect (const sk_sp< flutter::DlImage > image, const DlRect &src, const DlRect &dst, flutter::DlImageSampling sampling, bool render_with_attributes, flutter::DlSrcRectConstraint constraint) override |
| void | drawImageNine (const sk_sp< flutter::DlImage > image, const DlIRect ¢er, const DlRect &dst, flutter::DlFilterMode filter, bool render_with_attributes) override |
| void | drawAtlas (const sk_sp< flutter::DlImage > atlas, const RSTransform xform[], const DlRect tex[], const flutter::DlColor colors[], int count, flutter::DlBlendMode mode, flutter::DlImageSampling sampling, const DlRect *cull_rect, bool render_with_attributes) override |
| void | drawDisplayList (const sk_sp< flutter::DisplayList > display_list, DlScalar opacity) override |
| void | drawText (const std::shared_ptr< flutter::DlText > &text, DlScalar x, DlScalar y) override |
| void | drawShadow (const DlPath &path, const flutter::DlColor color, const DlScalar elevation, bool transparent_occluder, DlScalar dpr) override |
Public Member Functions inherited from flutter::DlOpReceiver | |
| virtual void | saveLayer (const DlRect *bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr, std::optional< int64_t > backdrop_id=std::nullopt) final |
Additional Inherited Members | |
Static Public Attributes inherited from flutter::DlOpReceiver | |
| static constexpr int | kMaxDrawPointsCount = ((1 << 29) - 1) |
Static Protected Member Functions inherited from impeller::DlDispatcherBase | |
| static void | SimplifyOrDrawPath (Canvas &canvas, const DlPath &cache, const Paint &paint) |
Protected Attributes inherited from impeller::DlDispatcherBase | |
| Paint | paint_ |
| Matrix | initial_matrix_ |
Definition at line 263 of file dl_dispatcher.h.
| impeller::CanvasDlDispatcher::CanvasDlDispatcher | ( | ContentContext & | renderer, |
| RenderTarget & | render_target, | ||
| bool | is_onscreen, | ||
| bool | has_root_backdrop_filter, | ||
| flutter::DlBlendMode | max_root_blend_mode, | ||
| IRect32 | cull_rect | ||
| ) |
Definition at line 930 of file dl_dispatcher.cc.
|
default |
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 948 of file dl_dispatcher.cc.
References AUTO_DEPTH_WATCHER, impeller::Canvas::DrawVertices(), and impeller::DlDispatcherBase::paint_.
|
inline |
Definition at line 296 of file dl_dispatcher.h.
References impeller::Canvas::EndReplay().
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().
|
inlineoverridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 278 of file dl_dispatcher.h.
References FML_UNREACHABLE.
|
overridevirtual |
Reimplemented from flutter::DlOpReceiver.
Definition at line 73 of file dl_dispatcher.cc.
|
overridevirtual |
Reimplemented from flutter::DlOpReceiver.
Definition at line 76 of file dl_dispatcher.cc.
References FML_CHECK, impeller::Canvas::GetMaxOpDepth(), and impeller::Canvas::GetOpDepth().
|
inlineoverridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 286 of file dl_dispatcher.h.
References FML_UNREACHABLE.
| void impeller::CanvasDlDispatcher::SetBackdropData | ( | std::unordered_map< int64_t, BackdropData > | backdrop, |
| size_t | backdrop_count | ||
| ) |
Definition at line 958 of file dl_dispatcher.cc.
References impeller::Canvas::SetBackdropData().
Referenced by impeller::DisplayListToTexture(), and impeller::RenderToTarget().