Paul Cercueil
0bac89e00f
Fix build on MIPS
...
On MIPS toolchains, the 'mips' keyword is a macro defined to 1.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
2019-12-19 11:36:33 +01:00
Alex Szpakowski
d6e37ec4aa
Add support for loading DDS files that contain raw/uncompressed pixel data. Resolves issue #1097 .
2019-09-17 22:40:11 -03:00
Alex Szpakowski
a6f8e7dac6
Improve detection of sRGB texture formats in dds files (doesn't currently affect any exposed API).
2019-09-15 19:08:25 -03:00
Alex Szpakowski
72ba5080fb
Update license.txt and relicense my .dds file parser code
...
--HG--
branch : minor
2017-07-23 00:28:25 -03:00
Alex Szpakowski
22bbe74ed9
Allow BC6 and BC7 compressed DDS files to be loaded into Images.
2014-11-05 21:11:22 -04:00
Alex Szpakowski
314a528996
Fixed loading BC4 compressed textures
2014-03-10 21:36:14 -03:00
Alex Szpakowski
55514720a6
Fixed some minor compiler warnings
2014-03-01 21:16:01 -04:00
Alex Szpakowski
0a36c41ba0
Removed support for BC7-compressed DDS images (only *very* modern systems support it right now); updated the ddsparse library
2013-06-09 16:31:02 -03:00
Alex Szpakowski
88d64954a4
Replaced the devil love.image module with love.image.magpie, which can decide which image library to use in a similar manner to love.sound.lullaby. Some rough edges still exist.
...
love.filesystem.newFileData now accepts filepaths and File objects.
--HG--
branch : image-CompressedData
2013-04-07 17:18:34 -03:00
Alex Szpakowski
8a8adcce39
Code cleanup
...
--HG--
branch : image-CompressedData
2013-04-05 18:55:44 -03:00
Alex Szpakowski
5301026f3c
Added support for DXT1/3/5 and BC5/7 compressed textures via love.image.CompressedData. Some internals are still iffy.
...
- added a new CompressedData type to love.image
- added love.image.isCompressed(file or data)
- love.graphics.newImage automatically tests for compression when loading a file
- added love.graphics.isSupported strings for DXT, BC5, and BC7
Compressed textures meant to be used on the GPU offer huge performance gains when
- loading the texture from a file
- loading the texture from RAM to VRAM
- loading mipmaps
- rendering
--HG--
branch : image-CompressedData
2013-04-04 19:09:18 -03:00