Implementing textures functions of d3dx using an extern library.

Jérôme Gardou jerome.gardou at gmail.com
Thu Aug 28 17:49:43 CDT 2008


Jérôme Gardou a écrit :
> Henri Verbeet a écrit :
>> 2008/8/28 Jérôme Gardou <jerome.gardou at gmail.com>:
>>  
>>> D3DX supports a wide range of file types for textures. Instead of 
>>> rewriting
>>> everything from scratch, the best would certainly be to use some image
>>> processing library to handle them. As a bonus, this would allow lighter
>>> code.
>>>
>>>     
>> I'm not sure it would be worth it. The only non-trivial formats I see
>> in D3DXIMAGE_FILEFORMAT are JPEG and PNG, and we already link to
>> libjpeg and libpng in other parts of Wine.
>>   
> If you want, I have an implementation of this same function for png... 
> This one is not commented at all, and need some rework. Get it for 
> comparison.
With the patch...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implements-GetFileInfoFromFile-into-d3dx9_.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080829/7e420e18/attachment.patch 


More information about the wine-devel mailing list