On Tue, Jul 9, 2013 at 10:20 PM, Andy Li <lilap...@hotmail.com> wrote: > Hello everyone, > > > I have some questions regarding to OSMesa. > > I am currently working on a project which I have to use Mesa on an embedded > system. > > My current goal is to port the base functions over to the embedded system, > so that I can draw a line on a provided VGA screen. > > Since the embedded system I am using does not contain a GPU, therefore I > have decided to use OSMesa for rendering process. > > I am wondering if there are any documentations/ specifications for OSMesa? > > Anyone know which are the base functions that OSMesa used for the rendering > process? > > I have looked into src/mesa/swrast/s_lines.c and s_drawpix.c and trying to > figure out how the code works, am I in the right direction? > > Moreover, for example, if I found a drawpix() function, how do I know if > OSMesa actually used this function during rendering process? Is there any > tool/debugger I can use to confirm my findings?
I suspect simply using one of the software drivers would be better. Maybe you'll want to run this program on a real GPU some day, and then it will run unmodified. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev