Results 1 to 4 of 4

Thread: Does glGetString(GL_EXTENSIONS) display all support extensions of the video card?

  1. #1
    Junior Member Newbie
    Join Date
    May 2007
    Posts
    3

    Does glGetString(GL_EXTENSIONS) display all support extensions of the video card?

    This probably seems like a silly question, but does glGetString(GL_EXTENSIONS) display every supported OpenGL extension supported by the video card?

    I've run this program on my laptop and it does NOT show any of the following extensions:

    WGL_ARB_pbuffer
    WGL_ARB_pixel_format
    GL_EXT_framebuffer_object

    Does that mean the ONLY way I can render-to-texture is by using gltexSubImage2d and glReadPixels?

    Thanks,
    John

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Does glGetString(GL_EXTENSIONS) display all support extensions of the video card?

    Probably, yes.
    Unless you have checked something like "limit OpenGL extension string" in Nvidia Control Panel...

    Have a look here, to check whether your card really don't have any of these extensions :
    http://www.delphi3d.net/hardware/index.php

  3. #3
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: Does glGetString(GL_EXTENSIONS) display all support extensions of the video card?

    WGL_ ... extensions arent in thew extension string (theyre windows specific theres also linux/apple extensions as well)

    glReadPixels doesnt update a texture
    gltex(Sub)Image2d
    glCopytex(Sub)Image2d
    are what u want

    GL_EXT_framebuffer_object also can do it,
    but your card mightnt support it

    look here
    http://www.delphi3d.net/hardware/ext...ebuffer_object
    (this is prolly not a complete list)
    if its not here + youve got the latest drivers post what gpu u have + someone could tell u if it supports FBO

  4. #4
    Senior Member Regular Contributor
    Join Date
    Nov 2003
    Location
    Czech Republic
    Posts
    317

    Re: Does glGetString(GL_EXTENSIONS) display all support extensions of the video card?

    For complete list of extensions you must call
    glGetString(GL_EXTENSIONS)
    and then
    wglGetExtensionsStringARB(wglGetCurrentDC())

    The second call is extension function itself
    which must be obtained before invocation.
    Code :
    PFNWGLGETEXTENSIONSSTRINGARBPROC wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC) wglGetProcAddress("wglGetExtensionsStringARB");

Similar Threads

  1. checking extensions that your video card supports
    By Savalia in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-03-2010, 08:00 AM
  2. Replies: 5
    Last Post: 10-24-2005, 01:05 PM
  3. Replies: 0
    Last Post: 10-23-2005, 06:49 PM
  4. glGetString(GL_EXTENSIONS) returns 0 ???
    By samueleagle in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-13-2005, 01:18 AM
  5. Replies: 4
    Last Post: 05-24-2002, 08:27 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