Saturday, October 28, 2017

OpenGL client-server Model

OpenGL is also designed to work with X Window System, wherein, multiple computers are connected to one another via network and the computer that displays the graphics you create might not be the computer that runs your graphics program. In which case, the computer on which your program runs and issues OpenGL drawing commands is called the client and the computer that receives those commands and performs the drawing is called the server. OpenGL programs can work across a network even if the client and server are different kinds of computers as the protocol for transmitting OpenGL commands is always the same. 

If an OpenGL program is not running across a network, then there must only be one computer and is both the client and server.