DescriptionTreat (private, internal) grid bounds as doubly-inclusive in SkTileGrid.
The net effect is that two "+1" instructions are removed from insert().
search() nets no change: two +1 removed, two +1 added.
When vectorized, this removes the need to add in userToGrid() at all and
so the need to read an awkward {0, 0, 1, 1} constant from memory. Mostly
the benefit is less vector code to look at and think about.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/826a50333612e81d1de87a58e32e4f9a3baddefd
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|