nouveau: create only 1 shared screen between vdpau and opengl
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 12 Feb 2014 13:56:53 +0000 (14:56 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 12 Feb 2014 13:57:25 +0000 (14:57 +0100)
commitfee0686c21c631d96d6042741267a3c218c23ffc
tree96cb24b8377f9e0058d1786d24885b078bb9af63
parent572a8345bfd1d6289a91b64eef92565ef9b3ee55
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 <maarten.lankhorst@canonical.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nouveau/nv30/nv30_screen.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/targets/dri-nouveau/Makefile.am
src/gallium/targets/dri-nouveau/nouveau_dri.link [new file with mode: 0644]
src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c