HP c8000 manual Hp Fire GL-UX configuration hints, Overlay visuals and overlay transparency

Page 74

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

hp Fire GL-UX configuration hints

hp Fire GL-UX configuration hints

overlay visuals and overlay transparency

HP Fire GL-UX devices have one visual in the overlay planes, depth-8 PseudoColor. To allow applications to determine which visuals are in the overlay planes, overlay visuals are listed in the "SERVER_OVERLAY_VISUALS" property attached to the root window. The default overlay visual has a transparent type of "1" (Transparent- Pixel).

If you need an overlay colormap that supports transparency, create the colormap using the visual that has transparency in its SERVER_OVERLAY_VISUALS property. To look at the contents of this property, you would use code similar to the following:

{

typedef struct {

 

VisualID

overlayVisualID;

Card32

transparentType;

/* None, TransparentPixel, TransparentMask */

Card32

value;

/* Either pixel value or pixel mask */

Card32

layer;

}OverlayVisualPropertyRec; OverlayVisualPropertyRec *pOverlayVisuals, *pOVis;

XVisualInfogetVis;

XVisualInfo

*pVisuals;

Atom

overlayVisualsAtom, actualType;

...

 

/* Get the visuals for this screen and allocate. */

getVis.screen

= screen;

pVisuals

= XGetVisualInfo(display, VisualScreenMask,

 

&getVis, &nVisuals);

pOverlayVisuals = (OverlayVisualPropertyRec *) malloc ( (size_t)nVisuals *

sizeof(OverlayVisualPropertyRec) );

/*

**Get the overlay visual information for this screen. Obtain

**this information from the SERVER_OVERLAY_VISUALS property.

*/

overlayVisualsAtom = XInternAtom(display,"SERVER_OVERLAY_VISUALS",

True);

if (overlayVisualsAtom != None)

72

Chapter 3

Image 74
Contents Graphics administration guide Manufacturing Part Number B2355-IE003 Edition E0206Legal notice Contents Contents Windows configuration details Examples printing a key map Preface Preface Product Dis Obsoleted On Name NumberDocument conventions Document conventions Chapter Configuring X Windows on HP-UX Configuring X Windows on HP-UX HP Visualize graphics cards Graphics cards, see in this documentServer configuration Syntax guidelines Description of the X*screens configuration fileScreens file X*screens file formatScreen /dev/crt Server optionsTransparent DefaultVisualScreen entries Sample X*screens files MinimumMonitorPowerSaveLevel valueScreenOptions Two physical displays, two separate screens Screen /dev/crt DefaultVisual Transparent Two physical displays, single logical screen Four physical displays, single logical screenDev/crt0 Dev/crt1 Dev/crt2 Dev/crt3 Host0.0 Performing buffer swaps on vertical blank Miscellaneous topicsDouble buffer extensions Supported devices Display power management signaling DpmsDetermining swap performance Power saving states defined by Vesa Shared memory extension MitshmMulti-Display Supported X configurationsMulti-display support Single logical screen Multi-ScreenDevice #2 Multi-screen support Single logical screen SLS3D acceleration and single logical screen Hp CDE and single logical screenServer configuration Hp Visualize- FXE, FX5 and FX10 device-dependent information Supported visualsDisabling the GLX visuals Hp VISUALIZE-FXE/5/10 configuration hintsSupported screen options Overlay visuals and overlay transparencyHp VISUALIZE-FXE/5/10 colormaps Changing the monitor typeOther graphics cards Configuring X Windows on HP-UX other graphics cards Using SAM to configure X Windows Using SAM to configure X Windows Using setmon to configure the monitor XF86Config file XF86Config file formatServerLayout section Absolute RightOf LeftOf Above Below Relative XF86Config file Option Value Default Description Files section Usr/lib/X11/Xserver/modules/xf86 Opt/graphics/common/lib Module section InputDevice section Option Value DescriptionScreen section XF86Config file Display subsection Entry Description PositionXF86Config file Monitor section Device section XF86Config file Sample XF86Config file Sample XF86Config file Sample XF86Config file Determining swap performance ExtensionsDouble buffer extension DBE Display power management signaling Dpms Dpms Dynamic library loading Glx visual suppression FeaturesCursor scaling Visuals suppression Security Technical print service TPSVirtual frame buffer Xvfb Class DefaultVisual optionStarting the X Server from the command line Depth Minimum monitor power save level optionDisableGlxVisuals NoServerLoggingHideDuplicateGlxVisuals Pointers Input devicesKeyboards Supported visuals Output devicesHp Fire GL-UX device-dependent information Supported device optionsSupported monitor configurations Option Overlay True Option TransparentIndex0ATI FireGL X1/T2/X3 device-dependent information TrueColor optional Overlay Image FSAAScale Supported monitor configurations Hp Fire GL-UX configuration hints Overlay visuals and overlay transparencyNumLongs/sizeofOverlayVisualPropertyRec HP Fire GL-UX Colormaps Hints ATI FireGL System requirementsHardware compatibility table X1/X3/T2-128Miscellaneous FontsFiles File DescriptionATI FireGL X1/T2/X3 configuration hints Gamma correction Windows configuration details Using an /etc/hosts file Making an x*.hosts fileChanging mouse button actions Customizing the mouse and keyboardStopping the X Window system Modifying modifier key bindings with xmodmap Specifying key remapping expressions To do this Use this expressionExamples Printing a key mapMaking an x*.hosts file Making an x*.hosts file Chapter
Related manuals
Manual 27 pages 63.95 Kb Manual 8 pages 32.71 Kb Manual 62 pages 533 b