xwayland/glamor: fix handling of multiplanar GBM buffers
Multiplanar GBM buffers can point to different objects from each plane. Use the _for_plane API to retrieve the correct prime FD for each plane.
Edited by Lucas Stach
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Multiplanar GBM buffers can point to different objects from each plane. Use the _for_plane API to retrieve the correct prime FD for each plane.