5#include "flutter/flow/layers/transform_layer.h"
23 FML_LOG(
ERROR) <<
"TransformLayer is constructed with an invalid matrix.";
33 if (transform_ !=
prev->transform_) {
static float prev(float f)
bool mapRect(SkRect *dst, const SkRect &src, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const
void PrerollChildren(PrerollContext *context, SkRect *child_paint_bounds)
void PaintChildren(PaintContext &context) const override
virtual void DiffChildren(DiffContext *context, const ContainerLayer *old_layer)
const SkRect & child_paint_bounds() const
void PushTransform(const SkMatrix &transform)
void SetLayerPaintRegion(const Layer *layer, const PaintRegion ®ion)
void MarkSubtreeDirty(const PaintRegion &previous_paint_region=PaintRegion())
PaintRegion CurrentSubtreeRegion() const
PaintRegion GetOldLayerPaintRegion(const Layer *layer) const
bool IsSubtreeDirty() const
void transform(const SkM44 &m44)
bool needs_painting(PaintContext &context) const
void set_paint_bounds(const SkRect &paint_bounds)
#define FML_LOG(severity)
#define FML_DCHECK(condition)
static SkColor4f transform(SkColor4f c, SkColorSpace *src, SkColorSpace *dst)
static constexpr SkRect MakeEmpty()
LayerStateStack & state_stack
LayerStateStack & state_stack