[901/906] glx: use the display handle from the global display
authorMatthew Waters <ystreet00@gmail.com>
Wed, 12 Mar 2014 12:46:58 +0000 (23:46 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:34 +0000 (19:31 +0000)
commit6300c2ef1b4db90c59fa107c9effca931b7ebbd8
tree88eb6b925f385615172cbb831f0a62cc6a47be8f
parentda5b9d3e0f174befefb41fafc2d0ba7c0d867f97
[901/906] glx: use the display handle from the global display

Intel drivers require the display handles be the same for context
sharing to occur.  Also solves some cases of use after free of the
display when integrating with gstreamer-vaapi.

See https://bugs.freedesktop.org/show_bug.cgi?id=41736 for the intel bug.
gst-libs/gst/gl/x11/gstglcontext_glx.c