Commit Graph

280 Commits

Author SHA1 Message Date
Matthew Endsley
dc7b730805 Change -Wunused-but-set-variable to GCC only
Clang (as of version 10.0.0) does not support this flag.
2020-10-04 20:38:50 -07:00
Бранимир Караџић
b65d12aa82 Updated stb headers. 2020-09-14 12:33:54 -07:00
Branimir Karadžić
3702758a46 Fixed warnings. 2020-09-07 10:36:03 -07:00
Branimir Karadžić
ac57c4dd97 Fixed warnings. 2020-09-07 10:07:02 -07:00
Бранимир Караџић
bfe3c683f9 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:08 -07:00
Бранимир Караџић
34c307e63f Merge pull request #46 from ejulien/tinyexr_fix_vs2019_16_6_0
tinyexr: Fixes warning C5208 (VS2019 16.6.0)
2020-06-16 15:18:53 +00:00
Emmanuel Julien (Movida)
7af1497aeb tinyexr: Fixes warning C5208 (VS2019 16.6.0) 2020-06-16 12:33:36 +02:00
Бранимир Караџић
9854bc55bb Updated STB "libs". 2020-06-13 13:38:18 -07:00
Бранимир Караџић
17bcbaf414 Fixed warnings. 2020-06-09 20:09:51 -07:00
Бранимир Караџић
4b2fa4de08 Updated LodePNG. 2020-06-09 20:01:17 -07:00
Бранимир Караџић
06d1e315ab Updated README. 2020-05-19 21:08:10 -07:00
Бранимир Караџић
8f8a032a0b Merge pull request #45 from NPatch/master
LodePNG and EXR parsers now set ImageContainer.m_hasAlpha.
2020-05-17 02:41:25 +00:00
NPatch
b336e20b9e Removing hasAlpha from bimg::TextureInfo and bimg::imageGetSize 2020-05-17 04:16:45 +03:00
Бранимир Караџић
9a02c96a3f Merge pull request #44 from juj/html5_examples
Update examples to build on Emscripten Wasm.
2020-05-16 16:02:41 +00:00
NPatch
5de76c05a3 LodePNG and EXR parsers now set ImageContainer.m_hasAlpha.
hasAlpha field added in bimg::TextureInfo and bimg::imageGetSize.
2020-05-16 18:08:21 +03:00
Jukka Jylänki
2e5e22149e Update examples to build on Emscripten Wasm. Add separate wasm and wasm2js targets. 2020-05-16 11:14:41 +03:00
Бранимир Караџић
5ee42f6de1 Removed alignment macros, and added functions instead. 2020-04-19 18:22:49 -07:00
Бранимир Караџић
b093e11e15 Merge branch 'master' of github.com:bkaradzic/bimg 2020-04-04 09:41:36 -07:00
Бранимир Караџић
58e95da232 Updated TinyEXR. 2020-04-04 09:41:28 -07:00
Бранимир Караџић
f27d884d89 Merge pull request #42 from rogual/fix-srgb-ktx-load
Fix bug where loading uncompressed sRGB KTX files would swap B/R
2020-03-05 05:51:40 +00:00
Robin Allen
d69aef2368 Fix bug where loading uncompressed sRGB KTX files would swap B/R 2020-03-04 17:55:17 +00:00
Бранимир Караџић
de9ed6b2ef Merge pull request #41 from rogual/srgb
Enable KTX sRGB formats
2020-03-04 03:23:11 +00:00
Robin Allen
60dea9bd74 texturec: Write sRGB images unless linear is requested 2020-03-03 22:16:16 +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
Бранимир Караџић
54519648cf Merge pull request #37 from vvuk/astc-decode-define
Add BIMG_DECODE_ASTC
2020-01-31 19:43:11 -08:00
Vladimir Vukicevic
504ea68273 Add BIMG_DECODE_ASTC 2020-01-31 17:28:41 -08:00
Бранимир Караџић
23d2cd1738 Removed andorid-mips from makefile. 2020-01-18 22:01:01 -08:00
Бранимир Караџић
bfbafce461 Happy New Year! 2020-01-14 21:26:10 -08:00
Бранимир Караџић
b5e1856124 Merge pull request #36 from 0x1F9F1/optimize_bc6h
Optimized BCH6 Decoding
2019-12-31 07:13:58 -08:00
Brick
ea12e899d5 Optimized decodeBlockBc6h 2019-12-31 04:56:23 +00:00
Бранимир Караџић
ed5fec9e82 Added VS2019. 2019-11-27 17:54:29 -08:00
Бранимир Караџић
d697eb9ddf Merge pull request #35 from goodartistscopy/imageWriteKtx_fix
Use the correct layer size in imageWriteKtx
2019-11-26 16:05:45 -08:00
Christophe Dehais
c93f4b5808 Use the correct layer size in imageWriteKtx 2019-11-26 22:07:25 +01:00
Бранимир Караџић
dc4d1f5345 Merge pull request #33 from DJLink/master
fixes build error in latest commit
2019-11-14 06:56:29 -08: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
Бранимир Караџић
c1bab10815 Merge branch 'master' of github.com:bkaradzic/bimg 2019-11-05 18:24:24 -08:00
Бранимир Караџић
39518d4f9f Updated TinyEXR. 2019-11-05 18:24:19 -08:00
Бранимир Караџић
52312370d5 Merge pull request #31 from sebastianmunity3d/master
fix integer log2 for asmjs
2019-10-25 14:47:44 -07:00
Sebastian Marketsmueller
42cd01203d fix integer log2 for asmjs 2019-10-25 14:45:12 -07:00
Бранимир Караџић
bd81f6030a Merge pull request #30 from vvuk/android_stdlib
Include stdlib.h for Android
2019-09-03 18:46:06 -07:00
Vladimir Vukicevic
b1a53f7c4d Include stdlib.h for Android 2019-09-03 08:26:39 -07:00
Бранимир Караџић
b34b29fa69 Merge pull request #27 from cloudwu/fixbuild
fix build for mingw/gcc (macro xx conflict)
2019-08-08 20:01:34 -07:00
Cloud Wu
d06ca587b9 fix build for mingw/gcc (macro xx conflict) 2019-08-09 10:51:46 +08:00
Бранимир Караџић
3484e01134 Merge pull request #26 from syntheticmagus/master
Add MSVC defines for ARM and ARM64
2019-08-08 19:45:41 -07:00