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: OpenGL 2.1 support

  1. #1
    Newbie Newbie
    Join Date
    May 2016
    Posts
    4

    Question OpenGL 2.1 support

    Hi all! In current my project all rendering is done on OpenGL 2.1 As I know many functions are deprecated in OpenGL 3+ So I want to know, will be OpenGL 2.1 supported in future and how long it will be supported?

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,508
    Quote Originally Posted by Destructor View Post
    Hi all! In current my project all rendering is done on OpenGL 2.1 As I know many functions are deprecated in OpenGL 3+ So I want to know, will be OpenGL 2.1 supported in future and how long it will be supported?
    The deprecation was in the OpenGL 3.0 "Core" spec, and the removal was in OpenGL 3.1 "Core" spec. However, all this is largely all still there in the OpenGL "Compatibility" spec. If you just allocate an OpenGL "Compatibility" context (the default), you can basically access all the old APIs with no problem. See:

    * https://www.opengl.org/wiki/Deprecation
    * https://www.opengl.org/registry/ (note the difference between Core and Compatibility specifications)

    All that said, for performance and other reasons, you should consider migrating your code to use features natively supported by today's GPUs. For instance, dump immediate mode, cache vertex data on the GPU, move to shaders, etc.
    Last edited by Dark Photon; 06-07-2016 at 06:55 PM.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,955
    Quote Originally Posted by Destructor View Post
    Hi all! In current my project all rendering is done on OpenGL 2.1 As I know many functions are deprecated in OpenGL 3+ So I want to know, will be OpenGL 2.1 supported in future and how long it will be supported?
    Ultimately that's up to the hardware vendors. But the likely answer is "for the foreseeable future". So long as people continue to use software written for 2.1 (or older), there will be a demand for hardware which supports it.

Posting Permissions

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