[Mesa-dev] [PATCH] auxiliary/vl: move most sources back into the aux library

Emil Velikov emil.l.velikov at gmail.com
Sat Dec 20 03:34:34 PST 2014


On 19/12/14 14:14, Christian König wrote:
> Am 19.12.2014 um 15:04 schrieb Emil Velikov:
>> Due to the current implementation of the gl-vdpau interop, we depend on
>> the dri module having a working set of util VL functions. Otherwise we
>> will end up calling the stubs.
>>
>> This commit partially reverts the following commits:
>> f093c1c8ec1(auxiliary/vl: add galliumvl_stub.la)
>> c642e87d9f4(auxiliary/vl: rework the build of the VL code)
> 
> If possible I would rather like to see the VL still in it's own static
> library and only the stubs reverted. That should make it easier to
> enable that stuff again if we find a better fix for the issues.
> 
As mentioned in the bug report, annotating the functions as weak in the
DRI module(s) and dropping the stubs does not always work.

With that said the only alternative solution I see is to move the VL
util files into a new static library (and drop the stub one), then
include it in the DRI/VL targets.

Will you be ok with such approach ?

-Emil



More information about the mesa-dev mailing list