Windows XP中具有多个视频卡的OpenGL渲染 [英] OpenGL rendering in Windows XP with multiple video cards

查看:139
本文介绍了Windows XP中具有多个视频卡的OpenGL渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Windows XP开发OpenGL应用程序.目标计算机具有2个NVIDIA GeForce 9800GT视频卡,这是必需的,因为该应用程序需要输出2个模拟视频流.

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.

应用程序本身有两个OpenGL窗口,每个视频卡一个.每个视频卡都连接到一个监视器.至于代码,它基于最小OpenGL示例.

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?

此刻,我不在乎该应用程序仅在Windows XP上运行还是仅在NVIDIA视频卡上运行,我只需要知道两者的工作方式即可.

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.

推荐答案

我认为您需要阅读 WGL_nv_gpu_affinity 扩展名.您创建亲和力掩码并将wglMakeCurrent()与它们结合使用.这里有一些指针:

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

来自NVidia.com的Pdf

干杯!

这篇关于Windows XP中具有多个视频卡的OpenGL渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