[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glXWaitGL Subroutine

Purpose

Completes OpenGL processing prior to subsequent X calls.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glXWaitGL( void )

Description

The glXWaitGL subroutine ensures that OpenGL processing is complete before any subsequent X calls are processed. Any OpenGL rendering calls made prior to the glXWaitGL subroutine are completed before any X rendering calls made after glXWaitGL. Although this same result can be achieved using glFinish, the glXWaitGL subroutine does not require a round-trip to the server. Therefore, glXWaitGL is more efficient in cases where the client and server are on separate machines.

The glXWaitGL subroutine is ignored if there is no current GLX context.

Notes

Using the glXWaitGL subroutine may or may not flush the X stream.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glFinish subroutine, glFlush subroutine, glXWaitX subroutine.

The XSync function.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]