[Mesa-dev] [PATCH 2/3] gallium: add a pipe_context parameter to resource_get_handle

Marek Olšák maraeo at gmail.com
Wed Aug 24 09:22:41 UTC 2016


On Wed, Aug 24, 2016 at 2:02 AM, Roland Scheidegger <sroland at vmware.com> wrote:
> I admit I'm not familiar with the interopability stuff.
> But how is the coherency stuff handled after you get the handle?
> Does this also work if you've got multiple users of resource_get_handle?

Basically, radeonsi just makes sure the resource contents are
decompressed before sharing and flushes the context. After that, the
resource is ready for sharing and can be re-exported any number of
times.

Marek


More information about the mesa-dev mailing list