summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-nouveau
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2014-02-12 14:56:53 +0100
committerMaarten Lankhorst <[email protected]>2014-02-12 14:57:25 +0100
commitfee0686c21c631d96d6042741267a3c218c23ffc (patch)
tree96cb24b8377f9e0058d1786d24885b078bb9af63 /src/gallium/targets/dri-nouveau
parent572a8345bfd1d6289a91b64eef92565ef9b3ee55 (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
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 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: *;
+};