16 {
21 : empty_paint_region_map,
22 has_raster_cache, impeller_enabled);
24 {
25 DiffContext::AutoSubtreeRestore subtree(&context);
26 const Layer* prev_root_layer = nullptr;
27 if (!prev_layer_tree_ ||
29
30
32 } else {
33 prev_root_layer = prev_layer_tree_->
root_layer();
34 }
36 }
37
38 damage_ =
39 context.ComputeDamage(additional_damage_, horizontal_clip_alignment_,
40 vertical_clip_alignment_);
42 }
43 return std::nullopt;
44}
virtual void Diff(DiffContext *context, const Layer *old_layer)
Layer * root_layer() const
const PaintRegionMap & paint_region_map() const
const DlISize & frame_size() const
std::map< uint64_t, PaintRegion > PaintRegionMap
static constexpr std::enable_if_t< std::is_floating_point_v< FT >, TRect > Make(const TRect< U > &rect)
static constexpr TRect MakeSize(const TSize< U > &size)