[comp.sys.hp] CMAP_FULL with INT_XFORM in Starbase

chien@iitmax.iit.edu (Greg Chien) (06/08/91)

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

Thanks in advance.
Greg Chien
Design Processes Laboratory
Institute of Design
Illinois Institute of Technology
(312)567-6461

stroyan@hpfcso.FC.HP.COM (Mike Stroyan) (06/09/91)

> 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