http://bugs.winehq.org/show_bug.cgi?id=13297
Tony Wasserka tony.wasserka@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tony.wasserka@freenet.de
--- Comment #36 from Tony Wasserka tony.wasserka@freenet.de 2009-07-27 09:21:58 --- Hi everyone, for the record, I've set up a git tree of the current D3DXCreateTexture and D3DXLoadSurface implementations. There is a number of limitations though: - only supports ARGB, ABGR and QWVU formats (that is: no texture compression, which might be used in games) - does not support any advanced filtering (this shouldn't be too noticeable) - only supports BMP, JPEG and PNG files (not sure how good this works for PNG and JPEG as the mainline code will use WIC for this stuff anyways; IIRC JPEG worked pretty well for truecolor images)
The git repository is hosted at http://repo.or.cz/w/wine/d3dx9TW.git, the texture stuff is located in the d3dxloadsurfacefrommemorySUBMIT* branch (yep, there are better names for branches, this is my first git repo I'm hosting online :D ). Note that this requires a pretty old Wine revision right now (one from 2009-07-10) because David merged d3dx8 into d3dx9 recently which broke my patches. I might rebase them onto a more current one if I find some time again.
I've added myself to the CC list of this bug, so if you have some comments about this code, just drop it here.
Best regards, Tony
* to checkout the code, just run these commands: git remote add textureremote git://repo.or.cz/wine/d3dx9TW.git git fetch textureremote git checkout -b texture textureremote/d3dxloadsurfacefrommemorySUBMIT