[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    Re: [Mesa-dev] OSMesa Help
From:       Jonathan Liu <net147 () gmail ! com>
Date:       2013-07-15 12:22:43
Message-ID: 51E3E993.9020405 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 10/07/2013 3:20 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.
>
See http://cgit.freedesktop.org/mesa/demos/tree/src/osdemos for example 
of using OSMesa.

Regards,
Jonathan

[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 10/07/2013 3:20 PM, Andy Li wrote:<br>
    </div>
    <blockquote cite="mid:BLU176-W43B2899EFDCB67A4C69B5FC07A0@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>
    </blockquote>
    See <a
      href="http://cgit.freedesktop.org/mesa/demos/tree/src/osdemos">http://cgit.freedesktop.org/mesa/demos/tree/src/osdemos</a>
  for example of using OSMesa.<br>
    <br>
    Regards,<br>
    Jonathan<br>
  </body>
</html>



_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic