head	1.1;
branch	1.1.1;
access;
symbols
	libXext-1-3-7:1.1.1.5
	netbsd-11-0-RC6:1.1.1.4
	netbsd-11-0-RC5:1.1.1.4
	netbsd-11-0-RC4:1.1.1.4
	netbsd-11-0-RC3:1.1.1.4
	netbsd-11-0-RC2:1.1.1.4
	netbsd-11-0-RC1:1.1.1.4
	netbsd-11:1.1.1.4.0.4
	netbsd-11-base:1.1.1.4
	netbsd-10-1-RELEASE:1.1.1.4
	libXext-1-3-6:1.1.1.4
	netbsd-8-3-RELEASE:1.1.1.3
	netbsd-9-4-RELEASE:1.1.1.3
	netbsd-10-0-RELEASE:1.1.1.4
	netbsd-10-0-RC6:1.1.1.4
	netbsd-10-0-RC5:1.1.1.4
	netbsd-10-0-RC4:1.1.1.4
	netbsd-10-0-RC3:1.1.1.4
	netbsd-10-0-RC2:1.1.1.4
	netbsd-10-0-RC1:1.1.1.4
	netbsd-10:1.1.1.4.0.2
	netbsd-10-base:1.1.1.4
	libXext-1-3-5:1.1.1.4
	netbsd-9-3-RELEASE:1.1.1.3
	netbsd-9-2-RELEASE:1.1.1.3
	netbsd-9-1-RELEASE:1.1.1.3
	netbsd-8-2-RELEASE:1.1.1.3
	netbsd-9-0-RELEASE:1.1.1.3
	netbsd-9-0-RC2:1.1.1.3
	netbsd-9-0-RC1:1.1.1.3
	netbsd-9:1.1.1.3.0.12
	netbsd-9-base:1.1.1.3
	netbsd-8-1-RELEASE:1.1.1.3
	netbsd-8-1-RC1:1.1.1.3
	libXext-1-3-4:1.1.1.3
	netbsd-7-2-RELEASE:1.1.1.3
	netbsd-8-0-RELEASE:1.1.1.3
	netbsd-8-0-RC2:1.1.1.3
	netbsd-8-0-RC1:1.1.1.3
	netbsd-7-1-2-RELEASE:1.1.1.3
	netbsd-7-1-1-RELEASE:1.1.1.3
	netbsd-8:1.1.1.3.0.10
	netbsd-8-base:1.1.1.3
	netbsd-7-1:1.1.1.3.0.8
	netbsd-7-1-RELEASE:1.1.1.3
	netbsd-7-1-RC2:1.1.1.3
	netbsd-7-1-RC1:1.1.1.3
	netbsd-7-0-2-RELEASE:1.1.1.3
	netbsd-7-0-1-RELEASE:1.1.1.3
	netbsd-7-0:1.1.1.3.0.6
	netbsd-7-0-RELEASE:1.1.1.3
	netbsd-7-0-RC3:1.1.1.3
	netbsd-7-0-RC2:1.1.1.3
	libXext-1-3-3:1.1.1.3
	netbsd-7-0-RC1:1.1.1.3
	netbsd-5-2-3-RELEASE:1.1.1.1
	netbsd-5-1-5-RELEASE:1.1.1.1
	netbsd-6-0-6-RELEASE:1.1.1.2
	netbsd-6-1-5-RELEASE:1.1.1.2
	netbsd-7:1.1.1.3.0.4
	netbsd-7-base:1.1.1.3
	netbsd-6-1-4-RELEASE:1.1.1.2
	netbsd-6-0-5-RELEASE:1.1.1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3
	riastradh-drm2:1.1.1.3.0.2
	riastradh-drm2-base:1.1.1.3
	netbsd-6-1-3-RELEASE:1.1.1.2
	netbsd-6-0-4-RELEASE:1.1.1.2
	netbsd-5-2-2-RELEASE:1.1.1.1
	netbsd-5-1-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.1.1.2
	netbsd-6-0-3-RELEASE:1.1.1.2
	netbsd-5-2-1-RELEASE:1.1.1.1
	netbsd-5-1-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.1.1.2
	libXext-1-3-2:1.1.1.3
	netbsd-6-1:1.1.1.2.0.6
	netbsd-6-0-2-RELEASE:1.1.1.2
	netbsd-6-1-RELEASE:1.1.1.2
	netbsd-6-1-RC4:1.1.1.2
	netbsd-6-1-RC3:1.1.1.2
	netbsd-6-1-RC2:1.1.1.2
	netbsd-6-1-RC1:1.1.1.2
	netbsd-5-2:1.1.1.1.0.8
	netbsd-6-0-1-RELEASE:1.1.1.2
	netbsd-5-2-RELEASE:1.1.1.1
	netbsd-5-2-RC1:1.1.1.1
	netbsd-6-0:1.1.1.2.0.4
	netbsd-6-0-RELEASE:1.1.1.2
	netbsd-6-0-RC2:1.1.1.2
	netbsd-6-0-RC1:1.1.1.2
	netbsd-6:1.1.1.2.0.2
	netbsd-6-base:1.1.1.2
	netbsd-5-1-2-RELEASE:1.1.1.1
	netbsd-5-1-1-RELEASE:1.1.1.1
	libXext-1-3-0:1.1.1.2
	libXext-1-2-0:1.1.1.2
	netbsd-5-1:1.1.1.1.0.6
	netbsd-5-1-RELEASE:1.1.1.1
	netbsd-5-1-RC4:1.1.1.1
	libXext-1-1-2:1.1.1.1
	netbsd-5-1-RC3:1.1.1.1
	libXext-1-1-1:1.1.1.1
	netbsd-5-1-RC2:1.1.1.1
	netbsd-5-1-RC1:1.1.1.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	netbsd-5-0-1-RELEASE:1.1.1.1
	netbsd-5-0:1.1.1.1.0.4
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	netbsd-5-0-RC1:1.1.1.1
	netbsd-5:1.1.1.1.0.2
	netbsd-5-base:1.1.1.1
	libXext-1-0-4:1.1.1.1
	xorg:1.1.1;
