[Mesa-users] Rendering speed of OSMesa ?

Brian Paul brianp at vmware.com
Mon Jul 8 08:14:56 PDT 2013


On 07/08/2013 12:26 AM, Wonwoo Lee wrote:
> Hello.
>
> I tried OSMesa to render a simple scene where a textured rectangle and a
> cylinder exist.
> The size of render buffer was 640x480.
>
> I measured execution time of rendering several times. The speed of
> rendering seems to depend on the number of pixels occupied by an object
> in a rendered scene. Smaller object resulted in faster speed.

That's usually how it works w/ software rendering.


> My test results showed the rendering took about 20ms in average to
> render a scene. It was much slower than I expected although it contains
> a simple object.
>
> Is this a typical speed of OSMesa rendering ?

Are you using the swrast driver?  Which version of Mesa?  I added 
support for using llvmpipe with OSMesa a few months ago.  That would 
give you the best performance.

-Brian




More information about the mesa-users mailing list