[Mesa-dev] vdpau_interop extension oddities

Christian König deathsimple at vodafone.de
Wed Feb 1 15:54:28 UTC 2017


Am 01.02.2017 um 16:50 schrieb Thomas Hellstrom:
> Hi, Again,
>
> (No need answering while on sick leave!).

Actually I'm bored, but can't concentrate on coding when my body 
temperature isn't in the normal range :(

>>> Hui? That's not how I remembered it.
>>>
>>> For the dma-buf part we export one layer of a 2D_ARRAY texture and
>>> then import that as "normal" 2D texture.
> Here it looks like we always export the first layer...
>
> whandle.layer = surf->u.tex.first_layer; (vdpau / surface.c)

If I remember correctly surf is selected based on plane and so 
surf->u.tex.first_layer should be either 0 or 1 anyway.

Regards,
Christian.


More information about the mesa-dev mailing list