DRI support for xserver
Jon Smirl <jonsmirl-/[email protected]>
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <[email protected]> |
How is DRI being built for for xserver? I tried --enable-dri and --enable-glx but they don't want to compile. I'd like to not repeat the problems we are having with the DRI currently. The best way to do this do this would be to add a "make linux-xserver" target to the mesa tree. The xserver build would still have a pointer to the mesa src tree but it would use makefiles in the mesa tree to build. This means that the parts of xserver necessary to build libGL need to be moved into mesa/src/glx/xserver. Doing it this way means that as a mesa developer I could simply do "make linux-xserver" in order to check if mesa changes are going to impact xserver. I will help to do this from the mesa side if someone can help split off the appropriate pieces of xserver. Ian Romanick wrote this description of what would need to be done in the DRI tree: A 3rd option would be to forge ahead and get DRI drivers building directly in the Mesa tree. We've been talking about doing this ever since CVS moved to fd.o. No time like the present, I guess. What we'll want to do is move some of the files from lib/GL/dri, probably just dri_util.c & dri_util.h, from the DRI tree to Mesa. We'll then need to break-out the parts of lib/GL/glx/glxclient.h that are specific to DRI (i.e., define the interfaces betten libGL and the DRI driver) into their own header. That header should also be moved to the DRI tree. ===== Jon Smirl jonsmirl-/[email protected] __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com