back  Return to list

homeprevnext Name
homeprevnext Name Strings
homeprevnext Contact
    Paula Womack, 3dfx Interactive, paulaw 'at'  
homeprevnext Status
    Complete. Approved by ARB on March 15, 2000  
homeprevnext Version
    Last Modified Date: March 22, 2000  
    Author Revision: 1.0  
homeprevnext Number
    ARB Extension #8  
homeprevnext Dependencies
homeprevnext Overview
    This extension provides a way for applications to determine which  
    WGL extensions are supported by a device. This is the foundation  
    upon which other WGL extensions are built.  
homeprevnext IP Status
    No issues.  
homeprevnext Issues
  1. Note that extensions that were previously advertised via  
     glGetString (e.g., the swap interval extension) should continue to  
     be advertised there so existing applications don't break. They  
     should also be advertised via wglGetExtensionsStringARB so new  
     applications can make one call to find out which WGL extensions are  
  2. Should this function take an hdc? It seems like a good idea. At  
     some point MS may want to incorporate this into OpenGL32. If they  
     do this and and they want to support more than one ICD, then an HDC  
     would be needed.  
homeprevnext New Procedures and Functions
    const char *wglGetExtensionsStringARB(HDC hdc);  
homeprevnext New Tokens
homeprevnext Additions to Chapter 2 of the 1.2 Specification (OpenGL Operation)
homeprevnext Additions to Chapter 3 of the 1.2 Specification (Rasterization)
homeprevnext Additions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations and the Frame buffer)
homeprevnext Additions to Chapter 5 of the 1.2 Specification (Special Functions)
homeprevnext Additions to Chapter 6 of the 1.2 Specification (State and State Requests)
homeprevnext Additions to the WGL Specification
Advertising WGL Extensions  
    Applications should call wglGetProcAddress to see whether or not  
    wglGetExtensionsStringARB is supported. If it is supported then it  
    can be used to determine which WGL extensions are supported by the  
      const char *wglGetExtensionsStringARB(HDC hdc);  
      <hdc>   device context to query extensions for  
    If the function succeeds, it returns a list of supported extensions  
    to WGL. Although the contents of the string is implementation  
    specific, the string will be NULL terminated and will contain a  
    space-separated list of extension names. (The extension names  
    themselves do not contain spaces.) If there are no extensions then  
    the empty string is returned.  
    If <hdc> does not indicate a valid device context then the function  
    fails and the error ERROR_DC_NOT_FOUND is generated. If the function  
    fails, the return value is NULL. To get extended error information,  
    call GetLastError.  
homeprevnext New State
homeprevnext New Implementation Dependent State
homeprevnext Revision History
    Changes from EXT_extension_string:  
    Added hdc parameter to facilitate moving this function into OPENGL32  
    Added WGL to name to avoid name collisions with GL and GLX  
Valid XHTML 1.1! Valid CSS! Last update: November 14, 2006.
Cette page doit être lue avec un navigateur récent respectant le standard XHTML 1.1.