[comp.sys.sun] Help with copying bitmaps on color workstations...

dmg@beaver.cs.washington.edu (David Geary) (10/04/89)

I am writing some code which does a lot of manipulation of bitmaps,
specifically, I create some memory pixrect's like so:

mem_create(w,h,BITMAP_DEPTH);

where BITMAP_DEPTH is 8, because I'm on a color workstation.  After
"porting" to a B/W Sun, I had to change the BITMAP_DEPTH to 1 (of course),
and the B/W version is (understandably) much faster, since I only have to
copy one bitplane instead of 8 all the time.

Anyway, here's the question:  I don't use color on the color workstations,
and I'd like to get away with only using one bitplane when on color
workstations too.  However, when I try this things get ugly.

Help!!

If anyone can help me out with some trick(s) to speed up the copying of
rasters on a color 3/60, please send email.  Thanx,

David