[ui] Fix ImageFilter.shader equality to consider uniform values. (#163348)
Fixes https://github.com/flutter/flutter/issues/163302 Framework widgets check for ImageFIlter.== to determine whether to mark themselves dirty. The filter obejct needs to delegate its equality to the underlying native filter so that uniform values are considered.
Showing
- engine/src/flutter/lib/ui/dart_ui.cc 1 addition, 0 deletionsengine/src/flutter/lib/ui/dart_ui.cc
- engine/src/flutter/lib/ui/painting.dart 6 additions, 1 deletionengine/src/flutter/lib/ui/painting.dart
- engine/src/flutter/lib/ui/painting/image_filter.cc 4 additions, 0 deletionsengine/src/flutter/lib/ui/painting/image_filter.cc
- engine/src/flutter/lib/ui/painting/image_filter.h 1 addition, 0 deletionsengine/src/flutter/lib/ui/painting/image_filter.h
- engine/src/flutter/testing/dart/fragment_shader_test.dart 28 additions, 0 deletionsengine/src/flutter/testing/dart/fragment_shader_test.dart
Please register or sign in to comment