man-pages/man3/XdbeAllocateBackBufferName.3.html
2021-03-31 01:06:50 +01:00

90 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XdbeAllocateBackBufferName</TITLE>
</HEAD><BODY>
<H1>XdbeAllocateBackBufferName</H1>
Section: X FUNCTIONS (3)<BR>Updated: libXext 1.3.4<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
XdbeAllocateBackBufferName - allocates a DBE buffer.
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
#include &lt;<A HREF="file:///usr/include/X11/extensions/Xdbe.h">X11/extensions/Xdbe.h</A>&gt;
<P>
XdbeBackBuffer XdbeAllocateBackBufferName(
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Display&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*dpy,
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window,
<BR>&nbsp;&nbsp;&nbsp;&nbsp;XdbeSwapAction&nbsp;swap_action)
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This function returns a drawable ID used to refer to the back buffer of the
specified window. The swap_action is a hint to indicate the swap action that
will likely be used in subsequent calls to
<B>XdbeSwapBuffers().</B>
The actual swap
action used in calls to
<B>XdbeSwapBuffers()</B>
does not have to be the same as the
swap_action passed to this function, though clients are encouraged to provide
accurate information whenever possible.
<A NAME="lbAE">&nbsp;</A>
<H2>ERRORS</H2>
<DL COMPACT>
<DT id="1">BadAlloc<DD>
<DT id="2">BadIDChoice<DD>
<DT id="3">BadMatch<DD>
The specified window is not an InputOutput window or its visual does not
support DBE.
<DT id="4">BadValue<DD>
An invalid swap action was specified.
<DT id="5">BadWindow<DD>
An invalid window was specified.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
DBE,
<I>XdbeBeginIdiom(),</I>
<I>XdbeDeallocateBackBufferName(),</I>
<I>XdbeEndIdiom(),</I>
<I>XdbeFreeVisualInfo(),</I>
<I>XdbeGetBackBufferAttributes(),</I>
<I>XdbeGetVisualInfo(),</I>
<I>XdbeQueryExtension(),</I>
<I>XdbeSwapBuffers().</I>
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAE">ERRORS</A><DD>
<DT id="10"><A HREF="#lbAF">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:00 GMT, March 31, 2021
</BODY>
</HTML>