nanogui: Pixmaps


Previous by date: 20 May 1999 09:20:47 -0000 Re: Bitblt proposal (was: Re: bogl routines), Alex Holden
Next by date: 20 May 1999 09:20:47 -0000 Re: Bitblt proposal (was: Re: bogl routines), Ben Pfaff
Previous in thread: 20 May 1999 09:20:47 -0000 Re: Pixmaps, Warner Losh
Next in thread: 20 May 1999 09:20:47 -0000 Re: Pixmaps, Greg Haerr

Subject: Re: Pixmaps
From: Alex Holden ####@####.####
Date: 20 May 1999 09:20:47 -0000
Message-Id: <Pine.LNX.4.04.9905201006190.379-100000@hyperspace>

On Wed, 19 May 1999, Warner Losh wrote:
> In message <Pine.LNX.4.04.9905200050410.5020-100000@hyperspace> Alex Holden writes:
> : I just read the official X11 manual again (a very nice piece of
> : documentation- it's interesting to see how closely mini-X was modelled on
> : X) in an effort to understand something which has never made sense to me.
> : I still don't get it. Why do pixmaps have depth?
> XCopyArea can take a Pixmap of any depth, assuming that the Pixmap
> depth matches the depth of the Drawable.  They can also be used as the
> background pixmap for a window.

That still doesn't explain it for me. What is the depth of the pixmap
actually used for? I'm sure it must be used for something, but I haven't
been able to figure out what... and how is it more useful than a generic
colour bitmap structure?

> They aren't multi-layered, per se.  They are just hunks of data.  A 1
> bit pixmap is the same thing as a 8 bit pixmap.  It isn't a good idea

Then why have 8 bit pixmaps?

--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------


Previous by date: 20 May 1999 09:20:47 -0000 Re: Bitblt proposal (was: Re: bogl routines), Alex Holden
Next by date: 20 May 1999 09:20:47 -0000 Re: Bitblt proposal (was: Re: bogl routines), Ben Pfaff
Previous in thread: 20 May 1999 09:20:47 -0000 Re: Pixmaps, Warner Losh
Next in thread: 20 May 1999 09:20:47 -0000 Re: Pixmaps, Greg Haerr


Powered by ezmlm-browse 0.20.