如何检查我的OpenGL版本? [英] How can I check my OpenGL version?
问题描述
当我运行 glxinfo
时,我得到:
...
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
...
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
...
GLX version: 1.4
...
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9500M GS/PCI/SSE2
OpenGL version string: 3.2.0 NVIDIA 195.36.24
OpenGL shading language version string: 1.50 NVIDIA via Cg compiler
...
如果没有轮询扩展功能,我认为可以支持哪个版本的功能?最低的1.4和3.2似乎具有难以置信的历史意义,因此我假设glx版本的编号与OpenGL版本没有并行...
Without polling extension functionality, from what version's functions may I assume supported? Minimum of 1.4 and 3.2 seems incredibly historic, so I assume glx version is not numbered in parallel with OpenGL version...
我可以假定使用哪种GLSL版本?它显示Cg编译器版本,但是我的GLSL版本是什么?
What GLSL version may I assume? It displays the Cg compiler version, but what's my GLSL version?
推荐答案
GLX是在X11命令中传输OpenGL命令的协议。流。 GLX的最新版本是1.4。
GLX is the protocol that transports OpenGL commands in a X11 command stream. The most recent version of GLX is 1.4.
在 OpenGL版本字符串中告知OpenGL版本。然后得到3.2
The OpenGL version is told in the "OpenGL version string". And you got 3.2
所以我认为glx版本没有与OpenGL版本并行编号...
so I assume glx version is not numbered in parallel with OpenGL version...
不是,因为它们是两个不同的东西。 GLX会传输OpenGL,但并未实现。
No it's not, because they're two different things. GLX transports OpenGL, it doesn't implement it.
这篇关于如何检查我的OpenGL版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!