Using glXBindTexImageEXT with a GLXPixmap created out-of-process fails
Submitted by Andrew Comminos
Assigned to mes..@..op.org
Description
When binding a GLXPixmap created in a different process using glXBindTexImageEXT, we only bind a black texture. I believe this occurs because the associated DRI drawable is stored in the underlying display- when dri{2,3}_bind_tex_image is called with a different glx_display than the one that created (or bound) the GLXPixmap, we find that its drawable table does not contain the associated DRI drawable, and we return.
I suggest that driFetchDrawable is used in dri{2,3}_bind_tex_image, as it is in dri{2,3}_bind_context.
Version: git