15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_extensions_string 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci WGL_EXT_extensions_string 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1999/04/03 08:41:12 $ $Revision: 1.3 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 168 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci None 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci This extension provides a way for applications to determine which 245bd8deadSopenharmony_ci WGL extensions are supported by a device. This is the foundation 255bd8deadSopenharmony_ci upon which other WGL extensions are built. 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ciIssues 285bd8deadSopenharmony_ci 295bd8deadSopenharmony_ci Note that extensions that were previously advertised via glGetString 305bd8deadSopenharmony_ci (e.g., the swap interval extension) should continue to be advertised 315bd8deadSopenharmony_ci there so existing applications don't break. They should also be 325bd8deadSopenharmony_ci advertised via wglGetExtensionsStringEXT so new applications can make 335bd8deadSopenharmony_ci one call to find out which WGL extensions are supported. 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ciNew Procedures and Functions 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci const char *wglGetExtensionsStringEXT(void); 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ciNew Tokens 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ci None 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.2 Specification (OpenGL Operation) 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci None 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.2 Specification (Rasterization) 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci None 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations 525bd8deadSopenharmony_ciand the Frame buffer) 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci None 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.2 Specification (Special Functions) 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci None 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.2 Specification (State and State Requests) 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci None 635bd8deadSopenharmony_ci 645bd8deadSopenharmony_ciAdditions to the WGL Specification 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ci Advertising WGL Extensions 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci Applications should call wglGetProcAddress to see whether or not 695bd8deadSopenharmony_ci wglGetExtensionsStringEXT is supported. If it is supported then it 705bd8deadSopenharmony_ci can be used to determine which WGL extensions are supported by the device. 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci const char *wglGetExtensionsString(void); 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci If the function succeeds, it returns a list of supported 755bd8deadSopenharmony_ci extensions to WGL. Although the contents of the string is 765bd8deadSopenharmony_ci implementation specific, the string will be NULL terminated and 775bd8deadSopenharmony_ci will contain a space-separated list of extension names. (The 785bd8deadSopenharmony_ci extension names themselves do not contain spaces.) If there are no 795bd8deadSopenharmony_ci extensions then the empty string is returned. 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ci If the function fails, the return value is NULL. To get extended 825bd8deadSopenharmony_ci error information, call GetLastError. 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ciNew State 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci None 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ciNew Implementation Dependent State 895bd8deadSopenharmony_ci 905bd8deadSopenharmony_ci None 915bd8deadSopenharmony_ci 92