Commit Graph

117 Commits

Author SHA1 Message Date
Бранимир Караџић
603dff3fb7 Fixed warning. 2022-09-18 19:23:59 -07:00
Sandy Carter
9a074b7fcc pixelformats: Add B5G6R5 2022-08-24 11:04:43 -04:00
Sandy Carter
5d840d38a6 pixelformats: Add BGR5A1 2022-08-24 10:22:56 -04:00
Sandy Carter
21e42e98c8 pixelformats: Add BGRA4 2022-08-24 09:57:27 -04:00
Бранимир Караџић
9d6af16116 Happy New Year! 2022-01-15 11:58:54 -08:00
Christophe Dehais
6c6bb12137 Fix ktx cubemap size calculation
Change was introduced by commit #63 (b8a7a90)
2021-10-26 16:07:40 +02:00
Бранимир Караџић
c4941995d3 Fixed assert macros, and improved error handling. 2021-10-25 18:59:22 -07:00
attilaz
b8a7a901db Fixes for cubemap loading from ktx/pvr3 container 2021-08-06 09:07:59 +02:00
attilaz
ceea976049 added etc2a decoder 2021-08-03 09:47:41 +02:00
attilaz
4aa1353311 ETC2 decompression fixes 2021-08-02 10:38:39 +02:00
Бранимир Караџић
a8686f9a20 Happy New Year! 2021-01-14 15:53:32 -08:00
Бранимир Караџић
bf830a85f5 texturec: Added support for vertical cubemap strip. 2020-11-25 17:08:29 -08:00
Бранимир Караџић
bfe3c683f9 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:08 -07:00
Бранимир Караџић
5ee42f6de1 Removed alignment macros, and added functions instead. 2020-04-19 18:22:49 -07:00
Robin Allen
d69aef2368 Fix bug where loading uncompressed sRGB KTX files would swap B/R 2020-03-04 17:55:17 +00:00
Robin Allen
7d226675ea Enable KTX sRGB formats
- When parsing, set m_srgb flag on the ImageContainer if the image
  is in an sRGB format.

- When writing, take a new srgb parameter. If set, use the appropriate
  sRGB format.
2020-03-03 22:14:59 +00:00
Бранимир Караџић
f19841e815 Removed error. 2020-02-20 07:54:11 -08:00
Бранимир Караџић
29a722a729 Cleanup. 2020-02-08 15:41:35 -08:00
Vladimir Vukicevic
504ea68273 Add BIMG_DECODE_ASTC 2020-01-31 17:28:41 -08:00
Бранимир Караџић
bfbafce461 Happy New Year! 2020-01-14 21:26:10 -08:00
Brick
ea12e899d5 Optimized decodeBlockBc6h 2019-12-31 04:56:23 +00:00
Christophe Dehais
c93f4b5808 Use the correct layer size in imageWriteKtx 2019-11-26 22:07:25 +01:00
David Amador
e80463a5e7 fixed build error 2019-11-14 08:52:15 +00:00
Бранимир Караџић
2676f06e89 Cleanup. 2019-11-13 21:26:49 -08:00
Бранимир Караџић
cab4328a94 Cleanup. 2019-11-13 20:39:07 -08:00
Бранимир Караџић
0ab650f972 Cleanup. 2019-11-12 21:36:24 -08:00
Бранимир Караџић
9b5edc85ae WIP: Added ability to enable/disable decoders. 2019-11-10 20:26:04 -08:00
Бранимир Караџић
dab021bc46 Cleanup. 2019-07-27 20:12:31 -07:00
Бранимир Караџић
6fc9933183 Fixed crash when reading out of bounds. 2019-07-22 19:35:29 -07:00
Branimir Karadžić
cf58871928 Fixed ASTC decoding. 2019-02-16 21:52:23 -08:00
Бранимир Караџић
7ad9c896ba Added astc-codec decoder. 2019-02-16 13:11:06 -08:00
Бранимир Караџић
e1edb3b72c Cleanup. 2019-01-29 15:03:00 -08:00
Бранимир Караџић
db9122c255 Happy New Year! 2019-01-13 17:12:46 -08:00
Branimir Karadžić
baffd743b9 Cleanup. 2018-12-21 18:02:22 -08:00
Branimir Karadžić
18248c9492 Fixed decoding into image with different destination pitch. 2018-12-20 16:39:05 -08:00
william7ba
a4d5eb104e Add scaled mip-chain for sdf textures 2018-12-17 16:38:54 -08:00
Branimir Karadžić
ba69d9e52c Cleanup. 2018-11-25 20:10:40 -08:00
Branimir Karadžić
08e5d46037 Removing old vector math. 2018-11-17 20:01:38 -08:00
Branimir Karadžić
3bb8625872 Cleanup. 2018-11-14 20:01:36 -08:00
Branimir Karadžić
d9d6e81ce1 Removed writePrintf. 2018-11-12 20:26:14 -08:00
Branimir Karadžić
8a7d5589c2 texturec: Added --linear option. 2018-11-02 17:16:32 -07:00
Branimir Karadžić
65b7c21db8 Cleanup. 2018-07-25 05:19:25 +02:00
Andrew Willmott
03ad3921ef ASTC encoding support
- Add 3rdparty/astc with lib version of the standard encoder
- Add astc_compress call for ASTC formats

- Add BIMG_CONFIG_ASTC_DECODE-gated decompression support. This is just for
  testing, the decompress code is currently too heavy to include in the core lib.
- Add fourcc support for DDS decode so ASTC and other formats not covered by
  dxgi can be read

- Add --formats option to texturec, lists all supported formats

- Update genie files -- add astc to bimg_encode and remove redundant files from
  texturec
2018-07-23 19:05:11 +01:00
Branimir Karadžić
3a72f45d7d Cleanup. 2018-07-19 19:55:59 -07:00
Branimir Karadžić
dc121dbc27 Cleanup. 2018-07-18 20:30:45 -07:00
Branimir Karadžić
e802985376 Calculate mip size based on block size. 2018-07-18 20:27:24 -07:00
Branimir Karadžić
c3a55957f2 CMFT WIP. 2018-06-21 19:10:14 -07:00
Branimir Karadžić
ba82899651 Adding CMFT functionality. 2018-06-19 17:52:14 -07:00
Branimir Karadžić
76b2fe3e36 Adding CMFT functionality. 2018-06-15 17:39:00 -07:00
Branimir Karadžić
85162df8a6 Cleanup. 2018-06-15 11:03:13 -07:00