tornavis/source/blender
Aras Pranckevicius b3ea1e75dc Cleanup: comment why DDS DXT/S3TC needs power of two sizes, and clearer log message
It is not immediately clear why DDS compressed (DXT/S3TC) textures need
to be power of two in size (since nothing in DXT/S3TC intrinsically
requires that). It is only needed due to the "flip the texture upside
down" dance that we do for DDS at load time.

While at it, when logging DXT related messages, tell which texture
was it for, and dimensions. This changes logs like:
```
Unable to load non-power-of-two DXT image resolution, falling back to uncompressed.
Unable to load non-power-of-two DXT image resolution, falling back to uncompressed.
Unable to find a suitable DXT compression, falling back to uncompressed.
```
Into:
```
Unable to load non-power-of-two DXT image resolution, falling back to uncompressed (281splash-dxt1-mips.dds, 890x501).
Unable to load non-power-of-two DXT image resolution, falling back to uncompressed (281splash-dxt5-mips.dds, 890x501).
Unable to find a suitable DXT compression, falling back to uncompressed (281splash-rgba8-mips.dds, 890x501).
```

Pull Request: https://projects.blender.org/blender/blender/pulls/120210
2024-04-03 17:12:46 +02:00
..
animrig Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
asset_system Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
blendthumb Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
blenfont Refactor: Remove BLF _ex functions using default arguments 2024-03-28 04:02:13 +01:00
blenkernel GPv3: Onion Skinning 2024-04-03 15:34:40 +02:00
blenlib Geometry: Use implicit sharing for deformed positions 2024-04-03 14:14:34 +02:00
blenloader Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
blentranslation Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
bmesh Cleanup: Use C++ Span, float3 for BMesh normals API 2024-04-02 18:03:49 -04:00
compositor Cleanup: pass arguments by const reference instead of value 2024-04-03 14:40:39 +11:00
datatoc Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
depsgraph Fix #120200: Sculpting is slow with modifier with driver 2024-04-03 15:06:32 +02:00
draw Curves: Bezier handle selection support 2024-04-03 16:40:36 +02:00
editors Curves: Bezier handle selection support 2024-04-03 16:40:36 +02:00
freestyle Cleanup: Move BKE_idprop.h to C++ 2024-03-26 13:07:04 -04:00
functions Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
geometry Geometry: Use implicit sharing for deformed positions 2024-04-03 14:14:34 +02:00
gpencil_modifiers_legacy Cleanup: Use forward declaration headers in a few places 2024-03-27 22:25:08 -04:00
gpu Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
ikplugin Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
imbuf Cleanup: comment why DDS DXT/S3TC needs power of two sizes, and clearer log message 2024-04-03 17:12:46 +02:00
io Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
makesdna GPv3: Onion Skinning 2024-04-03 15:34:40 +02:00
makesrna GPv3: Onion Skinning 2024-04-03 15:34:40 +02:00
modifiers Cleanup: sort CMake file lists 2024-04-01 16:48:44 +11:00
nodes Geometry: Use implicit sharing for deformed positions 2024-04-03 14:14:34 +02:00
python Cleanup: use explicit casts when assigning booleans to floats 2024-04-01 22:20:09 +11:00
render Cleanup: use const pointer arguments 2024-04-03 10:22:05 +11:00
sequencer Cleanup: use BLI_assert_msg instead of checking string literals 2024-04-03 14:27:54 +11:00
shader_fx Cleanup: Use C++ namespace for object editors module 2024-03-28 01:30:38 +01:00
simulation Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
windowmanager Sculpt: Add Line Hide tool 2024-03-29 00:05:25 +01:00
CMakeLists.txt GPv3: Onion Skinning 2024-04-03 15:34:40 +02:00