Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!stroyan From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan) Newsgroups: comp.sys.hp Subject: Re: CMAP_FULL with INT_XFORM in Starbase Message-ID: <7370412@hpfcso.FC.HP.COM> Date: 8 Jun 91 19:56:34 GMT References: <1991Jun7.200459.9963@iitmax.iit.edu> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 22 > We need to use CMAP_FULL mode to access RBG banks on a TSRX while > the device is gopen'd with INIT|INT_XFORM. Is there any integer > equivalent of shade_mode, or is there any other way to do it? > > Machine: HP9000/835 TSRX HP-UX 7.0 > > Greg Chien There is no way to select CMAP_FULL after gopen with INT_XFORM. The CMAP_FULL mode was envisioned by the designers to be used for shaded images with floating point transformations. The INT_XFORM mode was designed for fast, less expensive, transformation of 2D images like schematics and PC boards. Systems used for this kind of work don't typically have 24 plane frame buffers. One possibility is to use gopen with INT_XFORM in a 24 bit deep X window. The driver is forced to gopen a deep window in CMAP_FULL mode instead of the CMAP_NORMAL mode which a raw display defaults to. This still may not allow you the control over colors that you want. I don't know because I have never tried that kind of thing myself. Mike Stroyan, mike_stroyan@fc.hp.com