Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glwdrawingareaswapbuffers(3x) [xfree86 man page]

GLwDrawingAreaSwapBuffers(3X)											     GLwDrawingAreaSwapBuffers(3X)

NAME
GLwDrawingAreaSwapBuffers -- Swap buffers in a GLwDrawingArea. SYNOPSIS
#include <GL/GLwDraw.h> void GLwDrawingAreaSwapBuffers( Widget w ) DESCRIPTION
GLwDrawingAreaSwapBuffers is a front end to glXSwapBuffers, however instead of passing in a Display and a Window, a Widget is passed in. SEE ALSO
GLwMDrawingArea(3X), glXSwapBuffers(3G). GLwDrawingAreaSwapBuffers(3X)

Check Out this Related Man Page

GLXSWAPBUFFERS(3G)						   OpenGL Manual						GLXSWAPBUFFERS(3G)

NAME
glXSwapBuffers - exchange front and back buffers C SPECIFICATION
void glXSwapBuffers(Display * dpy, GLXDrawable drawable); PARAMETERS
dpy Specifies the connection to the X server. drawable Specifies the drawable whose buffers are to be swapped. DESCRIPTION
glXSwapBuffers promotes the contents of the back buffer of drawable to become the contents of the front buffer of drawable. The contents of the back buffer then become undefined. The update typically takes place during the vertical retrace of the monitor, rather than immediately after glXSwapBuffers is called. glXSwapBuffers performs an implicit glFlush() before it returns. Subsequent OpenGL commands may be issued immediately after calling glXSwapBuffers, but are not executed until the buffer exchange is completed. If drawable was not created with respect to a double-buffered visual, glXSwapBuffers has no effect, and no error is generated. NOTES
The contents of the back buffer become undefined after a swap. Note that this applies to pixel buffers as well as windows. All GLX rendering contexts share the same notion of which are front buffers and which are back buffers. One consequence is that when multiple clients are rendering to the same double-buffered window, all of them should finish rendering before one of them issues the command to swap buffers. The clients are responsible for implementing this synchronization. Typically this is accomplished by executing glFinish() and then using a semaphore in shared memory to rendezvous before swapping. ERRORS
GLXBadDrawable is generated if drawable is not a valid GLX drawable. GLXBadCurrentWindow is generated if dpy and drawable are respectively the display and drawable associated with the current context of the calling thread, and drawable identifies a window that is no longer valid. SEE ALSO
glFlush() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLXSWAPBUFFERS(3G)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No xorg.conf or XF86Config

There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine: # locate xorg.conf /usr/local/man/man5/xorg.conf.5.gz # locate XF86Config # Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
Discussion started by: figaro
6 Replies

2. Shell Programming and Scripting

Can a script resize it's own mintty console?

I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu. Platform is Cygwin 64 running over Win 7 Pro. Mike (4 Replies)
Discussion started by: Michael Stora
4 Replies

3. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

4. Fedora

Fedora 30 and Slackware 14.2, how to obtain the same rendering?

Look this very good rendering on Slackware 14.2 in my opinion is near perfect. https://i.stack.imgur.com/q5trL.png Now look the same page on Fedora 30 https://i.stack.imgur.com/FBQv7.png In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)
Discussion started by: Linusolaradm1
20 Replies