Some thoughts about the ominous DIB Engine
mstefani at redhat.com
Fri Feb 9 05:18:40 CST 2007
Rolf Kalbermatter wrote:
> I have been following this discussion for quite some time and finally
> decided to look into it a little bit. While the Wiki mentions that a
> difficult part of this would be to get any design accepted by Alexandre it
> does absolutely not say in any way what kind of approach would be likely to
> be accepted, other than it needs to be in small incremental steps.
> I must admit that I haven't entirely looked through the whole Wine tree yet
> so I might be missing something but from the old Transgaming patch and some
> investigation into GDI32 I would see two principal aproaches to add such an
> interface to Wine.
> 1) Like in the Transgaming patch hook into winex11.drv where apropriate.
> 2) Add the dib engine as a dibdrv into GDI32 directly similar to what has
> been done for enhmfdrv and mfdrv already.
> Obviously 1) has been tried and seemed to work in some ways eventhough there
> would still need to be quite some more work to be done. What I don't like
> about this aproach is that conceptually it seems to add this functionality
> at the wrong end. If there is ever going to be another display driver than
> winex11.drv all the hooking would have to be done again and also adding new
> GDI methods to the driver as development goes always requires also some
> significant changes to winex11.drv.
There is already an other display driver: winequartz.drv for MacOS. And
Pierre is working to move code out of winex11.drv and into the GDI and
User dlls to not have to duplicate it again in winequartz.drv.
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
More information about the wine-devel