[vlc-devel] [PATCH] nVidia affinity

Jean-Baptiste Kempf jb at videolan.org
Thu Aug 29 13:50:19 CEST 2013


On 28 Aug, David R Robison wrote :
> Sorry, but you did ask one question that I did not address, "Why do you 
> need a new HDC instead of using hGLDC ?" The way the nVidia GL 
> extensions work is you have an affinity DC and a window DC. If you just 
> use the affinity DC then all drawing is done off-screen on that GPU but 
> is not displayed in your window. You need both, one for offloading the 
> GL commands and the other to target the window to receive the video 
> output. This is in accordance with the documentation at 
> http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt.

OK. But you need a comment for that, IMVHO.
It is not obvious when you skip through the code.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list