[vlc-commits] d3d11_fmt: more documentation on WDDM driver information

Steve Lhomme git at videolan.org
Fri Jun 21 18:06:13 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 21 17:49:28 2019 +0200| [f8d694c5311e3e8daca0538533e11b7aaea1497d] | committer: Steve Lhomme

d3d11_fmt: more documentation on WDDM driver information

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8d694c5311e3e8daca0538533e11b7aaea1497d
---

 modules/video_chroma/d3d11_fmt.c | 4 ++++
 modules/video_chroma/d3d11_fmt.h | 5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index 19ad189575..d4a0f38c89 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -439,6 +439,10 @@ bool CanUseVoutPool(d3d11_device_t *d3d_dev, UINT slices)
 #endif
 }
 
+/**
+ * Performs a check on each value of the WDDM version. Any value that is OK will
+ * consider the driver valid (OR on each value)
+ */
 int D3D11CheckDriverVersion(d3d11_device_t *d3d_dev, UINT vendorId, const struct wddm_version *min_ver)
 {
     IDXGIAdapter *pAdapter = D3D11DeviceAdapter(d3d_dev->d3ddevice);
diff --git a/modules/video_chroma/d3d11_fmt.h b/modules/video_chroma/d3d11_fmt.h
index 8950eb99b9..ab3573edac 100644
--- a/modules/video_chroma/d3d11_fmt.h
+++ b/modules/video_chroma/d3d11_fmt.h
@@ -30,7 +30,10 @@
 
 DEFINE_GUID(GUID_CONTEXT_MUTEX, 0x472e8835, 0x3f8e, 0x4f93, 0xa0, 0xcb, 0x25, 0x79, 0x77, 0x6c, 0xed, 0x86);
 
-/* see https://msdn.microsoft.com/windows/hardware/commercialize/design/compatibility/device-graphics */
+/* see https://msdn.microsoft.com/windows/hardware/commercialize/design/compatibility/device-graphics
+ *     https://docs.microsoft.com/en-us/windows-hardware/drivers/display/wddm-2-1-features#driver-versioning
+ *     https://www.intel.com/content/www/us/en/support/articles/000005654/graphics-drivers.html
+ */
 struct wddm_version
 {
     int wddm, d3d_features, revision, build;



More information about the vlc-commits mailing list