405 Commits

Author SHA1 Message Date
Бранимир Караџић
1bf3313ca2 Merge pull request #58 from BlockoS/master
Updated tinyexr.
2021-07-20 08:11:50 -07:00
MooZ
f5f27ec257 Updated build script. 2021-07-20 16:35:18 +02:00
MooZ
8cdb954576 Updated tinyexr. 2021-07-20 16:34:49 +02:00
Бранимир Караџић
8355d36bef Merge pull request #56 from cloudwu/fixbuild
fix mingw build, See #27
2021-04-30 07:33:23 -07:00
Cloud Wu
0966b55d11 fix mingw build, See #27 2021-04-30 16:32:18 +08:00
Бранимир Караџић
a39082ddbc Merge pull request #55 from fountainment/master
PNG: Fixed 1,2,4 bits palette support
2021-04-18 11:33:52 -07:00
C.Even
2be26090ca PNG: Fixed 1,2,4 bits palette support 2021-04-18 20:02:59 +08:00
Бранимир Караџић
f0ba7cb88c Merge pull request #54 from toolworks/master
Explicit sizes of the vector members in 3rd-party vectypes.h
2021-03-23 08:21:12 -07:00
Бранимир Караџић
200165a0dd Updated astc lib. 2021-03-12 07:47:28 -08:00
Vladislav Dmitrievich Turbanov
d193d02305 * Explicit sizes of the vector members. 2021-02-13 13:22:13 +03:00
Бранимир Караџић
7b70810f4b Merge pull request #53 from toolworks/master
Fixed compilation for Clang + Windows combo.
2021-02-12 07:44:49 -08:00
Vladislav Dmitrievich Turbanov
af59d238da Fixed encoding error
Co-authored-by: Leon Brands <lajbrands@outlook.com>
2021-02-12 11:05:56 +03:00
Vladislav Dmitrievich Turbanov
dca22fd6e9 * Fixed compilation for Clang + Windows combo. 2021-02-11 22:11:06 +03:00
Бранимир Караџић
c779a67d60 Merge pull request #52 from bdero/bdero/fix-emscripten
Remove ctype.h include that's no longer needed.
2021-01-31 09:55:26 -08:00
Brandon DeRosier
7f1d2e4604 Remove ctype.h include that's no longer needed.
See also bkaradzic/bimg#51 and 0c9cb2786f.
2021-01-31 02:26:35 -08:00
Бранимир Караџић
c925f74cb0 Merge pull request #51 from bdero/bdero/fix-emscripten
Fix emscripten builds by correcting `ctype.h` include.
2021-01-30 19:46:04 -08:00
Brandon DeRosier
0c9cb2786f Fix emscripten builds by correcting ctype.h include.
The emscripten compat headers work by transparently augmenting imports and including the original headers via `#include_next`.
The search path for emscripten places `system/include/compat` before `system/include`, and so importing with `compat/ctype.h` causes the preprocessor to skip over `system/include/compat` and land the search cursor on `system/include`, which then causes the subsequent `#include_next <ctype.h>` lookup to fail while processing the compat header.

Fixes emscripten-core/emscripten#13109 and bkaradzic/bgfx#2336.
2021-01-30 17:36:17 -08:00
Бранимир Караџић
a8686f9a20 Happy New Year! 2021-01-14 15:53:32 -08:00
Бранимир Караџић
ed4256321e Merge branch 'master' of github.com:bkaradzic/bimg 2021-01-11 23:01:35 -08:00
Бранимир Караџић
3eaff1e68f Updated README. 2021-01-11 23:01:08 -08:00
Бранимир Караџић
90e1bb074e Fixed makefile. 2021-01-04 22:36:50 -08:00
Бранимир Караџић
1366057822 OSX: Added separate osx-arm64 build configuration. 2020-12-31 18:17:51 -08:00
Бранимир Караџић
163a5cd2f5 travisci: Updated xcode version. 2020-12-27 18:24:25 -08:00
Бранимир Караџић
bf830a85f5 texturec: Added support for vertical cubemap strip. 2020-11-25 17:08:29 -08:00
Бранимир Караџић
5077cd017e Merge pull request #48 from mendsley/fix_clang_build
Change -Wunused-but-set-variable to GCC only
2020-10-05 03:44:08 +00:00
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