Commit 1e2583e
Jonah Williams
[ui] Fix ImageFilter.shader equality to consider uniform values. (#163348)
Fixes flutter/flutter#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.1 parent 35eaaaa commit 1e2583e
5 files changed
Lines changed: 40 additions & 1 deletion
File tree
- engine/src/flutter
- lib/ui
- painting
- testing/dart
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4474 | 4474 | | |
4475 | 4475 | | |
4476 | 4476 | | |
4477 | | - | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
4478 | 4480 | | |
4479 | 4481 | | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
4480 | 4485 | | |
4481 | 4486 | | |
4482 | 4487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
128 | 132 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
418 | 446 | | |
419 | 447 | | |
420 | 448 | | |
| |||
0 commit comments