HP c3750 hp workstations - hp-ux 11.x graphics administration guide - Page 76

HP Fire GL-UX Colormaps Hints, clients using the default colormap never encounter technicolor.

Page 76 highlights

configuring X Windows on HP-UX (other graphics cards) hp Fire GL-UX configuration hints This may cause problems with some applications. Setting "CountTransInOvlyVis" causes the server to reserve the transparent pixel index. In this case, the server reports that 255 colormap entries are available for allocation in the PseudoColor visual. This option may be useful to applications that depend on having 256 colormap entries available in depth 8 PseudoColor visuals. The transparent index value is configurable through the "TransparentIndex0" device option. Setting this option will change the transparent pixel value to 0 from the default of 255. This option may be useful to applications that depend on the transparent pixel value being 0. HP Fire GL-UX Colormaps Hints HP Fire GL-UX devices have a total of 5 hardware colormaps. One colormap is reserved for gamma correction and is not directly available to X clients. The remaining colormaps are available for clients to use. When the default visual is in the overlay planes, one of the four available hardware colormaps is reserved for the default colormap. This ensures that clients using the default colormap never encounter technicolor. The HP Fire GL-UX driver reports on the installation status of a total of 5 colormaps via the XListInstalledColormaps() API. Four of these correspond to the actual state of the hardware color tables used with PseudoColor visuals. Colormaps are installed in these hardware LUTs in first-in, first-out order. The driver also keeps track of the last TrueColor colormap installed via XInstallColormap() and includes this information whenever queried. By definition, all TrueColor colormaps are always installed. 74 Chapter 3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89

configuring X Windows on HP-UX (other graphics cards)
hp Fire GL-UX configuration hints
Chapter 3
74
This may cause problems with some applications. Setting "CountTransI-
nOvlyVis" causes the server to reserve the transparent pixel index. In
this case, the server reports that 255 colormap entries are available for
allocation in the PseudoColor visual. This option may be useful to appli-
cations that depend on having 256 colormap entries available in depth 8
PseudoColor visuals. The transparent index value is configurable
through the "TransparentIndex0" device option.
Setting this option will
change the transparent pixel value to 0 from the default of 255. This
option may be useful to applications that depend on the transparent
pixel value being 0.
HP Fire GL-UX Colormaps Hints
HP Fire GL-UX devices have a total of 5 hardware colormaps. One color-
map is reserved for gamma correction and is not directly available to X
clients. The remaining colormaps are available for clients to use. When
the default visual is in the overlay planes, one of the four available hard-
ware colormaps is reserved for the default colormap. This ensures that
clients using the default colormap never encounter technicolor.
The HP Fire GL-UX driver reports on the installation status of a total of
5 colormaps via the XListInstalledColormaps() API. Four of these corre-
spond to the actual state of the hardware color tables used with Pseudo-
Color visuals. Colormaps are installed in these hardware LUTs in
first-in, first-out order. The driver also keeps track of the last TrueColor
colormap installed via XInstallColormap() and includes this information
whenever queried. By definition, all TrueColor colormaps are always
installed.