From: Ian R. <id...@fr...> - 2010-03-15 01:12:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 George Sapountzis wrote: > Hi, > > I put some patches at > http://cgit.freedesktop.org/~gsap7/mesa/log/?h=gallium-drisw that do > the plumbing in order to build the swrast_dri wrapper around gallium > instead of classic mesa. For reference, swrast_dri is the fallback > driver loaded by libGL (with LIBGL_ALWAYS_SOFTWARE) and xserver. It > must not link with libdrm, nor use any drm headers during building > because it is also used on platforms without drm. > > The branch is to the point where glxinfo runs and needs some glue with > __DRIswrastLoaderExtension in order to show something other than black > windows. The problem is that there seems to be two places where to put > the glue, either in st/.../dri_drawable.c or in > ws/.../swrast_drm_api.c . Can someone more familiar with gallium take > a look at the branch and provide hints ? If you're going to do this, please make a separate driver. Call it swrastg or something. I use swrast for testing new core Mesa features that I implement, and I don't want to be forced to muck about with Gallium to do that. Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkudiSoACgkQX1gOwKyEAw8lTgCeIivQ/MSPks11BOP6I/JRrCGj rwEAnRkZ0ZYPUFsD3Bs1+qOXjWiTbXaM =T1u6 -----END PGP SIGNATURE----- |