Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request From: ssc-vax!dmg@beaver.cs.washington.edu (David Geary) Newsgroups: comp.sys.sun Subject: Help with copying bitmaps on color workstations... Keywords: Windows Message-ID: <2178@brazos.Rice.edu> Date: 3 Oct 89 22:33:44 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 163, message 2 of 5 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