Hi Wine team,
I was reviewed some wine and XOrg code (I was writing a canvas library) and I have used XOrg region API (in wine project it's in /dll/GDI/region.c), I have done some optimizations in round (and elliptic) regions computing and my code is about 10x faster than original, I was sended an email to XOrg too, sorry that i wasn't sending a patch now, but if you are interested I can send commented sources and wine developers can merge it.
It's very small modification that has about 20 lines, but speed is increased much, I'm working on another optimizations of regional API and I probabbly do more things to do things faster.
Kind Regards Petr Kobalicek
On Sun, Sep 25, 2005 at 12:35:09AM +0000, Petr Kobalicek wrote:
Hi Wine team,
I was reviewed some wine and XOrg code (I was writing a canvas library) and I have used XOrg region API (in wine project it's in /dll/GDI/region.c), I have done some optimizations in round (and elliptic) regions computing and my code is about 10x faster than original, I was sended an email to XOrg too, sorry that i wasn't sending a patch now, but if you are interested I can send commented sources and wine developers can merge it.
It's very small modification that has about 20 lines, but speed is increased much, I'm working on another optimizations of regional API and I probabbly do more things to do things faster.
Hi Petr,
Sure, I'd be interested in seeing any optimizations that you've made to that code. Thanks for asking!
Huw.
Hi,
On Sun, Sep 25, 2005 at 12:35:09AM +0000, Petr Kobalicek wrote:
It's very small modification that has about 20 lines, but speed is increased much, I'm working on another optimizations of regional API and I probabbly do more things to do things faster.
Very, very cool!
I'm also working on optimization in some toolkits, so I'm very happy to see people working on Wine, too (especially since Wine's GUI performance is rather on the slow side!).
Please try to make sure that your optimization goes in ;) (either an original or a corrected patch)
Thank you!
Andreas Mohr