如何在 Windows 上检测 OpenGL 的硬件加速
是否有 Win32 API 调用可以检测用户系统当前的硬件加速级别? 我不需要更改设置,但如果禁用硬件加速,我想缩小 OpenGL 显示的细节级别。
Is there a Win32 API call that detects the current hardware acceleration level of a user's system? I have no need to change the setting, but I'd like to scale back the level of detail for my OpenGL display if hardware acceleration is disabled.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自常见问题解答: 我如何知道我的程序正在使用 Wintel 卡上的硬件加速?
From the FAQ: How do I know my program is using hardware acceleration on a Wintel card?
或者,您可以使用 Direct3D,如果您使用的是 Windows。 “标准”GDI Win32 GetDeviceCaps( ) 调用不处理 3D...
Or you can interrogate the device's capability with Direct3D, if you're on Windows. The "standard" GDI Win32 GetDeviceCaps() call doesn't deal with 3D...