locks; strict;
comment	@.\" @;


1.1
date	2008.07.30.02.47.10;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2008.07.30.02.47.10;	author mrg;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2010.11.21.05.47.49;	author mrg;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2013.06.01.07.41.36;	author mrg;	state Exp;
branches;
next	1.1.1.4;
commitid	sCcrfllac9xWQSRw;

1.1.1.4
date	2022.10.29.20.59.56;	author mrg;	state Exp;
branches;
next	1.1.1.5;
commitid	25zRKYWCNYHdNEZD;

1.1.1.5
date	2026.07.11.23.15.30;	author mrg;	state Exp;
branches;
next	;
commitid	MVCwOGhiRbtk7iNG;


desc
@@


1.1
log
@Initial revision
@
text
@.\" $Xorg: XdbeGetV.man,v 1.3 2000/08/17 19:41:55 cpqbld Exp $
.\"
.\" Copyright (c) 1995  Hewlett-Packard Company
.\" 
.\" Permission is hereby granted, free of charge, to any person obtaining a
.\" copy of this software and associated documentation files (the "Software"), 
.\" to deal in the Software without restriction, including without limitation 
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, 
.\" and/or sell copies of the Software, and to permit persons to whom the 
.\" Software furnished to do so, subject to the following conditions:
.\" 
.\" The above copyright notice and this permission notice shall be included in
.\" all copies or substantial portions of the Software.
.\" 
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
.\" HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
.\" SOFTWARE.
.\" 
.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not 
.\" be used in advertising or otherwise to promote the sale, use or other 
.\" dealing in this Software without prior written authorization from the 
.\" Hewlett-Packard Company.
.\"
.\" $XFree86: xc/doc/man/Xext/dbe/XdbeGetV.man,v 3.5 2001/02/07 22:35:22 tsi Exp $
.\"
.TH XdbeGetVisualInfo __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
XdbeGetVisualInfo - Get dbe Visual Informations
.SH SYNOPSIS
\&#include <X11/extensions/Xdbe.h>

XdbeScreenVisualInfo *XdbeGetVisualInfo(
    Display  *dpy,
    Drawable *screen_specifiers,
    int      *num_screens)
.SH DESCRIPTION
This function returns information about which visuals support double
buffering.  The argument
.I num_screens
specifies how many elements there are 
in the
.I screen_specifiers
list.  Each drawable in
.I screen_specifiers
designates a 
screen for which the supported visuals are being requested.  If
.I num_screens
is zero, information for all screens is requested.  In this case, upon return
from this function,
.I num_screens
will be set to the number of screens that were
found.  If an error occurs, this function returns NULL, else it returns a
pointer to a list of
.I XdbeScreenVisualInfo
structures of length
.I num_screens.
The nth
element in the returned list corresponds to the nth drawable in the 
.I screen_specifiers
list, unless
.I num_screens
was passed in with the value zero,
in which case the nth element in the returned list corresponds to the nth screen
of the server, starting with screen zero.  The
.I XdbeScreenVisualInfo
structure has the following fields:

     int            count
     XdbeVisualInfo *visinfo

