Results 1 to 4 of 4

Thread: am i running opengl or mesa3d

  1. #1
    Guest

    am i running opengl or mesa3d

    i recently installed redhat 6.2 along with the mesa development package. i am having fun learning opengl although i am still not certain whether i am am running true opengl apps or are they using mesa. when compiling i am linking the GL library with -lGL and i thought that the mesa library was linked with -lMesaGL. does anyone know how to distinguish between mesa and opengl if both exist on a system???

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: am i running opengl or mesa3d

    OpenGL isn't a library per se: it's an API. So you'll never really have "OpenGL"... you'll have someone's implementation of it. Some implementations are certified and so can be called "OpenGL", but it all depends on context.

    Mesa is a very close approximation of the OpenGL API (you'll be hard pressed to find a difference), but it isn't certified, hence it cannot be called "true OpenGL". However it is close enough that you'll probably never see a difference.

    So... when you use Mesa yes, in a pragmatic sense, you are using OpenGL; but in a strict sense, no, you aren't.

    If I were you, I wouldn't worry about it

  3. #3
    Guest

    Re: am i running opengl or mesa3d

    yes, that all makes perfect sense to me. i am just confused on how to find out exactly which implementation i am using.
    thanks rts

  4. #4
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: am i running opengl or mesa3d

    Originally posted by newbe:
    yes, that all makes perfect sense to me. i am just confused on how to find out exactly which implementation i am using.
    thanks rts
    glGetString(GL_RENDERER) will tell you who implemented your OpenGL. For me, it says:

    OpenGL renderer string: Mesa DRI G400 20000510

    Hope this helps.

Similar Threads

  1. Mesa3D, NVIDIA CG and OpenGL profiles vp40 fp40
    By Rayduxz in forum OpenGL: Windows
    Replies: 2
    Last Post: 07-04-2017, 01:27 PM
  2. Replies: 3
    Last Post: 02-20-2015, 10:34 PM
  3. Mesa3D reinstall
    By mikeglaz in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-27-2010, 12:14 PM
  4. Mesa3d
    By reubenhwk in forum OpenGL: Linux
    Replies: 5
    Last Post: 03-17-2004, 01:45 AM
  5. Mesa3D Licensing
    By lobstah in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 01-11-2002, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean