Jiayuan Zhu wrote:
> HI,
> I am a newbie to Mesa. I downloaded the mesa lib for MS Windows
> system to run my opengl applications and find it great. My application
> only uses GL core lib, but not GLU or GLUT. So I've got several
> questions about the Mesa lib
>
> 1) I put the compiled OpenGL32.dll under the same directory as my
> executable(a very simple one) and it works(without utilizing
> OSMesa32.dll). Therefore, I was wondering what's the purpose of
> placing OSMesa32.dll over there. To my understand, Mesa is a
> software-based rendering library and the OpenGL32.dll does the whole
> thing.....
The OSMesa32.dll file should implement the "OSMesa" functions used for
off-screen rendering. If you don't know what that is, you probably
don't need to be concerned with it.
> 2)I am wondering if you can tell me how to add some simple OpenGL APIs
> into the current Mesa system. For example, one of my applications
> calls an ARB extension "wglGetExtensionStringARB" which is not
> available in Mesa, is there any simple way to add it in?
Sure, add them to Mesa/src/mesa/drivers/windows/gdi/wgl.c
-Brian
|