DIB Engine - New approach (resent as first got lost...)

Massimo Del Fedele max at veneto.com
Tue Apr 14 17:30:43 CDT 2009


Reece Dunn ha scritto:
> 2009/4/14 Massimo Del Fedele <max at veneto.com>:
>> The approach taken so far consisted in having 2 device pointers inside
>> GDI32, one for dib engine and
>> the other for normal display driver.
>> This way had the disadvantage of having to keep in sync the DC with the
>> right driver depending on
>> selected bitmap, which lead to many small changes spread along all gdi code;
>> going deeper with
>> development this approach showed many limits and problems.
>>
>> So I decided to start again from scratch with a completely different
>> approach which is giving good
>> results and is quite less invasive on gdi32 code.
>> Instead of doing :
>>
>>            -- DIB ENGINE
>>          /
>> GDI32 ---
>>          \ -- X11 DRIVER
>>
>> I took this approach :
>>
>> GDI32 -- DIB ENGINE -- X11 DRIVER
> 
> This looks interesting. Have you run it past Alexandre on IRC, as he's
> the one that you need to convince?
> 
> - Reece
> 
> 
> 

I still couldn't speak to him.... next days, maybe.
BTW, on bug421 page there's now a working engine with the new approach.
Porting of all functionality of previous engine is completed.

Patches should be now quite independent of wine release, as the changes to
core code are really minimal.

Ciao

Max




More information about the wine-devel mailing list