Re: OSMesa Help

burlen <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hi Andy,

You may need to look at some basic OpenGL examples.

There are some documentation about OS Mesa here 
http://www.mesa3d.org/osmesa.html
Some of this is outdated but you can get the gist of how it works.

There are some demos that show OS Mesa's use here 
http://www.mesa3d.org/download.html
look in the osdemos dir.

If you look at GL_VENDOR, GL_VERSION, GL_RENDERER gl fields you can 
verify which driver you're using ( 
http://www.opengl.org/wiki/GLAPI/glGetString). If all you care for is OS 
Mesa then disable all the other drivers when you configure your build.

Burlen


On 07/09/2013 10:16 PM, Andy Li 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?
>
>
> Thank you for your time.
>
>
> Andy.
>
>
>
> _______________________________________________
> mesa-users mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-users

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.