 |
Flutter Impeller
|
|
Go to the documentation of this file.
45 std::shared_ptr<FilterInput> input,
52 virtual std::shared_ptr<ColorFilter>
Clone()
const = 0;
67 std::shared_ptr<FilterInput> input,
74 std::shared_ptr<ColorFilter>
Clone()
const override;
93 std::shared_ptr<FilterInput> input,
100 std::shared_ptr<ColorFilter>
Clone()
const override;
118 std::shared_ptr<FilterInput> input,
125 std::shared_ptr<ColorFilter>
Clone()
const override;
140 std::shared_ptr<FilterInput> input,
147 std::shared_ptr<ColorFilter>
Clone()
const override;
~MatrixColorFilter() override
ColorFilterProc GetCPUColorFilterProc() const override
Returns a function that can be used to filter unpremultiplied Impeller Colors on the CPU.
std::shared_ptr< ColorFilterContents > WrapWithGPUColorFilter(std::shared_ptr< FilterInput > input, ColorFilterContents::AbsorbOpacity absorb_opacity) const override
Wraps the given filter input with a GPU-based filter that will perform the color operation....
BlendColorFilter(BlendMode blend_mode, Color color)
std::function< Color(Color)> ColorFilterProc
virtual ColorFilterProc GetCPUColorFilterProc() const =0
Returns a function that can be used to filter unpremultiplied Impeller Colors on the CPU.
MatrixColorFilter(ColorMatrix color_matrix)
virtual std::shared_ptr< ColorFilter > Clone() const =0
std::shared_ptr< ColorFilterContents > WrapWithGPUColorFilter(std::shared_ptr< FilterInput > input, ColorFilterContents::AbsorbOpacity absorb_opacity) const override
Wraps the given filter input with a GPU-based filter that will perform the color operation....
std::shared_ptr< ColorFilter > Clone() const override
std::shared_ptr< ColorFilter > Clone() const override
LinearToSrgbColorFilter()
static std::shared_ptr< ColorFilter > MakeBlend(BlendMode blend_mode, Color color)
std::shared_ptr< ColorFilter > Clone() const override
~BlendColorFilter() override
std::shared_ptr< ColorFilterContents > WrapWithGPUColorFilter(std::shared_ptr< FilterInput > input, ColorFilterContents::AbsorbOpacity absorb_opacity) const override
Wraps the given filter input with a GPU-based filter that will perform the color operation....
~SrgbToLinearColorFilter() override
std::shared_ptr< ColorFilterContents > WrapWithGPUColorFilter(std::shared_ptr< FilterInput > input, ColorFilterContents::AbsorbOpacity absorb_opacity) const override
Wraps the given filter input with a GPU-based filter that will perform the color operation....
SrgbToLinearColorFilter()
std::shared_ptr< ColorFilter > Clone() const override
static std::shared_ptr< ColorFilter > MakeMatrix(ColorMatrix color_matrix)
ColorFilterProc GetCPUColorFilterProc() const override
Returns a function that can be used to filter unpremultiplied Impeller Colors on the CPU.
static std::shared_ptr< ColorFilter > MakeLinearToSrgb()
~LinearToSrgbColorFilter() override
virtual std::shared_ptr< ColorFilterContents > WrapWithGPUColorFilter(std::shared_ptr< FilterInput > input, ColorFilterContents::AbsorbOpacity absorb_opacity) const =0
Wraps the given filter input with a GPU-based filter that will perform the color operation....
static std::shared_ptr< ColorFilter > MakeSrgbToLinear()
ColorFilterProc GetCPUColorFilterProc() const override
Returns a function that can be used to filter unpremultiplied Impeller Colors on the CPU.
ColorFilterProc GetCPUColorFilterProc() const override
Returns a function that can be used to filter unpremultiplied Impeller Colors on the CPU.