Flutter Engine
The Flutter Engine
|
#include <display_list_testing.h>
Public Member Functions | |
DisplayListStreamDispatcher (std::ostream &os, int cur_indent=2, int indent=2) | |
void | setAntiAlias (bool aa) override |
void | setDrawStyle (DlDrawStyle style) override |
void | setColor (DlColor color) override |
void | setStrokeWidth (SkScalar width) override |
void | setStrokeMiter (SkScalar limit) override |
void | setStrokeCap (DlStrokeCap cap) override |
void | setStrokeJoin (DlStrokeJoin join) override |
void | setColorSource (const DlColorSource *source) override |
void | setColorFilter (const DlColorFilter *filter) override |
void | setInvertColors (bool invert) override |
void | setBlendMode (DlBlendMode mode) override |
void | setMaskFilter (const DlMaskFilter *filter) override |
void | setImageFilter (const DlImageFilter *filter) override |
void | save () override |
void | saveLayer (const SkRect &bounds, const SaveLayerOptions options, const DlImageFilter *backdrop) override |
void | restore () override |
void | translate (SkScalar tx, SkScalar ty) override |
void | scale (SkScalar sx, SkScalar sy) override |
void | rotate (SkScalar degrees) override |
void | skew (SkScalar sx, SkScalar sy) override |
void | transform2DAffine (SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt) override |
void | transformFullPerspective (SkScalar mxx, SkScalar mxy, SkScalar mxz, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myz, SkScalar myt, SkScalar mzx, SkScalar mzy, SkScalar mzz, SkScalar mzt, SkScalar mwx, SkScalar mwy, SkScalar mwz, SkScalar mwt) override |
void | transformReset () override |
void | clipRect (const SkRect &rect, ClipOp clip_op, bool is_aa) override |
void | clipRRect (const SkRRect &rrect, ClipOp clip_op, bool is_aa) override |
void | clipPath (const SkPath &path, ClipOp clip_op, bool is_aa) override |
void | drawColor (DlColor color, DlBlendMode mode) override |
void | drawPaint () override |
void | drawLine (const SkPoint &p0, const SkPoint &p1) override |
void | drawDashedLine (const DlPoint &p0, const DlPoint &p1, DlScalar on_length, DlScalar off_length) override |
void | drawRect (const SkRect &rect) override |
void | drawOval (const SkRect &bounds) override |
void | drawCircle (const SkPoint ¢er, SkScalar radius) override |
void | drawRRect (const SkRRect &rrect) override |
void | drawDRRect (const SkRRect &outer, const SkRRect &inner) override |
void | drawPath (const SkPath &path) override |
void | drawArc (const SkRect &oval_bounds, SkScalar start_degrees, SkScalar sweep_degrees, bool use_center) override |
void | drawPoints (PointMode mode, uint32_t count, const SkPoint points[]) override |
void | drawVertices (const DlVertices *vertices, DlBlendMode mode) override |
void | drawImage (const sk_sp< DlImage > image, const SkPoint point, DlImageSampling sampling, bool render_with_attributes) override |
void | drawImageRect (const sk_sp< DlImage > image, const SkRect &src, const SkRect &dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint) override |
void | drawImageNine (const sk_sp< DlImage > image, const SkIRect ¢er, const SkRect &dst, DlFilterMode filter, bool render_with_attributes) override |
void | drawAtlas (const sk_sp< DlImage > atlas, const SkRSXform xform[], const SkRect tex[], const DlColor colors[], int count, DlBlendMode mode, DlImageSampling sampling, const SkRect *cull_rect, bool render_with_attributes) override |
void | drawDisplayList (const sk_sp< DisplayList > display_list, SkScalar opacity) override |
void | drawTextBlob (const sk_sp< SkTextBlob > blob, SkScalar x, SkScalar y) override |
void | drawTextFrame (const std::shared_ptr< impeller::TextFrame > &text_frame, SkScalar x, SkScalar y) override |
void | drawShadow (const SkPath &path, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) override |
Public Member Functions inherited from flutter::DlOpReceiver | |
virtual bool | PrefersImpellerPaths () const |
virtual void | clipPath (const CacheablePath &cache, ClipOp clip_op, bool is_aa) |
virtual void | drawPath (const CacheablePath &cache) |
virtual void | drawShadow (const CacheablePath &cache, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) |
virtual void | setAntiAlias (bool aa)=0 |
virtual void | setDrawStyle (DlDrawStyle style)=0 |
virtual void | setColor (DlColor color)=0 |
virtual void | setStrokeWidth (float width)=0 |
virtual void | setStrokeMiter (float limit)=0 |
virtual void | setStrokeCap (DlStrokeCap cap)=0 |
virtual void | setStrokeJoin (DlStrokeJoin join)=0 |
virtual void | setColorSource (const DlColorSource *source)=0 |
virtual void | setColorFilter (const DlColorFilter *filter)=0 |
virtual void | setInvertColors (bool invert)=0 |
virtual void | setBlendMode (DlBlendMode mode)=0 |
virtual void | setMaskFilter (const DlMaskFilter *filter)=0 |
virtual void | setImageFilter (const DlImageFilter *filter)=0 |
virtual void | save ()=0 |
virtual void | save (uint32_t total_content_depth) |
virtual void | saveLayer (const SkRect &bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr)=0 |
virtual void | saveLayer (const SkRect &bounds, const SaveLayerOptions &options, uint32_t total_content_depth, DlBlendMode max_content_blend_mode, const DlImageFilter *backdrop=nullptr) |
virtual void | restore ()=0 |
virtual void | saveLayer (const SkRect *bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr) final |
virtual void | translate (SkScalar tx, SkScalar ty)=0 |
virtual void | scale (SkScalar sx, SkScalar sy)=0 |
virtual void | rotate (SkScalar degrees)=0 |
virtual void | skew (SkScalar sx, SkScalar sy)=0 |
virtual void | transform2DAffine (SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt)=0 |
virtual void | transformFullPerspective (SkScalar mxx, SkScalar mxy, SkScalar mxz, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myz, SkScalar myt, SkScalar mzx, SkScalar mzy, SkScalar mzz, SkScalar mzt, SkScalar mwx, SkScalar mwy, SkScalar mwz, SkScalar mwt)=0 |
virtual void | transformReset ()=0 |
virtual void | clipRect (const SkRect &rect, ClipOp clip_op, bool is_aa)=0 |
virtual void | clipRRect (const SkRRect &rrect, ClipOp clip_op, bool is_aa)=0 |
virtual void | clipPath (const SkPath &path, ClipOp clip_op, bool is_aa)=0 |
virtual void | drawColor (DlColor color, DlBlendMode mode)=0 |
virtual void | drawPaint ()=0 |
virtual void | drawLine (const SkPoint &p0, const SkPoint &p1)=0 |
virtual void | drawDashedLine (const DlPoint &p0, const DlPoint &p1, DlScalar on_length, DlScalar off_length)=0 |
virtual void | drawRect (const SkRect &rect)=0 |
virtual void | drawOval (const SkRect &bounds)=0 |
virtual void | drawCircle (const SkPoint ¢er, SkScalar radius)=0 |
virtual void | drawRRect (const SkRRect &rrect)=0 |
virtual void | drawDRRect (const SkRRect &outer, const SkRRect &inner)=0 |
virtual void | drawPath (const SkPath &path)=0 |
virtual void | drawArc (const SkRect &oval_bounds, SkScalar start_degrees, SkScalar sweep_degrees, bool use_center)=0 |
virtual void | drawPoints (PointMode mode, uint32_t count, const SkPoint points[])=0 |
virtual void | drawVertices (const DlVertices *vertices, DlBlendMode mode)=0 |
virtual void | drawImage (const sk_sp< DlImage > image, const SkPoint point, DlImageSampling sampling, bool render_with_attributes)=0 |
virtual void | drawImageRect (const sk_sp< DlImage > image, const SkRect &src, const SkRect &dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint=SrcRectConstraint::kFast)=0 |
virtual void | drawImageNine (const sk_sp< DlImage > image, const SkIRect ¢er, const SkRect &dst, DlFilterMode filter, bool render_with_attributes)=0 |
virtual void | drawAtlas (const sk_sp< DlImage > atlas, const SkRSXform xform[], const SkRect tex[], const DlColor colors[], int count, DlBlendMode mode, DlImageSampling sampling, const SkRect *cull_rect, bool render_with_attributes)=0 |
virtual void | drawDisplayList (const sk_sp< DisplayList > display_list, SkScalar opacity=SK_Scalar1)=0 |
virtual void | drawTextBlob (const sk_sp< SkTextBlob > blob, SkScalar x, SkScalar y)=0 |
virtual void | drawTextFrame (const std::shared_ptr< impeller::TextFrame > &text_frame, SkScalar x, SkScalar y)=0 |
virtual void | drawShadow (const SkPath &path, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr)=0 |
Additional Inherited Members | |
Static Public Attributes inherited from flutter::DlOpReceiver | |
static constexpr int | kMaxDrawPointsCount = ((1 << 29) - 1) |
Protected Types inherited from flutter::DlOpReceiver | |
using | ClipOp = DlCanvas::ClipOp |
using | PointMode = DlCanvas::PointMode |
using | SrcRectConstraint = DlCanvas::SrcRectConstraint |
Definition at line 78 of file display_list_testing.h.
|
inlineexplicit |
Definition at line 80 of file display_list_testing.h.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 754 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 737 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 745 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 808 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 873 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 793 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 763 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 776 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 890 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 800 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 837 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 861 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 847 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 772 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 790 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 769 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 805 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 819 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 787 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 797 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 915 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 898 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 906 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 826 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 675 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 687 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 653 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 658 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 684 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 389 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 544 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 395 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 536 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 410 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 392 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 646 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 541 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 547 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 404 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 407 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 401 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 398 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 690 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 693 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 709 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 733 of file display_list_testing.cc.
|
overridevirtual |
Implements flutter::DlOpReceiver.
Definition at line 681 of file display_list_testing.cc.