.I count
specifies the number of items in
.I visinfo.
.I visinfo
specifies a list of visuals, depths, and performance hints for this screen.

The
.I XdbeVisualInfo
structure has the following fields:

     VisualID visual
     int      depth
     int      perflevel

.I visual
specifies one visual ID that supports double-buffering.
.I depth
specifies the depth of the visual.
.I perflevel
is a performance hint.

The only operation defined on a
.I perflevel
is comparison to a
.I perflevel
of another visual on the same screen.  The visual having the higher
.I perflevel
is likely to have better double-buffering graphics performance than the visual
having the lower
.I perflevel.
Nothing can be deduced from the following: the magnitude of the difference
of two
.I perflevels,
a
.I perflevel
value in isolation, or comparing
.I perflevels
from different servers.

.SH ERRORS
.IP BadDrawable
One or more values passed in
.I screen_specifiers
is not a valid drawable.
.SH SEE ALSO
DBE,
.I XdbeAllocateBackBufferName(),
.I XdbeBeginIdiom(),
.I XdbeDeallocateBackBufferName(),
.I XdbeEndIdiom(),
.I XdbeFreeVisualInfo(),
.I XdbeGetBackBufferAttributes(),
.I XdbeQueryExtension(),
.I XdbeSwapBuffers().

@


1.1.1.1
log
@initial import of libXext-1.0.4
@
text
@@


1.1.1.2
log
@initial import of libXext-1.2.0
@
text
@d1 2
d28 2
@


1.1.1.3
log
@initial import of libXext-1.3.2
@
text
@d2 1
a2 1
.\"
d4 4
a7 4
.\" copy of this software and associated documentation files (the "Software"),
.\" to deal in the Software without restriction, including without limitation
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
.\" and/or sell copies of the Software, and to permit persons to whom the
d9 1
a9 1
.\"
d12 1
a12 1
.\"
d15 4
a18 4
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
.\" HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
d20 4
a23 4
.\"
.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
.\" be used in advertising or otherwise to promote the sale, use or other
.\" dealing in this Software without prior written authorization from the
d40 1
a40 1
specifies how many elements there are
d45 1
a45 1
designates a
d58 1
a58 1
element in the returned list corresponds to the nth drawable in the
@


1.1.1.4
log
@initial import of libXext-1.3.5
@
text
@d28 1
a28 1
XdbeGetVisualInfo - Get dbe Visual Information
@


1.1.1.5
log
@initial import of libXext-1.3.7
@
text
@d26 1
a26 1
.TH XdbeGetVisualInfo __libmansuffix__ 1996-03-11 __xorgversion__
a29 1
.nf
d31 1
a31 1
.sp
a35 1
.fi
d43 1
a43 2
list.
Each drawable in
d46 1
a46 2
screen for which the supported visuals are being requested.
If
d48 2
a49 2
is zero, information for all screens is requested.
In this case, upon return from this function,
d51 2
a52 2
will be set to the number of screens that were found.
If an error occurs, this function returns NULL, else it returns a
d54 1
a54 1
.B XdbeScreenVisualInfo
d64 2
a65 3
of the server, starting with screen zero.
The
.B XdbeScreenVisualInfo
d67 1
a67 1
.nf
d70 1
a70 1
.fi
d76 1
a76 1
.PP
d78 1
a78 1
.B XdbeVisualInfo
d80 1
a80 1
.nf
d84 1
a84 1
.fi
d91 1
a91 1
.PP
d96 1
a96 2
of another visual on the same screen.
The visual having the higher
d100 4
a103 4
.IR perflevel .
Nothing can be deduced from the following:
the magnitude of the difference of two
.IR perflevels ,
d109 1
d116 10
a125 9
.BR DBE (__libmansuffix__),
.BR XdbeAllocateBackBufferName (__libmansuffix__),
.BR XdbeBeginIdiom (__libmansuffix__),
.BR XdbeDeallocateBackBufferName (__libmansuffix__),
.BR XdbeEndIdiom (__libmansuffix__),
.BR XdbeFreeVisualInfo (__libmansuffix__),
.BR XdbeGetBackBufferAttributes (__libmansuffix__),
.BR XdbeQueryExtension (__libmansuffix__),
.BR XdbeSwapBuffers (__libmansuffix__).
@


