[Mono-dev] Managed DirectX

Miguel de Icaza miguel at ximian.com
Wed Oct 25 20:53:04 EDT 2006


Hello,

> I am one of the programmers of the Wine Direct3D implementation, and I 
> wondered if there are any plans to implement Managed DirectX in Mono, and if 
> it is possible to share efforts between wine and mono?

This would be fantastic.

> This is basically what the wine direct3d code looks like: We have 3 libraries 
> for the various dx versions, ddraw.dll, d3d8.dll and d3d9.dll. Plans are 
> going on for a d3d10.dll. Those libraries offer a binary and source 
> compatible interface to Microsoft's Direct3D user mode interface. We do not 
> implement the kernel-side DDI or gdientry/ddentry interface and we do not 
> plan to do that.

Does the library depend on the rest of Wine to run?

Am curious if it is possible to write a C program that can just call
into these libraries directly?

I mention this because Mono would be accessing the libraries by
dlopening them, looking up the addresses of methods with dlsym and
calling them.

And the question is whether this means that we need to run side-by-side
with the Wine runtime, as that is currently not possible with Mono.

Miguel.



More information about the Mono-devel-list mailing list