From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4658 invoked from network); 24 Jun 1998 16:02:58 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 24 Jun 1998 16:02:58 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Wed, 24 Jun 1998 11:03:07 -0500 Received: by paralleldata.com from paralleldata.com (208.252.48.147::mail daemon; unverified,SLMail V2.5); Wed, 24 Jun 1998 11:03:05 -0500 Sender: "Wsb" Message-ID: <3591232F.740D295@paralleldata.com> Date: Wed, 24 Jun 1998 16:02:55 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: The new X References: <3590181A.E2D50568@paralleldata.com> <19980623200710.U19844@xcski.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Paul Tomblin wrote: > > Quoting Wes Bauske (wsb@paralleldata.com): > > I doubt Windows is capable of running two simultaneous high > > color apps at the same time with BOTH windows visible. Have > > I suspect what Windows does, and what X applications could easily do, is to > divide the entire color space up before hand into as many chunks as your card > would support, and then when an application requests a color, gives it > whichever of the pre-registered colours is the closest match. I don't know > the best way to allocate those colours - my first inclination on an eight bit > display would be all permutations and combinations of 3 bits for red, 3 green, > 2 blue - and then somehow map that back onto 16 bits per channel of the X > colour scheme. But I'm sure my former collegues at Kodak could come up with > something better. > Sounds like you just described the X True Color visual to me, which can be supported at 8 bits but it depends on if the X server has it implemented that way. My Rage Pro/Mystique/Permedia cards are all True Color when I run them at 16 bit with XFree on PPro's/Alphas. No flashing occurs on them when I run high color apps. X has a XGetRGBColormap/XSetRGBColormap routine to manage sharing color maps. Most apps don't go to the trouble of using this feature though. The routines also attach atoms to the Root window to allow you to fetch them from any other window. They use ICCCM (Inter Client Communication Conventions Manual) conventions when accessing the atoms/info on the root window. So, one proposal to behave "like Windows" would be to have the WM set up color maps for use by all apps and then tell everyone they have to use those colormaps. (That would float like a lead ballon) Come to think of it, when I run Netscape and XV on the same screen in 8 bit mode, things still don't flash. Who ever starts last just doesn't get many colors. Are you all saying GIMP flashes?? That's GIMP's problem then... Wes