Matthias Hopf wrote:
> On May 10, 07 16:59:38 +0200, Dirk Mueller wrote:
>>> It's a deliberate design decision.  As soon as you put common code in a
>>> shared library you need a stable ABI/API for it.  The Mesa/driver
>>> interface has never been stable; we change the Mesa internals way too
>>> often.
> 
> I understand that this is something you probably don't want to have
> upstream,

Correct.


> but I only wanted to know whether there are severe design
> issues that do not allow to build this into a shared library.

Currently, a libmesa.a file is created during the build process then 
linked into each DRI driver.  I expect that that could be made into a 
.so and shared, but I've never tried it.


> We'll test the patch Dirk has created.

Be sure you test the case of libGL being loaded with dlopen() and all 
the gl* functions getting called via dlsym().  That's a case that has 
caused grief with some games (Quake?) and applications (Chromium) over 
the years.

-Brian


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to