Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: OpenGL32.dll

  1. #1
    Intern Newbie
    Join Date
    Nov 2001
    Location
    The netherlands
    Posts
    46

    OpenGL32.dll

    For what I understand OpenGL32.dll is only used for software OpenGL. And hardware is done in you drivers. OpenGL32.dll supports version 1.1 And your drivers can support all versions.

    If I'm right with this, way do I have to link with OpenGL32.dll?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    247

    Re: OpenGL32.dll

    OpenGL32.dll loads the hardware accellerated functions from your drivers. The OpenGL functions you actually call (e.g., glVertex3f, glBegin, etc.) are located in OpenGL32.dll. If you have an accelerated GL context, these function calls are passed on to the driver's functions. So yes, opengl32.dll does provide a generic software implementation of GL, but it is also necessary to load the proper functions from the driver(s). I have no idea if one could manually load the hardware accellerated functions. It probably wouldn't be worth the effort.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: OpenGL32.dll

    Because opengl32.dll is the connection between OpenGL and your application.

    opengl32.dll is not only used for software rendering. It also contains the mechanism to automatically load an external driver if present, and use that one if possible.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: OpenGL32.dll

    Gotta love double posts

    I have no idea if one could manually load the hardware accellerated functions. It probably wouldn't be worth the effort.
    No, you can't load functions directly from the driver. Ok, maybe you CAN in some cases, but you shouldn't be able to at least. A driver should not expose the functions as exports, which is required to load a function. Only opengl32.dll should, or maybe even can, load functions from the driver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •