Wine/dlls/GDI/region.c - Optimization

Huw D M Davies h.davies1 at
Sun Sep 25 04:08:07 CDT 2005

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!


More information about the wine-devel mailing list