On Wed, Oct 21, 2015 at 10:34 PM, Marek Olšák <mar...@gmail.com> wrote: > On Wed, Oct 21, 2015 at 12:28 PM, Axel Davy <axel.d...@ens.fr> wrote: >> The PIPE_BIND_SHARED flag should be added whenever >> the resource may be shared with another process. >> >> In particular if the resource is imported, or may >> be exported, the flag should be used. > > This can't be enforced. EGL_MESA_image_dma_buf_export allows exporting > any texture. Mesa can't know in advance if a texture will be exported.
Could we not, at least in theory, crate a new texture and blit the old one into it behind the scenes somehow when a texture gets exported? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev