[vlc-commits] d3d9_fmt: link to the NVIDIA PerfHUD doc

Steve Lhomme git at videolan.org
Tue Jul 2 08:07:21 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul  2 08:05:15 2019 +0200| [08389291a43294fab8c8e9bd89673a56ca2c3739] | committer: Steve Lhomme

d3d9_fmt: link to the NVIDIA PerfHUD doc

This is a special GPU adapter that can be enabled in some drivers (up to Win7).
The API is now deprecated and replaced by Nsight Visual Studio Edition.

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

 modules/video_chroma/d3d9_fmt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_chroma/d3d9_fmt.c b/modules/video_chroma/d3d9_fmt.c
index 9e00a5cd17..5c30af2f96 100644
--- a/modules/video_chroma/d3d9_fmt.c
+++ b/modules/video_chroma/d3d9_fmt.c
@@ -41,7 +41,8 @@ HRESULT D3D9_CreateDevice(vlc_object_t *o, d3d9_handle_t *hd3d, HWND hwnd,
 
 #ifndef NDEBUG
     // Look for 'NVIDIA PerfHUD' adapter
-    // If it is present, override default settings
+    // If it is present, override default settings for performance debugging
+    // see https://developer.nvidia.com/nvidia-perfhud up to Win7
     for (UINT Adapter=0; Adapter< IDirect3D9_GetAdapterCount(hd3d->obj); ++Adapter) {
         D3DADAPTER_IDENTIFIER9 Identifier;
         hr = IDirect3D9_GetAdapterIdentifier(hd3d->obj,Adapter,0,&Identifier);



More information about the vlc-commits mailing list