Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/ui/compositing/scene_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ void SceneBuilder::pushShaderMask(Dart_Handle layer_handle,
double mask_rect_left,
double mask_rect_right,
double mask_rect_top,
double mask_Rect_bottom,
double mask_rect_bottom,
int blend_mode,
int filter_quality_index,
const fml::RefPtr<EngineLayer>& old_layer) {
SkRect rect =
SkRect::MakeLTRB(SafeNarrow(mask_rect_right), SafeNarrow(mask_rect_right),
SafeNarrow(mask_rect_top), SafeNarrow(mask_Rect_bottom));
SkRect rect = SkRect::MakeLTRB(
SafeNarrow(mask_rect_left), SafeNarrow(mask_rect_top),
SafeNarrow(mask_rect_right), SafeNarrow(mask_rect_bottom));
auto sampling = ImageFilter::SamplingFromIndex(filter_quality_index);
auto layer = std::make_shared<flutter::ShaderMaskLayer>(
shader->shader(sampling), rect, static_cast<DlBlendMode>(blend_mode));
Expand Down