HP c8000 manual NumLongs/sizeofOverlayVisualPropertyRec

Page 75

configuring X Windows on HP-UX (other graphics cards) hp Fire GL-UX configuration hints

{

/* Since the Atom exists, request the property's contents. */ bytesAfter = 0;

numLongs = (nVisuals * sizeof(OverlayVisualPropertyRec) + 3 ) / 4;

XGetWindowProperty(display, RootWindow(display, screen), overlayVisualsAtom, 0, numLongs, False, AnyPropertyType, &actualType, &actualFormat, &numLongs, &bytesAfter, &pOverlayVisuals);

if (bytesAfter != 0 ) {/* Serious Failure Here */} ;

/* Loop through the pOverlayVisuals array. */

 

...

 

nOVisuals =

numLongs/sizeof(OverlayVisualPropertyRec);

pOVis

=

pOverlayVisuals;

while (--nOVisuals >= 0)

{if ( pOVis->transparentType == TransparentPixel ) {/*

**Found a transparent overlay visual, **set ident. aside.

*/

};

pOVis++;

}

XFree(pOverlayVisuals);

/*

**There might be some additional checking of the found **transparent overlay visuals wanted; e.g., for depth. */

}

XFree(pVisuals);

}

This program segment is not complete; however, its main purpose is to give an idea of how to find an overlay visual having transparency.

When the overlay planes are enabled, one colormap entry in PseudoColor colormaps is not available for use by clients. The server handles this entry in one of two ways depending upon the setting of the "Count- TransInOvlyVis" device option. If the option is not set, the server will report that 256 colormap entries are available for allocation in the PseudoColor visual. However, the transparent pixel will always remain transparent. The image layer will be visible wherever this pixel value is rendered in the overlay planes. Hence, applications should not render using this pixel unless transparency is desired.

Chapter 3

73

Image 75
Contents Manufacturing Part Number B2355-IE003 Edition E0206 Graphics administration guideLegal notice Contents Contents Windows configuration details Examples printing a key map Preface Product Dis Obsoleted On Name Number PrefaceDocument conventions Document conventions Chapter Configuring X Windows on HP-UX Graphics cards, see in this document Configuring X Windows on HP-UX HP Visualize graphics cardsServer configuration X*screens file format Description of the X*screens configuration fileScreens file Syntax guidelinesServer options Screen /dev/crtDefaultVisual Screen entriesTransparent MinimumMonitorPowerSaveLevel value ScreenOptionsSample X*screens files Two physical displays, two separate screens Screen /dev/crt DefaultVisual Transparent Four physical displays, single logical screen Two physical displays, single logical screenDev/crt0 Dev/crt1 Dev/crt2 Dev/crt3 Host0.0 Miscellaneous topics Double buffer extensionsPerforming buffer swaps on vertical blank Display power management signaling Dpms Determining swap performanceSupported devices Shared memory extension Mitshm Power saving states defined by VesaSupported X configurations Multi-display supportMulti-Display Multi-Screen Device #2Single logical screen Single logical screen SLS Multi-screen supportHp CDE and single logical screen 3D acceleration and single logical screenServer configuration Supported visuals Hp Visualize- FXE, FX5 and FX10 device-dependent informationOverlay visuals and overlay transparency Hp VISUALIZE-FXE/5/10 configuration hintsSupported screen options Disabling the GLX visualsChanging the monitor type Hp VISUALIZE-FXE/5/10 colormapsOther 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 format XF86Config fileServerLayout 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 Option Value Description InputDevice sectionScreen section XF86Config file Entry Description Position Display subsectionXF86Config file Monitor section Device section XF86Config file Sample XF86Config file Sample XF86Config file Sample XF86Config file Extensions Double buffer extension DBEDetermining swap performance Display power management signaling Dpms Dpms Dynamic library loading Features Cursor scalingGlx visual suppression Visuals suppression Technical print service TPS Virtual frame buffer XvfbSecurity DefaultVisual option Starting the X Server from the command lineClass NoServerLogging Minimum monitor power save level optionDisableGlxVisuals DepthHideDuplicateGlxVisuals Input devices KeyboardsPointers Supported device options Output devicesHp Fire GL-UX device-dependent information Supported visualsOption Overlay True Option TransparentIndex0 Supported monitor configurationsATI FireGL X1/T2/X3 device-dependent information TrueColor optional Overlay Image FSAAScale Supported monitor configurations Overlay visuals and overlay transparency Hp Fire GL-UX configuration hintsNumLongs/sizeofOverlayVisualPropertyRec HP Fire GL-UX Colormaps Hints X1/X3/T2-128 System requirementsHardware compatibility table ATI FireGLFonts MiscellaneousFile Description FilesATI FireGL X1/T2/X3 configuration hints Gamma correction Windows configuration details Making an x*.hosts file Using an /etc/hosts fileCustomizing the mouse and keyboard Stopping the X Window systemChanging mouse button actions Modifying modifier key bindings with xmodmap To do this Use this expression Specifying key remapping expressionsPrinting a key map ExamplesMaking 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