2009/1/14 Dan Kegel dank@kegel.com:
On Sat, Nov 15, 2008 at 8:37 AM, Reece Dunn msclrhd@googlemail.com wrote:
2008/11/15 Dan Kegel dank@kegel.com:
BTW, has anybody noticed a speed problem with our theme support?
Yes.
If you use some themes (e.g. the Zune theme from Microsoft) then the performance is ok. If you try other themes (e.g. the Gem theme from the StyleXP program) then it renders very slowly - the performance killer in the Gem theme is rendering the parent background for property sheets (e.g. winecfg). This can clearly be seen in winecfg when switching themes.
FWIW, http://www.ubuntuproductivity.com/journal/software/01/2009/theme-wine-integr... is a report of a happy user, so I guess the Human theme is ok. Maybe the Ubuntu package should come with that theme applied, or at least included and easy to turn on.
That's great :).
Not everything works yet (particularly state changes in buttons -- such as pressing a button, or it becoming disabled -- revert it to non-themed behaviour), but it is getting there.
In addition, the DIB engine is likely to prove invaluable here, as there will be a lot of drawing and blitting, which will certainly be killing performance at the moment with the X server round trip.
Do you know if the DIB engine is advanced enough to test this? Theming would make an interesting test case.
Give it a try - somebody posted patches for his own mashup of the DIB engine recently...
Will do. I'll also give some games a spin to see if it makes a difference there as well.
- Reece