30 Sun XVR-600 Graphics Accelerator Installation and User’s Guide • May 2004
Enabling Multisampling for All Sun OpenGL for
Solaris Applications
1. Use fbconfig to enable all Sun OpenGL for Solaris application windows for
multisampling.
This enables multisampling for all Sun OpenGL for Solaris applications.
2. Log out, then log back in.
Multisampling
Multisample allocation occurs when the window system is started or restarted. The
configuration samples-per-pixel parameter specifies the depth that is pre-allocated.
TABLE 5-1 describes the fbconfig -multisample options.
-multisample [available | disable | forceon]
Sample Density
The -samples option specifies the number of samples per pixel to allocate when
multisample is not set to disable. The available -sample density are 1, 2, 4, or 8.
-samples [1|2|4|8|adaptive]
The maximum sample density is 8 samples per pixel. Using -samples 8, the
sample density is automatically allocated based on the frame buffer memory and
video resources available to the stream as the window system starts up. Though the
allowable choices are 1 to 8, a very high sample density can be allocated only at low
resolution. See “Disabling Multisampling” on page 31.
host% fbconfig -dev jfb0 -multisample forceon
TABLE 5-1 Multisample Options
Option Description
available Multisample is possible but is selected on a per application basis or
per visual basis.
disable No multisample is possible. disable is the default.
forceon Multisampling for all Sun OpenGL for Solaris windows. (force is
an acceptable abbreviation for this option.)