15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci GLX_OML_swap_method 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GLX_OML_swap_method 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Jon Leech, SGI (ljp 'at' sgi.com) 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciStatus 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci Complete. Approved by the Khronos SIG on July 19, 2001. 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciVersion 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci Last Modified Date: 07/23/2001 205bd8deadSopenharmony_ci Revision: $Header: //depot/main/doc/registry/extensions/OML/glx_swap_method.spec#4 $ 215bd8deadSopenharmony_ci 225bd8deadSopenharmony_ciNumber 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ci 237 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciDependencies 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci GLX 1.3 is required. 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciOverview 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci This extension adds a new attribute, GLX_SWAP_METHOD, for a 335bd8deadSopenharmony_ci GLXFBConfig. The GLX_SWAP_METHOD indicates how front and back 345bd8deadSopenharmony_ci buffers are swapped when the GLXFBConfig is double-buffered. 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ciIP Status 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ci No known issues. 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ciIssues and Notes 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ci * Some hardware supports different swap methods in full screen mode 435bd8deadSopenharmony_ci vs. windowed mode. How should this be handled? This is not handled 445bd8deadSopenharmony_ci by this extension. GLX does not support the notion of fullscreen vs. 455bd8deadSopenharmony_ci windowed mode. A separate extension is required to properly support 465bd8deadSopenharmony_ci fullscreen mode. 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ciNew Procedures and Functions 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ci None. 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ciNew Tokens 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci Accepted in the <attrib_list> parameter array of glXChooseFBConfig 555bd8deadSopenharmony_ci and as the <attribute> parameter for glXGetFBConfigAttrib: 565bd8deadSopenharmony_ci 575bd8deadSopenharmony_ci GLX_SWAP_METHOD_OML 0x8060 585bd8deadSopenharmony_ci 595bd8deadSopenharmony_ciAccepted as a value in the <attrib_list> parameter of glXChooseFBConfig 605bd8deadSopenharmony_ciand returned in the <value> parameter of glXGetFBConfig: 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci GLX_SWAP_EXCHANGE_OML 0x8061 635bd8deadSopenharmony_ci GLX_SWAP_COPY_OML 0x8062 645bd8deadSopenharmony_ci GLX_SWAP_UNDEFINED_OML 0x8063 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ciAdditions to the OpenGL 1.2.1 Specification 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci None 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ciAdditions to the GLX 1.3 Specification 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci - (3.3.3, p. ?? "Configuration Management") 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci Add to table 3.1: 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci Attribute Type Notes 775bd8deadSopenharmony_ci --------- ---- ----- 785bd8deadSopenharmony_ci GLX_SWAP_METHOD_OML enum method used to swap front and back color buffers 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ci The GLX_SWAP_METHOD_OML attribute may be set to one of the following 825bd8deadSopenharmony_ci values: GLX_SWAP_EXCHANGE_OML, GLX_SWAP_COPY_OML or 835bd8deadSopenharmony_ci GLX_SWAP_UNDEFINED_OML. If this attribute is set to 845bd8deadSopenharmony_ci GLX_SWAP_EXCHANGE_OML then swapping exchanges the front and back 855bd8deadSopenharmony_ci buffer contents; if the attribute is set to GLX_SWAP_COPY_OML then 865bd8deadSopenharmony_ci swapping copies the back buffer contents to the front buffer, 875bd8deadSopenharmony_ci preserving the back buffer contents; if it is set to 885bd8deadSopenharmony_ci GLX_SWAP_UNDEFINED_OML then the back buffer contents are copied to 895bd8deadSopenharmony_ci the front buffer but the back buffer contents are undefined after 905bd8deadSopenharmony_ci the operation. If the GLXFBConfig does not support a back buffer, 915bd8deadSopenharmony_ci then the value of GLX_SWAP_METHOD_OML is set to 925bd8deadSopenharmony_ci GLX_SWAP_UNDEFINED_OML. 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci Add to table 3.4: 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ci Attribute Default Selection and Sorting Sort Priority 975bd8deadSopenharmony_ci Criteria 985bd8deadSopenharmony_ci --------- ------- --------------------- ------------- 995bd8deadSopenharmony_ci GLX_SWAP_METHOD_OML GLX_DONT_CARE Exact ??? 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ciNew State 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci None 1045bd8deadSopenharmony_ci 1055bd8deadSopenharmony_ciNew Implementation Dependent State 1065bd8deadSopenharmony_ci 1075bd8deadSopenharmony_ci None 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ciRevision History 1105bd8deadSopenharmony_ci 1115bd8deadSopenharmony_ci Revision 4, 07/24/2001 - Finalized Status for OpenML 1.0. 1125bd8deadSopenharmony_ci Revision 3, 07/11/2001 - Assign enum values. 1135bd8deadSopenharmony_ci Revision 2, 07/11/2001 - Assign extension numbers for the registry. 1145bd8deadSopenharmony_ci Revision 1 - change Paula's draft to use OML affix. 115