Commit cf8675e
Romain Guy
Draw stroked rectangle as meshes instead of textures
Bug #7233734
Stroked rectangles were rendered using software generated textures
which would lead to slightly misaligned results. Instead, let's use
the new convex path rendering code that will do the right thing
(and save a lot of bandwidth.)
Change-Id: Ib95ff581e56c1ecead97e4919298e6fd146ca1671 parent 0944d62 commit cf8675e
File tree
2 files changed
+30
-5
lines changed- graphics/java/android/graphics/drawable
- libs/hwui
2 files changed
+30
-5
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
517 | 520 | | |
518 | 521 | | |
519 | 522 | | |
| |||
1251 | 1254 | | |
1252 | 1255 | | |
1253 | 1256 | | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1254 | 1262 | | |
1255 | 1263 | | |
1256 | 1264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2440 | 2440 | | |
2441 | 2441 | | |
2442 | 2442 | | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
2443 | 2446 | | |
2444 | 2447 | | |
2445 | 2448 | | |
2446 | 2449 | | |
2447 | 2450 | | |
2448 | | - | |
2449 | 2451 | | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
2453 | 2470 | | |
2454 | 2471 | | |
2455 | 2472 | | |
| |||
0 commit comments