Benchmarking XRenderComposite() at runtime?

Matthias Hopf mhopf at suse.de
Tue Apr 11 10:43:26 PDT 2006


On Mar 31, 06 07:50:54 +0200, Olivier Fourdan wrote:
> I'd like to test the speed of XRenderComposite() at runtime (to enable 
> or disable the compositor automatically) so I wrote a function that 
> measures the time it takes to perform a few XRenderComposite() calls.
> 
> Unfortunately, the results computed don't vary much between the 
> accelerated NVidia driver and the Open Source "nv" driver although the 
> compositor is hardly usable with transparency with the "nv" driver, so I 
> must be missing something here.

I doubt that rendering to pixmaps is accelerated by the graphics chip in
either case.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list