[PATCH] Implement software DXT1 compression

alberto at mattea.info alberto at mattea.info
Tue Feb 15 07:39:13 CST 2011

> An idea that was proposed before was to delegate the conversion (and the
> patents burden) to the OpenGL drivers, something like using
> glCompressedTexImage2D() / glGetCompressedTexImage(). Not sure
> whether there are hidden issues with that approach (except, well, requiring
> an OpenGL driver with compressed textures support), but at a first glance
> it doesn't look as something particularly hard to do.

Good idea. This new patch implements this approach. It seems to be working
perfectly at least with the nvidia blob. It is also much smaller than the
previous one, and doesn't require hacks like inverting colors and so on.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dxt1.patch
Type: application/octet-stream
Size: 7059 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110215/d0df4231/attachment.obj>

More information about the wine-devel mailing list