[Mesa-dev] [PATCH 0/5] Use vl_stub for the dri/egl/... gallium targets

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 8 20:44:12 PST 2014


Hello all,

Here is a reworked version of a patch I've send a while back - it
creates a stub for the vl functions used directly by the gallium
drivers. At link time we use it for non-vl targets, while for vdpau and 
friends we use a galliumvl static lib, which is split out of auxiliary.

Resulting to:
 - Four automake warnings less
 - Small deduplication of in the target Makefiles
 - Some nice size savings of the resulting modules

       text    data     bss     dec     hex filename
    5850573  187549 1977928 8016050  7a50b2 before/nouveau_dri.so
    5508486  187100  391240 6086826  5ce0aa after/nouveau_dri.so

As usual the branch can be found in my github repo at
github.com/evelikov/mesa/tree/stub-vl

Any comments, suggestions and testing would be appeciated.

Cheers,
Emil



More information about the mesa-dev mailing list