]> granicus.if.org Git - libass/commit
Turn down subpixel accuracy to 1/8th pixel
authorGrigori Goronzy <greg@blackbox>
Tue, 7 Jul 2009 22:07:52 +0000 (00:07 +0200)
committerGrigori Goronzy <greg@blackbox>
Tue, 7 Jul 2009 22:07:52 +0000 (00:07 +0200)
commit6302f307524b430992bd7d71036f7b46c702f678
tree614351d90c7ab2e854144cf8a3fcdf04d17cdcbf
parentf54a0cf94853d8372225bb0b45d6bd2b8e4e6fde
Turn down subpixel accuracy to 1/8th pixel

Using the full accuracy range of 1/64th pixel seems unnecessary--1/8th
pixel is "good enough".  Mask out the three lowest bits to lower cache
and CPU usage; a short test shows that this almost halves the amount
of glyphs with different subpixel shifts being generated and cached.
libass/ass_render.c