<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Andy,<br>
<br>
You may need to look at some basic OpenGL examples.<br>
<br>
There are some documentation about OS Mesa here
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.mesa3d.org/osmesa.html">http://www.mesa3d.org/osmesa.html</a><br>
Some of this is outdated but you can get the gist of how it works.<br>
<br>
There are some demos that show OS Mesa's use here
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.mesa3d.org/download.html">http://www.mesa3d.org/download.html</a><br>
look in the osdemos dir.<br>
<br>
If you look at GL_VENDOR, GL_VERSION, GL_RENDERER gl fields you
can verify which driver you're using (
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.opengl.org/wiki/GLAPI/glGetString">http://www.opengl.org/wiki/GLAPI/glGetString</a>).
If all you care for is OS Mesa then disable all the other drivers
when you configure your build.<br>
<br>
Burlen<br>
<br>
<br>
On 07/09/2013 10:16 PM, Andy Li wrote:<br>
</div>
<blockquote cite="mid:BLU176-W517810285D1728C666C3D2C07A0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">Hello
everyone,</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;"><br>
</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">I have some
questions regarding to OSMesa.</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">I am
currently working on a project which I have to use Mesa on an
embedded system.</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">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.</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">Since the
embedded system I am using does not contain a GPU, therefore I
have decided to use OSMesa for rendering process.</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">I am
wondering if there are any documentations/ specifications for
OSMesa?</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">Anyone know
which are the base functions that OSMesa used for the
rendering process?</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">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?</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">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?</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;"><br>
</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">Thank you
for your time.</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;"><br>
</p>
<p class="ecxMsoNormal" style="line-height: 21px; margin-bottom:
1.35em; color: rgb(68, 68, 68); font-size: 15px;">Andy.</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mesa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/mesa-users">http://lists.freedesktop.org/mailman/listinfo/mesa-users</a>
</pre>
</blockquote>
<br>
</body>
</html>