Flutter Engine
 
Loading...
Searching...
No Matches
placeholder_filter_input.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6
7#include <optional>
8
9namespace impeller {
10
12 : coverage_rect_(coverage_rect) {}
13
15
17 std::string_view label,
18 const ContentContext& renderer,
19 const Entity& entity,
20 std::optional<Rect> coverage_limit,
21 int32_t mip_count) const {
22 return std::nullopt;
23}
24
26 const Entity& entity) const {
27 return coverage_rect_;
28}
29
30} // namespace impeller
std::optional< Snapshot > GetSnapshot(std::string_view label, const ContentContext &renderer, const Entity &entity, std::optional< Rect > coverage_limit, int32_t mip_count=1) const override
std::optional< Rect > GetCoverage(const Entity &entity) const override