l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Jun 03 13:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] xlib/gdk questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] xlib/gdk questions

hi mark,

begin Mark K. Kim <markslist@cbreak.org> 
> On Mon, 3 Jun 2002, Peter Jay Salzman wrote:
> > 1: colormaps
> > ============
> > when an xlib book talks about a colormap, is it talking about something
> > which is global in scope?  something that's shared by all Windows?  is
> > it determined by the graphics card?
> >
> > or something which exists for each Window on a display?
> An application can use a global colormap (which limits its colors) or an
> application can make its own global colormap.  In 8-bit mode, that means
> whenever the app gains focus, all other windows are gonna look weird,
> and when the app loses focus it'll look weird.
i've seen this happen before -- but i'm still not sure why it happens.
can you explain just a little bit more why this happens?

(big snip of stuff i understood)
> > btw, what exactly is 32bpp?  how can any true-color color map have a
> > depth that's not divisible by 3?  doesn't each color goes from 0 to FF?
> > what are the extra bits used for?
> 32bpp = 8 bit red, 8 bit green, 8 bit blue, 8 bit alpha.

*surprise*  ok, i understand!  didn't know this.

> Don't know.
> -Mark "sometimes-it's-okay-to-say-I-don't-know" Kim

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.