Blender Git Loki

Git Commits -> Revision aab78de

Revision aab78de by Brecht Van Lommel (master)
October 25, 2012, 12:54 (GMT)
Better fix for #32837: DDS compressed textures now no longer need to be flipped
when saving, rather we flip the compressed texture during load. The code used
here comes from the chromium O3D project:
http://src.chromium.org/chrome/trunk/o3d/core/cross/bitmap_dds.cc

Also made it only load compressed for power-of-two resolution images, it doesn't
seem to work for other resolutions, just falls back to non-compressed then.

Commit Details:

Full Hash: aab78de27cf070dac1d5b07120e871415d45687c
SVN Revision: 51620
Parent Commit: 0405406
Lines Changed: +303, -10

2 Added Paths:

/source/blender/imbuf/intern/dds/FlipDXT.cpp (+255, -0) (View)
/source/blender/imbuf/intern/dds/FlipDXT.h (+32, -0) (View)

4 Modified Paths:

/source/blender/gpu/intern/gpu_draw.c (+6, -1) (Diff)
/source/blender/imbuf/intern/dds/CMakeLists.txt (+1, -0) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+8, -8) (Diff)
/source/blender/imbuf/intern/dds/SConscript (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021