[dx9-21] Texture support

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Thu Jan 13 16:53:27 CST 2005


This patch adds in all the code for texture support. There are remaining
problems but I think the code is ok for cvs, and its getting pretty big as
it is.

This patch is large because I implemented all 3 types of texture in one go,
as they are all pretty much cut and paste with variable etc name changes, so
I was just doing all 3 as I went along. It doesn't make sense to separate
them into separate patches as some functions handle all texture types. Also
the size isn't helped by the removing of chunks of dx9 code from the
original skeleton and making them pure call throughs to wined3d.

Note the prototypes added in the private header were the only way I could
call a parent class in C, and mirrors the dx8 functionality.

This patch adds 4 files (cubetexture, volumetexture, texture and volume)

Finally thanks to Oliver Stieber for pointing out some problems with my last
patch, which are also fixed in this one.

Changelog

- Add texture support for all the texture types for d3d9->wined3d
- Add prototypes for the COM interfaces 
- Fix some incorrect types from the last patch

Jason


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx9.21.patch
Type: application/octet-stream
Size: 203051 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050113/3fc18d5a/dx9.21.obj


More information about the wine-patches mailing list