15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci WGL_ARB_extensions_string 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci WGL_ARB_extensions_string 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Pat Brown, NVIDIA (pbrown 'at' nvidia.com) 125bd8deadSopenharmony_ci Paula Womack 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ciNotice 155bd8deadSopenharmony_ci 165bd8deadSopenharmony_ci Copyright (c) 2000-2013 The Khronos Group Inc. Copyright terms at 175bd8deadSopenharmony_ci http://www.khronos.org/registry/speccopyright.html 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciSpecification Update Policy 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci Khronos-approved extension specifications are updated in response to 225bd8deadSopenharmony_ci issues and bugs prioritized by the Khronos OpenGL Working Group. For 235bd8deadSopenharmony_ci extensions which have been promoted to a core Specification, fixes will 245bd8deadSopenharmony_ci first appear in the latest version of that core Specification, and will 255bd8deadSopenharmony_ci eventually be backported to the extension document. This policy is 265bd8deadSopenharmony_ci described in more detail at 275bd8deadSopenharmony_ci https://www.khronos.org/registry/OpenGL/docs/update_policy.php 285bd8deadSopenharmony_ci 295bd8deadSopenharmony_ciStatus 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ci Complete. Approved by ARB on March 15, 2000 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ciVersion 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ci Last Modified Date: July 29, 2008 365bd8deadSopenharmony_ci Author Revision: 1.2 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ciNumber 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ci ARB Extension #8 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ciDependencies 435bd8deadSopenharmony_ci 445bd8deadSopenharmony_ci None 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ciOverview 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci This extension provides a way for applications to determine which 495bd8deadSopenharmony_ci WGL extensions are supported by a device. This is the foundation 505bd8deadSopenharmony_ci upon which other WGL extensions are built. 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ciIP Status 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci No issues. 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ciIssues 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci 1. Note that extensions that were previously advertised via 595bd8deadSopenharmony_ci glGetString (e.g., the swap interval extension) should continue to 605bd8deadSopenharmony_ci be advertised there so existing applications don't break. They 615bd8deadSopenharmony_ci should also be advertised via wglGetExtensionsStringARB so new 625bd8deadSopenharmony_ci applications can make one call to find out which WGL extensions are 635bd8deadSopenharmony_ci supported. 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci 2. Should this function take an hdc? It seems like a good idea. At 665bd8deadSopenharmony_ci some point MS may want to incorporate this into OpenGL32. If they 675bd8deadSopenharmony_ci do this and and they want to support more than one ICD, then an HDC 685bd8deadSopenharmony_ci would be needed. 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ciNew Procedures and Functions 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci const char *wglGetExtensionsStringARB(HDC hdc); 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ciNew Tokens 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci None 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.2 Specification (OpenGL Operation) 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci None 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.2 Specification (Rasterization) 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ci None 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations 875bd8deadSopenharmony_ciand the Frame buffer) 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ci None 905bd8deadSopenharmony_ci 915bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.2 Specification (Special Functions) 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ci None 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.2 Specification (State and State Requests) 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ci None 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ciAdditions to the WGL Specification 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ciAdvertising WGL Extensions 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci Applications should call wglGetProcAddress to see whether or not 1045bd8deadSopenharmony_ci wglGetExtensionsStringARB is supported. If it is supported then it 1055bd8deadSopenharmony_ci can be used to determine which WGL extensions are supported by the 1065bd8deadSopenharmony_ci device. 1075bd8deadSopenharmony_ci 1085bd8deadSopenharmony_ci const char *wglGetExtensionsStringARB(HDC hdc); 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ci <hdc> device context to query extensions for 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ci If the function succeeds, it returns a list of supported extensions 1135bd8deadSopenharmony_ci to WGL. Although the contents of the string is implementation 1145bd8deadSopenharmony_ci specific, the string will be NULL terminated and will contain a 1155bd8deadSopenharmony_ci space-separated list of extension names. (The extension names 1165bd8deadSopenharmony_ci themselves do not contain spaces.) If there are no extensions then 1175bd8deadSopenharmony_ci the empty string is returned. 1185bd8deadSopenharmony_ci 1195bd8deadSopenharmony_ci If <hdc> does not indicate a valid device context then the function 1205bd8deadSopenharmony_ci fails and the error ERROR_DC_NOT_FOUND is generated. If the function 1215bd8deadSopenharmony_ci fails, the return value is NULL. To get extended error information, 1225bd8deadSopenharmony_ci call GetLastError. 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ciNew State 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ci None 1275bd8deadSopenharmony_ci 1285bd8deadSopenharmony_ciNew Implementation Dependent State 1295bd8deadSopenharmony_ci 1305bd8deadSopenharmony_ci None 1315bd8deadSopenharmony_ci 1325bd8deadSopenharmony_ciRevision History 1335bd8deadSopenharmony_ci 1345bd8deadSopenharmony_ci Changes from EXT_extension_string: 1355bd8deadSopenharmony_ci 1365bd8deadSopenharmony_ci Added hdc parameter to facilitate moving this function into OPENGL32 1375bd8deadSopenharmony_ci Added WGL to name to avoid name collisions with GL and GLX 1385bd8deadSopenharmony_ci 1395bd8deadSopenharmony_ci 03/12/2002 1.1 1405bd8deadSopenharmony_ci - Updated contact information. 1415bd8deadSopenharmony_ci 1425bd8deadSopenharmony_ci 07/29/2008 1.2 1435bd8deadSopenharmony_ci - Updated contact information. 144