Re: More 24bit optimizations (was: a just another stupid newbie :)

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 19 o'clock on Dec 14, Jaymz Julian wrote:

> for avoiding calling fbCompositeGeneral millions of times for a 1x1 solid
> mask (once per pixel), since it seemed to bound it anyhow.  On second look, 
> perhaps it wasn't the most wise/safe way to achieve that, so maybe i need
> to look at that again.

Ah.  The optimized functions "know" about 1x1 pictures and so the upper 
function sets maskRepeat to False in that case.  Maybe fbCompositeGeneral 
could be fixed to do the same thing; that would mean we'd set maskRepeat 
and srcRepeat to FALSE for 1x1 pictures.

-keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.