mesa/src/loader
Martin Peres a599b1c203 loader/dri3: import prime buffers in the currently-bound screen
This tries to mirrors the codepath taken by DRI2 in IntelSetTexBuffer2()
and fixes many applications when using DRI3:
 - Totem with libva on hw-accelerated decoding
 - obs-studio, using Window Capture (Xcomposite) as a Source
 - gstreamer with VAAPI

v2:
 - introduce get_dri_screen() in the dri3 loader's vtable (krh)

Tested-by: Timo Aaltonen <tjaalton@ubuntu.com>
Tested-by: Ionut Biru <biru.ionut@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71759
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
2016-10-07 11:11:55 +03:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c loader: fix sysfs uevent file parsing 2016-09-01 15:48:34 +01:00
loader.h loader: Rename drm_open_device() to loader_open_device() and share it 2015-06-23 16:54:51 +01:00
loader_dri3_helper.c loader/dri3: import prime buffers in the currently-bound screen 2016-10-07 11:11:55 +03:00
loader_dri3_helper.h loader/dri3: add get_dri_screen() to the vtable 2016-10-07 11:11:44 +03:00
Makefile.am loader: unconditionally add AM_CPPFLAGS to libloader_la_CPPFLAGS 2015-11-23 12:07:50 +00:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
pci_id_driver_map.c nouveau: allow NV3x's to be used with nouveau_vieux 2016-08-30 00:21:42 -04:00
pci_id_driver_map.h virtio_gpu: Add PCI ID to driver map 2016-01-23 12:35:24 +10:00
SConscript loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00