Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!thyme!kaleb From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) Newsgroups: comp.windows.x Subject: Re: GC: how many is too many? Message-ID: <1990Nov28.222839.498@thyme.jpl.nasa.gov> Date: 28 Nov 90 22:28:39 GMT References: <4509@titan.sw.mcc.com> Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 19 In article <4509@titan.sw.mcc.com> cheung@titan.sw.mcc.com (Po Cheung) writes: >What is the maximum number of GC's that can be cached on X displays >on the Sun workstations and the DECstations? > >Is there an upper limit on the number of GC's that an X application >should reasonably create? > Toolkits such as Motif may have as many as a dozen GCs per widget; top shadow color, bottom shadow color, default font, foreground color, background color, etc. Multiply by the number of Widgets in a "typical" application; ours have > one hundred, then multiply by the number of applications running; two or three dozen. -- Kaleb Keithley Jet Propulsion Labs kaleb@thyme.jpl.nasa.gov Good girls get to go to heaven, but bad girls get to go everywhere!