OpenGL rendering in Windows XP with multiple video cards

依然范特西╮ 提交于 2019-12-04 20:37:01

问题


I'm developing an OpenGL application for Windows XP. The target machine has 2 NVIDIA GeForce 9800GT video cards, which are needed because the application needs to have output 2 streams of analog video.

The application itself has two OpenGL windows, one for each video card. Each video card is connected to one monitor. As for the code, it's based on a minimal OpenGL example.

How can I know if the application is utilizing both video cards for rendering?

At the moment, I don't care if the application only runs on Windows XP or only with NVIDIA video cards, I just need to know how the two are working.


回答1:


I think you need to read up on the WGL_nv_gpu_affinity extension. You create affinity masks and use wglMakeCurrent() in conjunction with them. Here are some pointers:

http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt

Pdf from NVidia.com

Cheers !




回答2:


I beleive you can gain such information from the gDEBugger for OpenGL based applications.

If it turns out your not using both cards, you can check out Equalizer for parallel rendering, it's a great project.



来源:https://stackoverflow.com/questions/553769/opengl-rendering-in-windows-xp-with-multiple-video-cards

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!