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 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,655

    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
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    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
    Member Regular Contributor
    Join Date
    Nov 2003
    Location
    Czech Republic
    Posts
    318

    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");

Posting Permissions

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