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 3 of 3

Thread: How to dectect if a application render using OpenGL?

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    Chengdu,Sichuan,P.R.China
    Posts
    2

    How to dectect if a application render using OpenGL?

    We have a application and we don't known if it use opengl to render. How can we detect using opengl function or other methods?

  2. #2
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Location
    Stockholm, Sweden
    Posts
    2,345

    Re: How to dectect if a application render using OpenGL?

    Well ... if you just want to check one app once you could rename the OpenGL32.dll file to whatever you like, run the app and see if it says something like "Couldn't find OpenGL32.dll" ... and then rename it back ..

  3. #3
    Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: How to dectect if a application render using OpenGL?

    is the application made by you or is a third-party? i can't understand...

    if the code is yours, try glGetString(GL_RENDERER)

    humus:
    only if the app uses the GDI implementation.
    you should look into the registry here:
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\OpenGLDrivers]
    and see what driver it is currently registered, then rename this.

    Dolo/\/\ightY

    [This message has been edited by dmy (edited 04-27-2000).]
    Dolo/\/\ightY

Posting Permissions

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