summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-nouveau
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2014-02-12 14:56:53 +0100
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2014-02-12 14:57:25 +0100
commitfee0686c21c631d96d6042741267a3c218c23ffc (patch)
tree96cb24b8377f9e0058d1786d24885b078bb9af63 /src/gallium/targets/dri-nouveau
parent572a8345bfd1d6289a91b64eef92565ef9b3ee55 (diff)
downloadexternal_mesa3d-fee0686c21c631d96d6042741267a3c218c23ffc.zip
external_mesa3d-fee0686c21c631d96d6042741267a3c218c23ffc.tar.gz
external_mesa3d-fee0686c21c631d96d6042741267a3c218c23ffc.tar.bz2
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>
Diffstat (limited to 'src/gallium/targets/dri-nouveau')
-rw-r--r--src/gallium/targets/dri-nouveau/Makefile.am1
-rw-r--r--src/gallium/targets/dri-nouveau/nouveau_dri.link6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-nouveau/Makefile.am b/src/gallium/targets/dri-nouveau/Makefile.am
index 1988067..4bd4e21 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 0000000..16015aa
--- /dev/null
+++ b/src/gallium/targets/dri-nouveau/nouveau_dri.link
@@ -0,0 +1,6 @@
+VERSION {
+ global:
+ __driDriverExtensions;
+ nouveau_drm_screen_create;
+ local: *;
+};