Matthias Hopf wrote: > Hi all, > > currently, all _dri drivers link against some stuff from common/*.o and > libmesa.a. Due to that, the size of the drivers is pretty big. > > There's the question whether that has been a deliberate design decision, > or just nobody cared about that so far. IMHO it would be a good idea to > link common/*.o and libmesa.a to a shared library that can be used by > the dri drivers. > > Any thoughts?
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. People seem to have enough trouble with version mismatch between the DRM, 3D drivers and 2D drivers (though not as much as years ago). Adding another piece to that puzzle would probably increase support costs/time. Have you tried stripping the .so files? After running strip I'm seeing a 3.3MB driver. That's not too bad. -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
