[Mesa-users] OSMesa and Gallium/LLVM

mesa.10.helix222 at spamgourmet.com mesa.10.helix222 at spamgourmet.com
Wed Sep 26 23:23:17 PDT 2012


Hallo,

and Thanks for the quick response!

On 26.09.2012 16:22, Brian Paul - brianp at vmware.com wrote:
> On 09/26/2012 05:18 AM, mesa.10.helix222 at spamgourmet.com wrote:
>> Hallo!
>>
>> I'd just like to ask if it is possible to use llvmpipe with OSMesa as
>> target.
>
> No, we'd basically need to write an OSMesa "state tracker" for
> gallium. It's on my long-term to-do list, but pretty low priority.

How much effort do you think this would take? Doesn't it mean just to
replace the access operations to the X11 pixel store?

>> Any other offscreen rendering solution would be fine too, as
>> long as it doesn't need an X Server (That's why PBuffers are not an
>> option).
>
> In terms of core OpenGL, you could use framebuffer objects to do
> off-screen rendering. But you'll still need some method of creating
> a rendering context, etc. Since you don't have an X server, GLX is
> out. EGL is the next logical choice but I don't think anyone's
> implemented a "dumb" EGL which doesn't use the window system at all.

I see...

> I'm afraid I don't know of any simple solution to your problem at

This is sad news because there are two reasons for me to prefer the
LLVM solution:

- I'ts supposed to be much faster.
- There seems to be a bug with the LOD selection of mipmaps when using
   shaders (I haven't found any entries in bugzilla, may be I should
   file one myself?).

Thanks and Regards!
Sebastian



More information about the mesa-users mailing list