// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FLOW_VIEW_SLICER_H_ #define FLUTTER_FLOW_VIEW_SLICER_H_ #include #include "display_list/dl_canvas.h" #include "flow/embedded_views.h" namespace flutter { /// @brief Compute the required overlay layers and clip the view slices /// according to the size and position of the platform views. std::unordered_map SliceViews( DlCanvas* background_canvas, const std::vector& composition_order, const std::unordered_map>& slices, const std::unordered_map& view_rects); } // namespace flutter #endif // FLUTTER_FLOW_VIEW_SLICER_H_