Ah! I took the Mesa tree from <a href="http://mesa3d.org">mesa3d.org</a>. It looks like i should be taking it from <a href="http://anongit.freedesktop.org/git/mesa/mesa">anongit.freedesktop.org/git/mesa/mesa</a><br>(it is mentioned in the Modulardevelopersguide). So, i don't have to go to <a href="http://mesa3d.org">mesa3d.org</a> if i am working with the latest xserver ?<br>
<br>-mohan<br><br><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 11:57 AM, Chuck Robey <<a href="mailto:chuckr@telenix.org">chuckr@telenix.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><div></div><div class="Wj3C7c"><br>
Mohan Parthasarathy wrote:<br>
> Hi,<br>
><br>
> I spent some digging through the code but could not find answer to some<br>
> of the questions.<br>
> Hope someone can help out.<br>
><br>
> 1) Mesa/src/glx/x11 is the same as in X-server branch under GL/glx. I am<br>
> assuming that<br>
>  the code in X-server is what should be used. Right ?<br>
><br>
> 2) Mesa/src/mesa is similar to X-server branch under GL/mesa. X-server<br>
> just refers to the<br>
>     code in Mesa. Don't we just need the software rendering code in<br>
> X-server ?<br>
>     Why is glapi included on the Xserver side ? Also, why are we making<br>
> libX.la ?<br>
><br>
> 3) Mesa/src/drivers/dri/<driver-name>/server/ What does the 3D driver<br>
> supposed to<br>
>     provide under server directory ? Is there a document describing this ?<br>
><br>
> 4) xf86driproto/xf86dri.h : has several functions like<br>
> XF86DRIQueryExtension etc. which<br>
> sends X requests and are handled in hw/xfree86/dri/xf86dri.c, dri.c.<br>
> What i can't<br>
> find is where these functions (declared in xf86dri.h) are defined.<br>
><br>
> 5) 2D Driver calls DRIQueryVersion. Where is this defined ?<br>
><br>
> Any help would be appreciated. If i am not reading some document, please<br>
> let me know.<br>
> Is the document under hw/xfree86/doc/README.DRI reflect the current<br>
> state of things.<br>
> It is dated June 2001.<br>
><br>
<br>
</div></div>TCSH-april:root:~chuckr/xorgsrc/mesa:#236-14:55>grep -r XF86DRIQueryExtension *<br>
Binary file lib/libGL.so.1 matches<br>
Binary file lib/libGL.so matches<br>
src/glx/x11/XF86dri.c:PUBLIC Bool XF86DRIQueryExtension (dpy, event_basep,<br>
error_basep)<br>
src/glx/x11/dri_glx.c:    if (!XF86DRIQueryExtension(dpy, &eventBase, &errorBase)) {<br>
src/glx/x11/xf86dri.h:Bool XF86DRIQueryExtension( Display *dpy, int *event_base,<br>
int *error_base );<br>
Binary file src/glx/x11/dri_glx.o matches<br>
Binary file src/glx/x11/XF86dri.o matches<br>
<br>
I found I needed to use git to download drm (to get the latest) and build it<br>
before I built mesa.<br>
<br>
> Thanks<br>
> mohan<br>
><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> xorg mailing list<br>
> <a href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/xorg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.4 (FreeBSD)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFIWqwYz62J6PPcoOkRAtAqAJ9v6rFeEocBbTT8M0WSTH0r5+l1OwCgjMTO<br>
X+LS9by+1JfFF88/vHvsvhY=<br>
=0XMd<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>