Blender Git Loki
Git Commits -> Revision ae976e0
December 26, 2007, 21:46 (GMT) |
This is patch: [#7975] imbuf for DDS textures: improved read support and a few bugs fixed Kent Notes From the author: The attached patch syncs the DDS code in Blender with the latest revision (324) of the nvidia texture tools. This fixes a few minor issues and adds support for a more types of DDS textures, in particular uncompressed textures that don't have the standard 16, 24, or 32 bits per pixel. Note: I have started using the nvidia texture tools convention for naming integer types (uint, uint16, uint8, uint64 etc.) because doing so makes it much easier to merge patches from upstream. Since the code is compiled separately from the rest of Blender, this likely does not pose a problem. However, if there turns out to be a good reason for avoiding those nvidia type names from upstream, I'd be happy to fix it. Regards, Amorilia |
Commit Details:
Full Hash: ae976e087a7110c6b25a0fee4f663185b5e4319d
SVN Revision: 13012
Parent Commit: 8e84f64
Lines Changed: +773, -436
1 Added Path:
/source/blender/imbuf/intern/dds/PixelFormat.h (+110, -0) (View)
9 Modified Paths:
/source/blender/imbuf/intern/dds/BlockDXT.cpp (+120, -52) (Diff)
/source/blender/imbuf/intern/dds/BlockDXT.h (+50, -29) (Diff)
/source/blender/imbuf/intern/dds/ColorBlock.cpp (+37, -30) (Diff)
/source/blender/imbuf/intern/dds/ColorBlock.h (+12, -11) (Diff)
/source/blender/imbuf/intern/dds/Common.h (+15, -3) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp (+342, -244) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.h (+65, -46) (Diff)
/source/blender/imbuf/intern/dds/Image.cpp (+7, -7) (Diff)
/source/blender/imbuf/intern/dds/Image.h (+15, -14) (Diff)
/source/blender/imbuf/intern/dds/BlockDXT.h (+50, -29) (Diff)
/source/blender/imbuf/intern/dds/ColorBlock.cpp (+37, -30) (Diff)
/source/blender/imbuf/intern/dds/ColorBlock.h (+12, -11) (Diff)
/source/blender/imbuf/intern/dds/Common.h (+15, -3) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp (+342, -244) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.h (+65, -46) (Diff)
/source/blender/imbuf/intern/dds/Image.cpp (+7, -7) (Diff)
/source/blender/imbuf/intern/dds/Image.h (+15, -14) (Diff)