简体   繁体   English

在没有OpenGL的机器中使用OpenTK?

[英]OpenTK in OpenGL-less machine?

I'm interested in OpenTK for a non-game application whose main concerns are getting complex 2D graphics done fast (hopefully beyond the limits of optimized GDI+). 我对非游戏应用程序的OpenTK感兴趣,该应用程序的主要问题是快速完成复杂的2D图形(希望超出优化的GDI +的限制)。
However, if hardware acceleration is unavaliable in a computer, I still want my application to run, even if with slower graphics output. 但是,如果计算机中没有硬件加速功能,即使图形输出速度较慢,我仍然希望我的应用程序运行。

Is it possible to use OpenTK, but still have the code work on computers without the graphics card/drivers requirements? 是否可以使用OpenTK,但代码仍然可以在没有图形卡/驱动程序要求的计算机上工作?
My search yielded Mesa3D , but I'm clueless as to how it would integrate in a .NET application, and if such a solution would work for Mono too. 我的搜索产生了Mesa3D ,但我对如何将其集成到.NET应用程序一无所知,而且这样的解决方案是否也适用于Mono。

OpenTK makes use of whatever OpenGL version is available on your system. OpenTK利用了系统上可用的任何OpenGL版本。 When you install drivers for a vendor graphics card, you are (also) installing their version of OpenGL. 当您安装供应商图形卡的驱动程序时,您(也在)安装其OpenGL版本。 In the absence of hardware-accelered OpenGL version, most (all?) modern operating systems have a software OpenGL implementation that they fall back onto. 在没有硬件加速的OpenGL版本的情况下,大多数(所有?)现代操作系统都具有软件OpenGL实现,因此可以依靠这些实现。 This should work seemlessly without you having to do anything. 无需执行任何操作,这似乎应该可以正常工作。 However, on Windows, this will probably be quite an ancient OpenGL version (1.1), which will may not support everything you want to do. 但是,在Windows上,这可能是相当古老的OpenGL版本(1.1),可能无法支持您要执行的所有操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM