1GLXWAITGL() GLXWAITGL()
2
3
4
6 glXWaitGL - complete GL execution prior to subsequent X calls
7
8
10 void glXWaitGL( void )
11
12 delim $$
13
15 GL rendering calls made prior to glXWaitGL are guaranteed to be exe‐
16 cuted before X rendering calls made after glXWaitGL. Although this
17 same result can be achieved using glFinish, glXWaitGL does not require
18 a round trip to the server, and it is therefore more efficient in cases
19 where client and server are on separate machines.
20
21 glXWaitGL is ignored if there is no current GLX context.
22
24 glXWaitGL may or may not flush the X stream.
25
27 GLXBadCurrentWindow is generated if the drawable associated with the
28 current context of the calling thread is a window, and that window is
29 no longer valid.
30
32 glFinish, glFlush, glXWaitX, XSync
33
34
35
36
37 GLXWAITGL()