15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci SGI_swap_control 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GLX_SGI_swap_control 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1995/09/15 01:28:06 $ $Revision: 1.9 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 40 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci None 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci This extension allows an application to specify a minimum periodicity 245bd8deadSopenharmony_ci of color buffer swaps, measured in video frame periods. 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciNew Procedures and Functions 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci int glXSwapIntervalSGI(int interval) 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciNew Tokens 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci None 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation) 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci None 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization) 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ci None 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and 435bd8deadSopenharmony_cithe Framebuffer) 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci None 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions) 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci None 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests) 525bd8deadSopenharmony_ci 535bd8deadSopenharmony_ci None 545bd8deadSopenharmony_ci 555bd8deadSopenharmony_ciAdditions to the GLX Specification 565bd8deadSopenharmony_ci 575bd8deadSopenharmony_ci [Add the following to Section 3.2.6 of the GLX Specification (Double 585bd8deadSopenharmony_ci Buffering)] 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ci glXSwapIntervalSGI specifies the minimum number of video frame periods 615bd8deadSopenharmony_ci per buffer swap. (e.g. a value of two means that the color buffers 625bd8deadSopenharmony_ci will be swapped at most every other video frame.) A return value 635bd8deadSopenharmony_ci of zero indicates success; otherwise an error occurred. The interval 645bd8deadSopenharmony_ci takes effect when glXSwapBuffers is first called subsequent to the 655bd8deadSopenharmony_ci glXSwapIntervalSGI call. 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci A video frame period is the time required by the monitor to display a 685bd8deadSopenharmony_ci full frame of video data. In the case of an interlaced monitor, 695bd8deadSopenharmony_ci this is typically the time required to display both the even and odd 705bd8deadSopenharmony_ci fields of a frame of video data. 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ciErrors 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci glXSwapIntervalSGI returns GLX_BAD_VALUE if parameter <interval> is 755bd8deadSopenharmony_ci less than or equal to zero. 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ci glXSwapIntervalSGI returns GLX_BAD_CONTEXT if there is no current 785bd8deadSopenharmony_ci GLXContext. 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ciNew State 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci None 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ci Get Value Get Command Type Initial Value 855bd8deadSopenharmony_ci --------- ----------- ---- ------------- 865bd8deadSopenharmony_ci [swap interval] [none] Z+ 1 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ciNew Implementation Dependent State 895bd8deadSopenharmony_ci 905bd8deadSopenharmony_ci None 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ci 93