|

楼主 |
发表于 2008-4-30 21:09:00
|
显示全部楼层
Re: Re:如何在Windows下使用OpenGL 2.0的API(包括GLSL)
lingjingqiu: Re:如何在Windows下使用OpenGL 2.0的API(包括GLSL)
....Mesa是个软渲染器。。。。
这位兄台听谁说的??
《OpenGL Super Bible 4th Edition》的“Wiggle: OpenGL on Windows”一节中提到Mesa3D属于Mini-Driver的一种,而对于Mini-Driver,该书做出了下面的阐述:
Mini-Driver
A mini-driver is not a real display driver. Instead, it is a drop-in replacement for opengl32.dll that makes calls to a hardware vendor’s proprietary 3D hardware driver.Typically, these mini-drivers convert OpenGL calls to roughly equivalent calls in a vendor’s proprietary 3D API. The first mini-driver was written by 3dfx for its Voodoo graphics card. This DLL drop-in converted OpenGL calls into the Voodoo’s native Glide (the 3dfx 3D API) programming interface.Although mini-drivers popularized OpenGL for games, they often had missing OpenGL functions or features. Any application that used OpenGL did not necessarily work with a mini-driver. Typically, these drivers provided only the barest functionality needed to run a popular game. Though not widely documented, Microsoft even made an OpenGL to D3D translation layer that was used on Windows XP to accelerate some games when an ICD was not present. Fortunately, the widespread popularity of OpenGL has made the minidriver obsolete on newer commodity PCs.
由此可见,这位仁兄说Mesa3D是软渲染器是不正确的。Mini-Driver只是简单地调用硬件厂商提供的硬件驱动程序中提供的3D API,而凡是严格按照OpenGL 2.0标准规范设计的硬件驱动程序,其提供的API其原型应该都是一样的(内部实现由硬件厂商决定)。 |
|