[Y-devel] Adventures in threading
Erik erikhill at hawaii.rr.com
Mon Mar 1 04:23:01 GMT 2004
Okay, quick correction, I misread chapter 6 and the code -- no need to worry
about refresh rates and so on, the design of Y already takes care of all of
this naturally... so this section of what I wrote is moot.
> Another point - as CPU's and GPU's get faster and faster, we run into
> perhaps a more serious problem, where the CPU and GPU are doing more work
> and updates than are useful, thus wasting cycles that could be used on some
> other task. Imagine text in a terminal. Most terminals have some kind of
> "jump" code in there so that if data comes streaming in too fast to be
> useful, it no longer scrolls on every line or draws every character, but
> rather, does the work in bigger chunks, less often. But this logic belongs
> naturally in the visual server, in this case Y, because it's Y that stands
> between what the software wants to display and what is actually shown on
> the screen. It could even be done such that dirty rectangles are merged at
> lower levels and "duplicate regions" are thrown out at each level, before
> propogation, if there still hasn't been a hardware refresh.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved