5#include "flutter/flow/layers/backdrop_filter_layer.h"
10 std::shared_ptr<const DlImageFilter> filter,
12 : filter_(
std::move(filter)), blend_mode_(blend_mode) {}
32 filter_->get_input_device_bounds(
static float prev(float f)
void Preroll(PrerollContext *context) override
void Paint(PaintContext &context) const override
void Diff(DiffContext *context, const Layer *old_layer) override
BackdropFilterLayer(std::shared_ptr< const DlImageFilter > filter, DlBlendMode blend_mode)
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
SkMatrix GetTransform3x3() const
void AddLayerBounds(const SkRect &rect)
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
SkRect MapRect(const SkRect &rect)
bool IsSubtreeDirty() const
void AddReadbackRegion(const SkIRect &paint_rect, const SkIRect &readback_rect)
SkRect GetCullRect() const
virtual void PushFilterToVisitedPlatformViews(const std::shared_ptr< const DlImageFilter > &filter, const SkRect &filter_rect)
void applyBackdropFilter(const SkRect &bounds, const std::shared_ptr< const DlImageFilter > &filter, DlBlendMode blend_mode)
SkRect device_cull_rect() const
SkRect local_cull_rect() const
static AutoPrerollSaveLayerState Create(PrerollContext *preroll_context, bool save_layer_is_active=true, bool layer_itself_performs_readback=false)
const SkRect & paint_bounds() const
static constexpr int kSaveLayerRenderFlags
bool needs_painting(PaintContext &context) const
void set_paint_bounds(const SkRect &paint_bounds)
#define FML_DCHECK(condition)
bool NotEquals(const T *a, const T *b)
static constexpr SkRect MakeEmpty()
void roundOut(SkIRect *dst) const
void join(const SkRect &r)
LayerStateStack & state_stack
LayerStateStack & state_stack
int renderable_state_flags
ExternalViewEmbedder * view_embedder