From fee0686c21c631d96d6042741267a3c218c23ffc Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 12 Feb 2014 14:56:53 +0100 Subject: nouveau: create only 1 shared screen between vdpau and opengl This fixes bug 73200 "vdpau-GL interop fails due to different screen objects" in the same way radeon does. Signed-off-by: Maarten Lankhorst Reviewed-by: Emil Velikov --- src/gallium/targets/dri-nouveau/Makefile.am | 1 + src/gallium/targets/dri-nouveau/nouveau_dri.link | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 src/gallium/targets/dri-nouveau/nouveau_dri.link (limited to 'src/gallium/targets') diff --git a/src/gallium/targets/dri-nouveau/Makefile.am b/src/gallium/targets/dri-nouveau/Makefile.am index 19880679bae..4bd4e21953c 100644 --- a/src/gallium/targets/dri-nouveau/Makefile.am +++ b/src/gallium/targets/dri-nouveau/Makefile.am @@ -20,6 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. +DRI_VERSION_SCRIPT = $(srcdir)/nouveau_dri.link include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ diff --git a/src/gallium/targets/dri-nouveau/nouveau_dri.link b/src/gallium/targets/dri-nouveau/nouveau_dri.link new file mode 100644 index 00000000000..16015aa3d81 --- /dev/null +++ b/src/gallium/targets/dri-nouveau/nouveau_dri.link @@ -0,0 +1,6 @@ +VERSION { + global: + __driDriverExtensions; + nouveau_drm_screen_create; + local: *; +}; -- cgit v1.2.3