diff options
| author | 2023-03-21 12:29:21 -0400 | |
|---|---|---|
| committer | 2023-04-05 15:33:34 +0000 | |
| commit | ee18427e4548d4c7f579cef895de26162e9281b1 (patch) | |
| tree | deaa4c198ecbc9c680a78ec6943775a7b6383dc0 /libs/androidfw/ApkParsing.cpp | |
| parent | 2b1526b1a897be70f7d53c52fb99f013a51cb22d (diff) | |
RESTRICT AUTOMERGE Add 1/16th pixel offset when drawing non-AA points/lines
This nudge ensures that pixel-aligned non-AA'd draws fill the desired
fragment.
Coupled with http://review.skia.org/665816, we're moving this logic from
Skia to Android so that the prerotation matrix can be properly accounted
for. Offseting only in Skia without accounting for prerotation meant
the device-space Y offset could be applied in the wrong direction when
using Vulkan.
Equivalent change in T: Idfb5027fe3230f2c2b0cad224f2c7640e147ce4a
Bug: 254771190
Test: android.uirendering.cts.testclasses.ExactCanvasTests#testDrawLine
Change-Id: I975b62510a36312a395d1e254474bca726a9445d
(cherry picked from commit 7f785ebd57cf129bb39e89237fba541912ce3649)
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions