[Mesa-dev] [PATCH 2/4] st/dri2: Add shared flag to missing locations

Marek Olšák maraeo at gmail.com
Wed Oct 21 13:34:12 PDT 2015

On Wed, Oct 21, 2015 at 12:28 PM, Axel Davy <axel.davy at 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.


More information about the mesa-dev mailing list