glutSwapBuffers man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutSwapBuffers — Swaps the buffers for the current window.

LIBRARY
     OpenGLUT - window

SYNOPSIS
     #include <openglut.h>

     void
     glutSwapBuffers(void);

DESCRIPTION
     This function signals to OpenGLUT that you are done drawing to the	 cur‐
     rent window   for now.  If your window is double-buffered (  GLUT_DOUBLE
     param to glutInitDisplayMode()), then OpenGLUT will swap the front buffer
     with the back buffer.

     This also computes your current frame-rate and prints the result on
     stderr  if indicated by the  GLUT_FPS  environment variable.  The com‐
     puted value is not necessarily the total frame rate, if you have multiple
     windows, as the statistic is the total number of buffer-swaps for the
     entire program.

CAVEATS
     This function has no effect if your window is  GLUT_SINGLE	 .

     Frame rate is only calculated for double-buffered windows.

TODO
     How does this interact with overlays?

     Consider making  GLUT_FPS	keep per-window stats in a multi-window pro‐
     gram.

SEE ALSO
     glutPostRedisplay(3) glutPostOverlayRedisplay(3)
     glutPostWindowRedisplay(3) glutPostWindowOverlayRedisplay(3)
     glutInitDisplaymode(3)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net