Branimir Karadžić
2d4e6c6de1
Added EAC texture formats. ( #98 )
2025-11-11 16:15:57 +00:00
attilaz
b8603b8456
ktx: fixed srgb for etc2/bc7 textures ( #97 )
2025-11-11 14:52:12 +00:00
Branimir Karadžić
a1a2ae3c12
Update assert API to latest bx.
2025-08-23 09:21:29 -07:00
Nuno Silva
3af74f3fe1
fix exr memory allocation size overflow by turning the size into a uint64_t ( #96 )
2025-07-31 15:57:14 +00:00
Daniele Bartolini
5c1fffca4d
Detailed message on error to parse EXR header. ( #95 )
2025-07-08 20:22:12 +01:00
Бранимир Караџић
446b9eb111
Removed requirement that .dds file set DDSD_CAPS and DDSD_PIXELFORMAT.
2025-03-06 19:29:43 -08:00
Бранимир Караџић
c5c7b6e187
Happy New Year!
2025-01-13 15:45:33 -08:00
Бранимир Караџић
b7130927db
Cleanup.
2024-12-07 22:49:58 -08:00
Бранимир Караџић
aaf9125234
Cleanup.
2024-07-20 08:40:02 -07:00
Бранимир Караџић
e154af4821
Fixed error.
2024-07-20 07:34:30 -07:00
Бранимир Караџић
59f188a6ad
HEIC: Fixed data copy when strides are mismatched.
2024-06-13 22:18:23 -07:00
Бранимир Караџић
c4268ed766
Added option to build with libheif.
2024-06-11 17:58:39 -07:00
Branimir Karadžić
e9fa0ceff2
DDS: Fixed legacy formats.
2024-03-27 22:00:55 -07:00
Бранимир Караџић
0903ea21d5
DDS: Fix legacy BGR formats.
2024-02-09 22:12:49 -08:00
Branimir Karadžić
af81ff7a3c
DDS: Recognize more formats.
2024-02-09 21:39:48 -08:00
Paul Gruenbacher
daedacc877
Fix ktx parsing failing if texture array has 6 layers ( #84 )
...
* Fix ktx parsing failing if texture array has 6 layers
Fixing line in code that assumes if numSides == 6 then it must be a cubemap even though numSides in this situation can refer to numLayers as well.
* Update src/image.cpp
confirmed this works and makes sense
Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com >
---------
Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com >
2024-01-31 12:00:16 -08:00
Бранимир Караџић
964a5b8548
Happy New Year!
2024-01-14 01:56:15 -08:00
Бранимир Караџић
678b750128
Fixed calcNumMips for non-power-of-2 texture dimensions.
2023-12-11 07:42:34 -08:00
Бранимир Караџић
6c4d1888eb
Cleanup.
2023-11-23 09:42:13 -08:00
Raziel Alphadios
82781e44d8
Ktx fixes ( #82 )
...
* Fix ktx issues that were making it out of spec
* Fix ktx cubemap mip size to follow spec (must not be multiplied by size in a cubemap)
* Remove numLayers from cubemap image size calculation since it is always 1 in this case
2023-10-07 23:07:25 -07:00
issam3105
b13cb35f63
Prevent the export of stb functions ( #81 )
...
I encountered linking issues when the executable was using other libraries that also utilized stb
2023-09-11 08:06:55 -07:00
Branimir Karadžić
ec02df824a
Added bx::Location, and removed allocator macros.
2023-04-23 19:19:15 -07:00
Бранимир Караџић
aa1a4aa1d1
Renamed bx::init::* tags.
2023-04-22 22:22:34 -07:00
Бранимир Караџић
f12bf096f6
Happy New Year!
2023-01-14 10:04:54 -08:00
Branimir Karadžić
6a15b31f19
Fixed build.
2023-01-01 19:12:09 -08:00
Бранимир Караџић
8c3aabc3c1
Updated astc-encoder.
2022-11-10 17:27:01 -08:00
von
58c0869be5
remove unnecessary line
2022-10-31 13:14:46 +08:00
von
3d0678e3cc
fix dds texture array
2022-10-31 10:05:35 +08:00
von
6a2599324f
fix dds texture array bug
2022-10-31 09:53:59 +08:00
Raziel Alphadios
e0e9fef6a8
Drop astc-codec and use astc-encoder for decoding too
...
Add missing ASTC formats to imageEncode path too
2022-10-26 04:39:59 +03:00
Raziel Alphadios
3e096a4a50
Add support for remaining unsupported ASTC formats
2022-10-26 02:34:33 +03:00
Raziel Alphadios
2e26b42318
Break out of astc image_compress error too for consistency
2022-10-21 22:36:46 +03:00
Raziel Alphadios
97934fd0d1
Break out of astc encoding on astc error
2022-10-21 22:29:37 +03:00
Raziel Alphadios
891289a0fc
Add astc error handling
2022-10-21 19:52:37 +03:00
Raziel Alphadios
3f98d7b133
Integrate new astc-encoder
2022-10-21 07:27:00 +03:00
Бранимир Караџић
c7f88c254d
Drop in latest astc-encoder.
2022-10-20 19:58:04 -07:00
Бранимир Караџић
0de8816a8b
Cleanup.
2022-09-23 23:18:57 -07:00
Бранимир Караџић
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
Бранимир Караџић
31358177f1
Added numeric min/max for type.
2022-08-22 20:30:34 -07:00
luz paz
637a3a6abc
Fix misc. typo
...
Found via `codespell -q 3 -S ./3rdparty -L ba,inout,lod,quater,treshold`
2022-02-05 16:50:31 -05: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
Бранимир Караџић
6693de0e50
Added initializer types.
2021-09-06 09:03:12 -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