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

Thread: Which version of OpenGL should I code towards?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Apr 2014
    Posts
    109

    Which version of OpenGL should I code towards?

    Hello,

    So I am writing an in-depth 3D application and long story short, I ended up using an online tutorial which was based on OpenGL 2.1.

    Obviously much of what I wrote can now be optimized.

    So the question is should I code towards OpenGL 3.1 or OpenGL 4.0?

    I'd like to code towards 4.0 but it seems like my application would have very little support.

    Thank you for your time.

  2. #2
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    237
    OpenGL(R) 4.0 support should be fairly common now, unless you are targetting an Intel GPU or you desperately want to support the current (April 2014) version of Mesa3D.

    My suggestions is to use only features you actually need. If you can work with OpenGL(R) 3.1, why should you make the application depend on 4.0?

  3. #3
    Junior Member Regular Contributor
    Join Date
    Apr 2014
    Posts
    109
    Quote Originally Posted by Agent D View Post
    OpenGL(R) 4.0 support should be fairly common now, unless you are targetting an Intel GPU or you desperately want to support the current (April 2014) version of Mesa3D.

    My suggestions is to use only features you actually need. If you can work with OpenGL(R) 3.1, why should you make the application depend on 4.0?
    Thanks; it would be to squeeze out as much features as possible without sacrificing performance.

    But at the end of the day compatibility (and thus OpenGL 3.1) wins.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    unless you are targetting an Intel GPU

    AFAIK Intel have caught up to 4.0

    EDIT - I am becoming brain dead - removed the word not - I did not know Intel had got to 4.2
    Last edited by tonyo_au; 04-30-2014 at 06:34 PM.

  5. #5
    Intern Contributor
    Join Date
    Mar 2014
    Location
    San Jose, CA
    Posts
    58
    Quote Originally Posted by tonyo_au View Post
    AFAIK Intel have not caught up to 4.0[/COLOR]
    Intel supports 4.x with Ivy Bridge and Haswell: http://www.intel.com/support/graphics/sb/CS-033757.htm

    The Haswell GPU in my Windows machine reports 4.2 as the highest supported version.

  6. #6
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    237
    Quote Originally Posted by tonyo_au View Post
    AFAIK Intel have not caught up to 4.0
    Please re-read my post precisely and pay attention to my wording and punctuation. I first statet that 4.x support is fairly common by now. The word "unless" indicates an exception to that statement.

    I never stated that Intel cought up. In fact, I'm quite surpriesed to read that Ivy Bridge supposedly supports OpenGL(R) 4.x

Posting Permissions

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