Direct3D v8 - Try2

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Wed Sep 18 16:52:20 CDT 2002


>> 1. To get this working without a low level driver, I have currently added
>> the following line to x11drv.spec:
>>     # Hack for now, d3d
>>     @ cdecl d3dhack(long) X11DRV_get_client_window
>You should be able to use the x11drv escape mechanism that opengl is
>using too (look at wgl.c). It's not very clean either but at least it
>doesn't require exporting new functions.

Hi Alexander,

I have made the above change and got it working (eventually!), and tidied up
a few other typos, functions etc.

What is your feeling about using this as a starting point in the wine tree -
There are a number of places in the code which need work, but it would
enable others to start adding to it. Alternatively if there are any areas
you want fixed before it can go in, let me know and I'll see what I can do -
I dont fell 100% 'qualified' in this area, some of it is scrabbling around
in the manuals until I get something working!

The worst bit as far as I am aware is the display mode handling which is
awful (also support for fullscreen), but these can be fixed later. I also
know I need to free all the storage allocated - I was waiting until I got
the storage use approx right since I kept changing it.

Anyway, attached is the latest set of code (aside from these changes I
havent had chance to add much new due to other pressures).

Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx8try2.zip
Type: application/x-zip-compressed
Size: 53918 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20020918/d4c274c3/dx8try2.bin


More information about the wine-patches mailing list