Flutter Engine
The Flutter Engine
|
#include <dl_matrix_clip_tracker.h>
Public Member Functions | |
DisplayListMatrixClipState (const DlRect &cull_rect, const DlMatrix &matrix=DlMatrix()) | |
DisplayListMatrixClipState (const SkRect &cull_rect) | |
DisplayListMatrixClipState (const SkRect &cull_rect, const SkMatrix &matrix) | |
DisplayListMatrixClipState (const SkRect &cull_rect, const SkM44 &matrix) | |
DisplayListMatrixClipState (const DisplayListMatrixClipState &other)=default | |
void | resetDeviceCullRect (const DlRect &cull_rect) |
void | resetDeviceCullRect (const SkRect &cull_rect) |
void | resetLocalCullRect (const DlRect &cull_rect) |
void | resetLocalCullRect (const SkRect &cull_rect) |
bool | using_4x4_matrix () const |
bool | is_matrix_invertable () const |
bool | has_perspective () const |
const DlMatrix & | matrix () const |
SkM44 | matrix_4x4 () const |
SkMatrix | matrix_3x3 () const |
SkRect | local_cull_rect () const |
SkRect | device_cull_rect () const |
bool | rect_covers_cull (const DlRect &content) const |
bool | rect_covers_cull (const SkRect &content) const |
bool | oval_covers_cull (const DlRect &content_bounds) const |
bool | oval_covers_cull (const SkRect &content_bounds) const |
bool | rrect_covers_cull (const SkRRect &content) const |
bool | content_culled (const DlRect &content_bounds) const |
bool | content_culled (const SkRect &content_bounds) const |
bool | is_cull_rect_empty () const |
void | translate (SkScalar tx, SkScalar ty) |
void | scale (SkScalar sx, SkScalar sy) |
void | skew (SkScalar skx, SkScalar sky) |
void | rotate (SkScalar degrees) |
void | transform (const DlMatrix &matrix) |
void | transform (const SkM44 &m44) |
void | transform (const SkMatrix &matrix) |
void | transform2DAffine (SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt) |
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) |
void | setTransform (const DlMatrix &matrix) |
void | setTransform (const SkMatrix &matrix) |
void | setTransform (const SkM44 &m44) |
void | setIdentity () |
bool | inverseTransform (const DisplayListMatrixClipState &other_tracker) |
bool | mapRect (DlRect *rect) const |
bool | mapRect (const DlRect &src, DlRect *mapped) const |
bool | mapRect (SkRect *rect) const |
bool | mapRect (const SkRect &src, SkRect *mapped) const |
bool | mapAndClipRect (SkRect *rect) const |
Maps the rect by the current matrix and then clips it against the current cull rect, returning true if the result is non-empty. More... | |
bool | mapAndClipRect (const SkRect &src, SkRect *mapped) const |
void | clipRect (const DlRect &rect, ClipOp op, bool is_aa) |
void | clipRect (const SkRect &rect, ClipOp op, bool is_aa) |
void | clipRRect (const SkRRect &rrect, ClipOp op, bool is_aa) |
void | clipPath (const SkPath &path, ClipOp op, bool is_aa) |
Static Public Member Functions | |
static bool | is_3x3 (const SkM44 &m44) |
Definition at line 23 of file dl_matrix_clip_tracker.h.
|
explicit |
Definition at line 33 of file dl_matrix_clip_tracker.cc.
|
explicit |
Definition at line 37 of file dl_matrix_clip_tracker.cc.
flutter::DisplayListMatrixClipState::DisplayListMatrixClipState | ( | const SkRect & | cull_rect, |
const SkMatrix & | matrix | ||
) |
Definition at line 40 of file dl_matrix_clip_tracker.cc.
flutter::DisplayListMatrixClipState::DisplayListMatrixClipState | ( | const SkRect & | cull_rect, |
const SkM44 & | matrix | ||
) |
Definition at line 44 of file dl_matrix_clip_tracker.cc.
|
default |
Definition at line 108 of file dl_matrix_clip_tracker.cc.
Definition at line 69 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 149 of file dl_matrix_clip_tracker.h.
void flutter::DisplayListMatrixClipState::clipRRect | ( | const SkRRect & | rrect, |
ClipOp | op, | ||
bool | is_aa | ||
) |
Definition at line 77 of file dl_matrix_clip_tracker.cc.
bool flutter::DisplayListMatrixClipState::content_culled | ( | const DlRect & | content_bounds | ) | const |
Definition at line 137 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 77 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 64 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 57 of file dl_matrix_clip_tracker.h.
bool flutter::DisplayListMatrixClipState::inverseTransform | ( | const DisplayListMatrixClipState & | other_tracker | ) |
Definition at line 48 of file dl_matrix_clip_tracker.cc.
|
static |
Definition at line 12 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 80 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 56 of file dl_matrix_clip_tracker.h.
SkRect flutter::DisplayListMatrixClipState::local_cull_rect | ( | ) | const |
Definition at line 216 of file dl_matrix_clip_tracker.cc.
bool flutter::DisplayListMatrixClipState::mapAndClipRect | ( | const SkRect & | src, |
SkRect * | mapped | ||
) | const |
Definition at line 57 of file dl_matrix_clip_tracker.cc.
|
inline |
Maps the rect by the current matrix and then clips it against the current cull rect, returning true if the result is non-empty.
Definition at line 143 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 131 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 136 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 130 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 135 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 59 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 61 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 60 of file dl_matrix_clip_tracker.h.
bool flutter::DisplayListMatrixClipState::oval_covers_cull | ( | const DlRect & | content_bounds | ) | const |
Definition at line 260 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 71 of file dl_matrix_clip_tracker.h.
bool flutter::DisplayListMatrixClipState::rect_covers_cull | ( | const DlRect & | content | ) | const |
Definition at line 235 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 67 of file dl_matrix_clip_tracker.h.
void flutter::DisplayListMatrixClipState::resetDeviceCullRect | ( | const DlRect & | cull_rect | ) |
Definition at line 153 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 47 of file dl_matrix_clip_tracker.h.
void flutter::DisplayListMatrixClipState::resetLocalCullRect | ( | const DlRect & | cull_rect | ) |
Definition at line 161 of file dl_matrix_clip_tracker.cc.
|
inline |
Definition at line 51 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 91 of file dl_matrix_clip_tracker.h.
bool flutter::DisplayListMatrixClipState::rrect_covers_cull | ( | const SkRRect & | content | ) | const |
Definition at line 284 of file dl_matrix_clip_tracker.cc.
Definition at line 85 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 124 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 121 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 123 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 122 of file dl_matrix_clip_tracker.h.
Definition at line 88 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 94 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 95 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 96 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 98 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 108 of file dl_matrix_clip_tracker.h.
Definition at line 82 of file dl_matrix_clip_tracker.h.
|
inline |
Definition at line 55 of file dl_matrix_clip_tracker.h.