Re: OSMesa and Gallium/LLVM
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On 28.09.2012 15:57, Brian Paul - [email protected] wrote: > On 09/28/2012 12:29 AM, [email protected] wrote: >> Hi! >> >> On 27.09.2012 15:38, Brian Paul - [email protected] wrote: >>>> On 26.09.2012 16:22, Brian Paul - [email protected] wrote: >>>>> On 09/26/2012 05:18 AM, [email protected] 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. This sounds good! Thanks for your hints! Sebastian