Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!bloom-beacon!ganymede.UUCP!tmb From: tmb@ganymede.UUCP Newsgroups: comp.windows.x Subject: Re: XPutPixel Message-ID: <8811151606.AA12744@rice-chex.ai.mit.edu> Date: 15 Nov 88 16:06:19 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: tmb@wheaties.ai.mit.edu Organization: The Moons of Jupiter (MIT Artificial Intelligence Lab) Lines: 18 > Why not make XImage.data (unsigned long *) and be > done with it? > > Umm, if you think PutPixel is slow, imagine the server having to > accept a depth 1 image (bit per pixel) in your proposed format, > and have to compact it down to a bitmap format acceptable for > blitting onto the screen. I'm not sure I understand your point. Clearly *somebody* has to eventually make the image match the hardware. You seem to suggest it Not necessarily; there are many cases in which you simply get and put pixmaps from the server without ever doing anything to them on the client. Perhaps a quick and simple solution would be to provide conversion functions in Xlib that take an XImage and a desired format and do the conversion completely on the client side.