如何在软件仿真模式下启动OpenGL? [英] How to start OpenGL in software emulation mode?

查看:92
本文介绍了如何在软件仿真模式下启动OpenGL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以在软件仿真模式下启动OpenGL,例如DirectX,其中有参考渲染选项?

Is there any way I can start OpenGL in software emulation mode, like DirectX where there is reference rendering option?

推荐答案

如果您只想测试现有软件,则有很多技巧…… http://www.opengl.org/discussion_boards/ubbthreads.php ?ubb = showflat& Number = 148011

if you are trying to just test your existing software there are a bunch of tricks... like: http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=148011

如果您正在编写软件并能够指定渲染...,则在Windows中:

if you are writing software and have the ability to specify the render... then in windows:

来自: http://www.opengl.org/resources/faq/Technical/mswindows.htm

要从应用程序中强制进行软件渲染,请选择一个像素 没有硬件加速的格式.为此,您不能使用 ChoosePixelFormat(),它总是选择硬件加速的像素 格式(如果有).而是使用DescribePixelFormat()来 遍历可用像素格式列表.任何格式 PFD_GENERIC_FORMAT属性位设置将不是硬件 加速.

To force software rendering from your application, choose a pixel format that is not hardware accelerated. To do this, you can not use ChoosePixelFormat(), which always selects a hardware accelerated pixel format when one is available. Instead, use DescribePixelFormat() to iterate through the list of available pixel formats. Any format with the PFD_GENERIC_FORMAT attribute bit set will not be hardware accelerated.

对于linux或mac ...我必须仔细阅读真实的书籍...如果您使用的是Linux/Mac,请告诉我

for linux or mac... I would have to look through real books... let me know if you are on linux/Mac

这篇关于如何在软件仿真模式下启动OpenGL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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