[Intel-gfx] [PATCH] Fall back to fb pixmaps for backing glyph pictures

Keith Packard keithp at keithp.com
Tue Jun 9 23:20:45 CEST 2009


On Tue, 2009-06-09 at 13:48 -0700, Eric Anholt wrote:

> You seemed to be concerned that there would be a performance problem for
> >32x32 due to hitting the upload path.  The firefox trace should hit the
> upload path AFAIK.  So let's get a trace showing a problem before trying
> to fix a problem.

I'm just thinking that the existing 32x32 limit is already an issue for
users needing larger glyphs, and that if we are going to change this
code, we should think about creating a less size-specific cache,
potentially one which allows multiple glyph sizes to share the same
atlas for fonts which are close to the boundary.

I proposed using a unified atlas on IRC, where larger glyphs occupy
multiple smaller slots; that could be extended to arbitrary sized glyphs
as needed. That would make the existing cache memory more useful, avoid
troubles when flipping between atlases and scale to larger (although
fewer) glyphs.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090609/0c81b7b3/attachment.sig>


More information about the Intel-gfx mailing list