[Mesa-users] OSMesa and Gallium/LLVM

Brian Paul brianp at vmware.com
Fri Sep 28 06:57:07 PDT 2012


On 09/28/2012 12:29 AM, mesa.10.helix222 at spamgourmet.com wrote:
> Hi!
>
> On 27.09.2012 15:38, Brian Paul - brianp at vmware.com wrote:
>>> 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?
>>
>> No, it roughly means taking the src/mesa/drivers/osmesa/osmesa.c
>> code, moving it to src/gallium/state_trackers/osmesa/ and rewriting
>> it to work with Gallium.
>
> Can you estimate how much time it would take for an experienced C/C++
> programmer without previous knowledge of the mesa internals to do
> this?

Probably a day or so.

-Brian



More information about the mesa-users mailing list