Re: drawing graphics



Hi,

Ian Britten <britten caris com> writes:

> Ya, I've seen this (dreadfully-slow) brute-force approach being used by a
> lot of new(er) apps.  Personally, I find it dreadful, and I'm not sure
> why no one complains about it... :-/
> 
> (Hint - Fire up a bunch of applications.  Grab a small window (xclock),
> and drag it around over the other windows (assuming your WM is configured
> to do real-time moves).  Watch for your CPU to spike.  Basic pixmap
> copies (which is all an app should be doing for an expose) should be
> almost instant, and certainly shouldn't bury the CPU.  Lately, I'm finding
> I have to minimize more and more apps, as simply moving a window buries
> my CPU for 10-40 seconds!  Bletch!)

you could enable BackingStore in your X-server (if it supported this
feature) to avoid this problem. Or you could use a windowing system
that doesn't generate expose events for windows that become
unobscured. There even are X-server implementations that do this.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]