This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
impeller/entity/contents/filters Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,6 @@ class FilterContents : public Contents {
192192 // / is used in this case.
193193 virtual void SetRenderingMode (Entity::RenderingMode rendering_mode);
194194
195- // virtual const Matrix& GetCoverageHintTransform() const { return Matrix();
196- // };
197-
198195 private:
199196 // / @brief Internal utility method for |GetLocalCoverage| that computes
200197 // / the output coverage of this filter across the specified inputs,
Original file line number Diff line number Diff line change @@ -112,18 +112,6 @@ std::optional<Rect> MatrixFilterContents::GetFilterCoverage(
112112 return std::nullopt ;
113113 }
114114
115- // Matrix transform;
116- // if (rendering_mode_ == Entity::RenderingMode::kSubpass) {
117- // transform = inputs[0]->GetTransform(entity) * //
118- // effect_transform * //
119- // matrix_ * //
120- // effect_transform.Invert();
121- // } else {
122- // transform = entity.GetTransform() * //
123- // matrix_ * //
124- // entity.GetTransform().Invert() * //
125- // inputs[0]->GetTransform(entity);
126- // }
127115 auto & m = rendering_mode_ == Entity::RenderingMode::kSubpass
128116 ? effect_transform
129117 : inputs[0 ]->GetTransform (entity);
You can’t perform that action at this time.
0 commit comments