Does LWJGL (bare) use software or hardware rendering?

空扰寡人 提交于 2020-01-15 03:43:05

问题


Does the bare LWJGL distribution use hardware rendering or software rendering?


回答1:


LWJGL always uses hardware rendering. Since it is a games library, it just quits if no hardware rendering is available.

From the LWJGL wiki: "Made the library throw an exception when hardware acceleration is not available on Windows. No point in running at 5fps is there? "(LWJGL wiki)

There is a command-line switch org.lwjgl.opengl.Display.allowSoftwareOpenGL but I don't think you can force it to use software rendering.



来源:https://stackoverflow.com/questions/7363330/does-lwjgl-bare-use-software-or-hardware-rendering

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