[Mesa-users] Rendering speed of OSMesa ?
Brian Paul
brianp at vmware.com
Mon Jul 8 15:19:00 PDT 2013
In your app, try printf("renderer = %s\n", (char *)
glGetString(GL_RENDERER));
I suspect you're using swrast. I think you'd have to grab the latest
Mesa from git to get the llvmpipe version of OSMesa.
-Brian
On 07/08/2013 03:40 PM, Wonwoo Lee wrote:
> Hello Brian.
>
> I installed OSMesa on my ubuntu machine by using 'apt-get
> install libosmesa6-dev'
> glxinfo gives me : OpenGL version string: 2.1 Mesa 9.0.3
> Regarding drivers, I have no idea because I'm not familiar with Mesa /
> OSMesa libraries...
> How do I check the driver I'm using ?
>
> Best,
> Wonwoo Lee
>
>
>>
>> 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
>
>
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>
More information about the mesa-users
mailing list