On Fri, Jul 29, 2016 at 12:51 PM, Marek Olšák <[email protected]> wrote:
> The fd table and reference counting in the winsys is required by the
> GL-VDPAU interop.
>
> radeon_drm_winsys_create and amdgpu_winsys_create are publicly
> exported by both *_dri.so and libvdpau_*.so, and whichever is loaded
> first will effectively provide the gallium driver implementation for
> both of them. The second loaded lib can't create its own winsys &
> screen & contexts because of the public *_winsys_create functions
> always invoking the first loaded lib.

Yes, I'm aware of this as it was discussed in the RFC version, and it
was my intent to maintain that. I believe this version should support
this case as the ref counting is done within
radeon_drm_winsys_create/amdgpu_winsys_create. Where specifically do
you think it is broken?

Rob
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to