| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 5 CRX-48Z Device Driver X Windows |
|
The hpcrx48z is supported only with X Windows. There is no raw device support. The only X server mode supported is combined mode. For more information on X11, please refer to "Using Starbase with the X Window System" in the Starbase Graphics Techniques manual. The CRX-48Z has 8 overlay planes and 48 image planes. Generally speaking, the overlay planes can be thought of as primarily used for the user-interface and the image planes for graphics (either generated by Starbase or Xlib). X window managers use the default visual, which is an 8 plane overlay visual. Graphics applications should request image plane visuals. The xwcreate command creates a depth 8 image plane visual by default. HP VMX is used as the exclusive Starbase driver for the overlay planes on the CRX-family of devices. Double-buffering, backing store and the CMAP_NORMAL color map modes are supported for overlay windows. CMAP_FULL and CMAP_MONOTONIC color map modes are not supported in overlay plane windows. For more information on Starbase overlay planes, read the section "HP VMX: The CRX-family Overlay Plane Driver" in the chapter "HP VMX Device Driver." These two sets of planes exist with little interaction. For example, when a menu in the overlay planes occludes a window in the image planes, no expose event is generated when the menu is removed because the image frame buffer contents are not affected. Only other windows in the image planes generate expose events for image plane windows. Color map index 255 for the overlay planes is the transparent color on the CRX-48Z. Any overlay pixels containing this index will allow the underlying image planes to be displayed. The CRX-48Z supports double-buffering on a per-window basis. The CRX-48Z supports 8/8 planes double-buffered for each of the Starbase color map modes (CMAP_NORMAL, CMAP_MONOTONIC, CMAP_FULL), and 24/24 planes double buffered for CMAP_FULL. X11 always renders to the currently visible buffer when a window has double-buffering enabled. Pixels in the image planes are not displayed unless the corresponding pixel in the overlay planes is set to 255. The X color model defines read/write restrictions both on color maps and on individual entries in color maps. As of HP-UX 9.05, Starbase will no longer overwrite read-only color maps or color map entries as defined in the X color model. Starbase will generate a warning message if the application attempts to overwrite read-only color map entries. Attempts to write to color map entries in read-only color maps (color maps in StaticGray, StaticColor or TrueColor visuals) are silently ignored. For more information on this subject, read the section "Starbase Color Maps and X11 Read/Write Restrictions" in Chapter 1. On previous devices, Starbase echos were either a hardware cursor, or were software echos rendered in the overlay or image planes. The CRX-48Z device has a hardware cursor (similar to many other devices), but this cursor is always used by the X server, and is not available to Starbase programs. All Starbase echos are rendered in special cursor planes (these planes are available ONLY for Starbase echos). These special cursor planes are separate from the image and overlay planes, and do not interfere with the graphics in those planes. The following list describes the behavior of Starbase echos on the CRX-48Z device, and decribes some differences from other devices.
This section contains device specific information needed to run Starbase programs in X11 windows. If you need a general, device-independent explanation of using Starbase in X11 windows, refer to the "Using Starbase with the X Window System" chapter in the Starbase Graphics Techniques manual. It is possible to allocate an 8-plane pseudocolor visual in either the overlay planes or image planes of this device. For details on how to select one or the other, see the example code in the file[18]
The X11 SERVER_OVERLAY_VISUALS property indicates whether a given visual is in the overlay planes or not. The table of Supported Visuals contains information for programmers using either Xlib graphics or Starbase. The table lists what depths of windows and color map access modes are supported for the CRX-48Z. It also indicates whether or not backing store is available for a given visual. The table also lists the double-buffer configurations supported by Starbase for this device driver. Table 5-3 CRX-48Z Supported Visuals
[18] The actual path names of directories in angle brackets depend on the file system structure. See the Graphics Administration Guide for details. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||