Flutter Impeller
image_filter.h
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 
5 #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_IMAGE_FILTER_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_IMAGE_FILTER_H_
7 
8 #include "display_list/effects/dl_image_filter.h"
10 
11 namespace impeller {
12 
13 /// @brief Generate a new FilterContents using this filter's configuration.
14 ///
15 std::shared_ptr<FilterContents> WrapInput(const flutter::DlImageFilter* filter,
16  const FilterInput::Ref& input);
17 
18 } // namespace impeller
19 
20 #endif // FLUTTER_IMPELLER_DISPLAY_LIST_IMAGE_FILTER_H_
std::shared_ptr< FilterInput > Ref
Definition: filter_input.h:32
std::shared_ptr< FilterContents > WrapInput(const flutter::DlImageFilter *filter, const FilterInput::Ref &input)
Generate a new FilterContents using this filter's configuration.
Definition: image_filter.cc:18