Flutter Impeller
linear_to_srgb_filter_contents.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 #pragma once
6 
9 
10 namespace impeller {
11 
13  public:
15 
16  ~LinearToSrgbFilterContents() override;
17 
18  private:
19  // |FilterContents|
20  std::optional<Entity> RenderFilter(
21  const FilterInput::Vector& input_textures,
22  const ContentContext& renderer,
23  const Entity& entity,
24  const Matrix& effect_transform,
25  const Rect& coverage,
26  const std::optional<Rect>& coverage_hint) const override;
27 
28  FML_DISALLOW_COPY_AND_ASSIGN(LinearToSrgbFilterContents);
29 };
30 
31 } // namespace impeller
impeller::LinearToSrgbFilterContents
Definition: linear_to_srgb_filter_contents.h:12
impeller::ColorFilterContents
Definition: color_filter_contents.h:11
impeller::LinearToSrgbFilterContents::LinearToSrgbFilterContents
LinearToSrgbFilterContents()
impeller::Entity
Definition: entity.h:21
filter_input.h
color_filter_contents.h
impeller::FilterInput::Vector
std::vector< FilterInput::Ref > Vector
Definition: filter_input.h:32
impeller
Definition: aiks_context.cc:10
impeller::ContentContext
Definition: content_context.h:344
impeller::TRect< Scalar >
impeller::Matrix
A 4x4 matrix using column-major storage.
Definition: matrix.h:36
impeller::LinearToSrgbFilterContents::~LinearToSrgbFilterContents
~LinearToSrgbFilterContents() override