EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
C
glXChooseVisual
Chapter 3
48
GLX_ACCUM_GREEN_SIZE
Must be followed by a nonnegative minimum size specification. If this value is zero,
visuals with no green accumulation buffer are preferred. Otherwise, the largest possible
green accumulation buffer of at least the minimum size is preferred.
GLX_ACCUM_BLUE_SIZE
Must be followed by a nonnegative minimum size specification. If this value is zero,
visuals with no blue accumulation buffer are preferred. Otherwise, the largest possible
blue accumulation buffer of at least the minimum size is preferred.
GLX_ACCUM_ALPHA_SIZE
Must be followed by a nonnegative minimum size specification. If this value is zero,
visuals with no alpha accumulation buffer are preferred. Otherwise, the largest possible
alpha accumulation buffer of at least the minimum size is preferred.
Examples
attribList =
GLX_RGBA,
GLX_RED_SIZE, 4,
GLX_GREEN_SIZE, 4,
GLX_BLUE_SIZE, 4,
None};
Specifies a single-buffered RGB visual in the normal frame buffer, not an overlay or
underlay buffer. The returned visual supports at least four bits each of red, green, and
blue, and possibly no bits of alpha. It does not support color index mode,
double-buffering, or stereo display. It may or may not have one or more auxiliary color
buffers, a depth buffer, a stencil buffer, or an accumulation buffer.
Notes
XVisualInfo is defined in Xutil.h. It is a structure that includes visual, visualID, screen,
and depth elements.
glXChooseVisual is implemented as a client-side utility using only XGetVisualInfo and
glXGetConfig. Calls to these two routines can be used to implement selection algorithms
other than the generic one implemented by glXChooseVisual.
GLX implementers are strongly discouraged, but not proscribed, from changing the
selection algorithm used by glXChooseVisual. Therefore, selections may change from
release to release of the client-side library.
There is no direct filter for picking only visuals that support GLXPixmaps. GLXPixmaps
are supported for visuals whose GLX_BUFFER_SIZE is one of the pixmap depths
supported by the X server.
Errors
NULL is returned if an undefined GLX attribute is encountered in attribList.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals