• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    SGI_swap_control
4
5Name Strings
6
7    GLX_SGI_swap_control
8
9Version
10
11    $Date: 1995/09/15 01:28:06 $ $Revision: 1.9 $
12
13Number
14
15    40
16
17Dependencies
18
19    None
20
21Overview
22
23    This extension allows an application to specify a minimum periodicity
24    of color buffer swaps, measured in video frame periods.
25
26New Procedures and Functions
27
28    int glXSwapIntervalSGI(int interval)
29
30New Tokens
31
32    None
33
34Additions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
35
36    None
37
38Additions to Chapter 3 of the 1.0 Specification (Rasterization)
39
40    None
41
42Additions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and
43the Framebuffer)
44
45    None
46
47Additions to Chapter 5 of the 1.0 Specification (Special Functions)
48
49    None
50
51Additions to Chapter 6 of the 1.0 Specification (State and State Requests)
52
53    None
54
55Additions to the GLX Specification
56
57    [Add the following to Section 3.2.6 of the GLX Specification (Double
58     Buffering)]
59
60    glXSwapIntervalSGI specifies the minimum number of video frame periods
61    per buffer swap.  (e.g. a value of two means that the color buffers
62    will be swapped at most every other video frame.)  A return value
63    of zero indicates success; otherwise an error occurred.  The interval
64    takes effect when glXSwapBuffers is first called subsequent to the
65    glXSwapIntervalSGI call.
66
67    A video frame period is the time required by the monitor to display a
68    full frame of video data.  In the case of an interlaced monitor,
69    this is typically the time required to display both the even and odd
70    fields of a frame of video data.
71
72Errors
73
74    glXSwapIntervalSGI returns GLX_BAD_VALUE if parameter <interval> is
75    less than or equal to zero.
76
77    glXSwapIntervalSGI returns GLX_BAD_CONTEXT if there is no current
78    GLXContext.
79
80New State
81
82    None
83
84    Get Value		Get Command	Type	    Initial Value
85    ---------		-----------	----	    -------------
86    [swap interval]	[none]		Z+	    1
87
88New Implementation Dependent State
89
90    None
91
92
93