Results 1 to 4 of 4

Thread: Do EXT_ and ARB_ calls get automatically mapped to Modern OpenGL?

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2014
    Posts
    5

    Do EXT_ and ARB_ calls get automatically mapped to Modern OpenGL?

    Hi,

    I was wondering if modern OpenGL automatically maps extensions into their API. Is that the case?


    Thanks,
    Colin

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,674
    Get mapped to what? It's not clear what you're asking about.

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2014
    Posts
    5
    If a given functionality is available as an ARB_ or EXT_ and the next version of OpenGL brings it into the core profile, will code written with those extensions work the same if run within the updated OpenGL profile?

  4. #4
    Newbie OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,789
    Assuming that you mean "are the likes of glBufferData and glBufferDataARB really the same call?" the answer is yes, no, maybe, but don't depend on it.

    Not all extensions move to core GL unmodified; for example there are differences between GL_EXT_framebuffer_object and core GL FBOs that may trip you up. Other extensions may take the long way around, moving from vendor to EXT to ARB to core and changing each step of the way. On the other hand there are some core GL features that never existed in extension form, and even some ARB/EXT extensions that never moved (and are unlikely to ever move) to core GL.

    So in other words either use the core GL variant consistently, or use the extension consistently, but don't rely on being able to reliably fallback to an extension if it's not in core (otherwise keeping the rest of your code the same), and definitely don't mix-and-match calls from the two.

Similar Threads

  1. Transitioning from openGL 2.0 to modern?
    By GeatMaster in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-15-2017, 03:46 PM
  2. OpenGL - problem in moving automatically 2d objects
    By iCampiotti in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-22-2016, 03:23 AM
  3. Question about automatically choosing current OpenGL window
    By wangjihang in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-22-2012, 01:57 PM
  4. Modern OpenGL and 2D drawing UI
    By noizex in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-14-2012, 11:21 AM
  5. How to do 2d in modern opengl
    By EvilNando in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-23-2011, 08:58 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