configuring X Windows on HP-UX (other graphics cards)

ATI FireGL X1/T2/X3 configuration hintsATI FireGL X1/T2/X3 configuration hintsoverlay visuals and overlay transparency

FireGL devices support both depth 8 PseudoColor and depth 24 TrueColor overlay visuals. The depth 8 PseudoColor visuals with transparency are enabled by default for compatibility with previous devices. An opaque depth 8 PseudoColor visual can be enabled by setting the EnableOpaqueOverlayVisual screen option described in the previous section. This option is useful for applications that require allocation of all 256 entries in the colormap with no index mapping to transparency.

The SERVER_OVERLAY_VISUALS property is attached to the root window. The default overlay visual has a transparent type of "1" (TransparentPixel). If you need an overlay colormap that supports transparency, create the colormap using the visual that has transparency in its SERVER_OVERLAY_VISUALS property. See the Fire GL-UX configuration hints section for a code fragment .

The depth 24 TrueColor overlay visual is enabled by setting the TrueColorOverlay screen option described in the previous section. To make the TrueColor overlay visual the default, also set the DefaultVisualTrueColor screen option. The SERVER_OVERLAY_VISUALS property will not report this visual.

Overlay visuals are disabled completely when a Single Logical Screen configuration is enabled, or when using a display with at width of greater than 1920 pixels.

colormaps

FireGL devices have a colormap per window for windows created in the overlay visuals. There is a single colormap in the image planes. The image colormap is reserved for gamma correction and is not directly available to X clients.

78

Chapter 3