Road to 1.0 (graphics driver architecture)
r.kalbermatter at hccnet.nl
Sun Mar 25 03:27:37 CDT 2007
Alexandre Julliard wrote:
>I'm also hoping we can make some progress on the x11drv factorisation
>before the freeze, so that we don't need to change the interface too
>much to add the quartz driver later on, we'll see how that goes.
Have you some specific ideas about what you want to do in that area?
While the current apporach certainly works fine as far as invoking the
DC specific functions without a lot of checking about the type of DC
that is involved and therefore has a straightforward interface in GDI32
I think the matching of the actual driver interface with the actual GDI
functions adds a lot of overhead into the driver itself that could much
more easily be done once in GDI and left out of the driver completely.
However changing the driver interface to match the let's say W2K driver
would be quite a bit of work although it would seem to me at least an
idea. Coming up with yet a different Wine specific interface would first
require some architectural design work too but maybe you have done
something in that direction already.
More information about the wine-devel