This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 7b6227f
authored
[Impeller] new blur: refactored math and fixed expanded padding size (#49206)
This refactors the math so that it makes it easier to conditionally add
padding. That optimization was removed for now since it wasn't quite
working satisfactorily yet.
This also fixes the math used to expand the coverage hint. There is no
visual test for it since it would only ever result in wasteful expansion
that would show up in the benchmarks.
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat1 parent b24076e commit 7b6227f
File tree
4 files changed
+44
-65
lines changed- impeller
- aiks
- entity/contents/filters
4 files changed
+44
-65
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3976 | 3976 | | |
3977 | 3977 | | |
3978 | 3978 | | |
3979 | | - | |
3980 | 3979 | | |
3981 | 3980 | | |
Lines changed: 38 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
| |||
48 | 38 | | |
49 | 39 | | |
50 | 40 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 41 | | |
58 | 42 | | |
59 | 43 | | |
| |||
87 | 71 | | |
88 | 72 | | |
89 | 73 | | |
90 | | - | |
91 | 74 | | |
92 | 75 | | |
93 | 76 | | |
| |||
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
124 | 97 | | |
125 | 98 | | |
126 | 99 | | |
| |||
270 | 243 | | |
271 | 244 | | |
272 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
273 | 249 | | |
274 | 250 | | |
275 | 251 | | |
276 | 252 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
284 | 257 | | |
285 | 258 | | |
286 | 259 | | |
| |||
300 | 273 | | |
301 | 274 | | |
302 | 275 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
308 | 288 | | |
309 | 289 | | |
310 | | - | |
| 290 | + | |
311 | 291 | | |
312 | | - | |
313 | | - | |
| 292 | + | |
| 293 | + | |
314 | 294 | | |
315 | 295 | | |
316 | 296 | | |
317 | | - | |
| 297 | + | |
318 | 298 | | |
319 | 299 | | |
320 | 300 | | |
| |||
343 | 323 | | |
344 | 324 | | |
345 | 325 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
353 | 332 | | |
354 | 333 | | |
355 | 334 | | |
| |||
360 | 339 | | |
361 | 340 | | |
362 | 341 | | |
| 342 | + | |
363 | 343 | | |
364 | 344 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 345 | + | |
368 | 346 | | |
369 | 347 | | |
370 | 348 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
| 288 | + | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
0 commit comments