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: Deprecated functions

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2011
    Posts
    5

    Deprecated functions

    Not sure whether this is the right section but here goes.
    I am planning on developing an application that should run on older systems with gpu's that support up to version 2.1
    In the latest version functions such as glpushmatrix are deprecated, does that mean I should avoid using it entirely ?

  2. #2
    Intern Contributor
    Join Date
    Sep 2010
    Posts
    74

    Re: Deprecated functions

    You should avoid most deprecated functions, ESPECIALLY immediate mode (glBegin/glVertex etc).

  3. #3
    Member Regular Contributor
    Join Date
    Jan 2012
    Location
    Germany
    Posts
    302

    Re: Deprecated functions

    Depends, do you want to port your code to MacOS? Smartphones? Do you optionally support newer features than OpenGL 2.1? Do you want shadersor just fixed functions?

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2011
    Posts
    5

    Re: Deprecated functions

    In the future I might port it to macos and linux.
    I want to mainly work with shaders but not go through making custom matrices and multiplying them if possible.

  5. #5
    Member Regular Contributor
    Join Date
    Jan 2012
    Location
    Germany
    Posts
    302

    Re: Deprecated functions

    You can use deprecated functions and stick with OpenGL 2.1, even on MacOS. But it's not possible to mix newer functionality with the old 2.1 deprecated stuff on Mac. That's why i'm asking. Also OpenGL ES 2 for Smartphones lacks much of the fixed function stuff that is deprecared/not part of core profile in newer OpenGL versions.
    I wouldn't recomment to learn the outdated stuff in 2012 anymore, the day will come when you want to use a newer feature or port your app to a core-only system and then you will have to start all over again.
    But is it possible to stick with the old stuff of GL 2.1? Sure.

  6. #6
    Junior Member Newbie
    Join Date
    Aug 2011
    Posts
    5

    Re: Deprecated functions

    Alright, thanks for the suggestion.

Posting Permissions

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