This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 778edc8
Don't let neighboring radii in GrAAFillRRectOp get too close
Since each corner uses a different reference point, it's possible that
FP rounding can cause the edges of very close radii on a common edge
to accidentally overlap. This can cause a pixel to be drawn/blended
more than once. This CL addresses the issue by not allowing
neighboring radii on a common edge to get closer than 1/16 pixel from
one another.
Bug: skia:8562
Change-Id: Ifda97c9a4c3973405f86f7fc6846a4073b3ab581
Reviewed-on: https://skia-review.googlesource.com/c/173036
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>1 parent 54bf684 commit 778edc8
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
| |||
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
350 | | - | |
| 352 | + | |
351 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
352 | 359 | | |
353 | | - | |
354 | | - | |
355 | 360 | | |
356 | 361 | | |
357 | 362 | | |
| |||
0 commit comments