The code used to use the same mirror-flipped bits (0xFFFF) to compute its 4-bit
bilerp percentage. This is wrong, and shows horrible artifacts.
This change introduces a separate proc just to return the low 4-bits, where
repeat and mirror behave identically, fixing the artifacts.
gm test to follow...
Issue 5795043: don't flip the fractional bits (low 4) for bilerp when in kMirror_TileMode
(Closed)
Created 14 years ago by reed1
Modified 14 years ago
Reviewers: caryclark1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0