5#ifndef FLUTTER_FLOW_VIEW_SLICER_H_
6#define FLUTTER_FLOW_VIEW_SLICER_H_
8#include <unordered_map>
9#include <unordered_set>
20 DlCanvas* background_canvas,
21 const std::vector<int64_t>& composition_order,
22 const std::unordered_map<int64_t, std::unique_ptr<EmbedderViewSlice>>&
24 const std::unordered_map<int64_t, DlRect>& view_rects,
25 const std::unordered_set<int64_t>& views_with_underlay_preserved);
std::unordered_map< int64_t, DlRect > SliceViews(DlCanvas *background_canvas, const std::vector< int64_t > &composition_order, const std::unordered_map< int64_t, std::unique_ptr< EmbedderViewSlice > > &slices, const std::unordered_map< int64_t, DlRect > &view_rects, const std::unordered_set< int64_t > &views_with_underlay_preserved)
Compute the required overlay layers and clip the view slices according to the size and position of th...