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
Бранимир Караџић
f12bf096f6
Happy New Year!
2023-01-14 10:04:54 -08:00
Бранимир Караџић
0de8816a8b
Cleanup.
2022-09-23 23:18:57 -07:00
Бранимир Караџић
9d6af16116
Happy New Year!
2022-01-15 11:58:54 -08:00
C.Even
2be26090ca
PNG: Fixed 1,2,4 bits palette support
2021-04-18 20:02:59 +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
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
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
Бранимир Караџић
17bcbaf414
Fixed warnings.
2020-06-09 20:09:51 -07: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
Бранимир Караџић
bfbafce461
Happy New Year!
2020-01-14 21:26:10 -08:00
Бранимир Караџић
f0947b794c
Cleanup.
2019-02-17 16:55:25 -08:00
Бранимир Караџић
db9122c255
Happy New Year!
2019-01-13 17:12:46 -08:00
Branimir Karadžić
7224cff4dc
EXR: Added more info about cause of failure to parse.
2018-12-04 18:32:16 -08:00
Branimir Karadžić
8fd3fce6be
Fixed GCC7 warning.
2018-01-29 21:41:36 -08:00
Branimir Karadžić
b38c892289
Happy New Year!
2018-01-01 11:15:52 -08:00
Dario Manesku
009a74a681
Fixing grayscale png loading.
2017-12-19 01:40:31 +01:00
Branimir Karadžić
1948869a48
Added GNF stub.
2017-12-11 17:20:15 -08:00
Branimir Karadžić
7cc14e99a1
texturec: Added PNG error text on failure.
2017-11-08 18:58:38 -08:00
Branimir Karadžić
d7f03f8cab
Added all Exif orientation modes.
2017-07-20 20:27:06 -07:00
Branimir Karadžić
aa9dcbe5f9
Cleanup.
2017-07-20 08:53:23 -07:00
Branimir Karadžić
c59dd51906
Fixed orientation big endian decoding.
2017-07-20 00:23:24 -07:00
Branimir Karadžić
aca9cf49c6
Added EXIF parser for jpeg image orientation.
2017-07-19 22:52:47 -07:00
Branimir Karadžić
50332a81ba
Added more parsing errors.
2017-07-06 22:47:27 -07:00
Branimir Karadžić
5805ddc350
Fixed .exr decoding.
2017-07-06 20:15:59 -07:00
Branimir Karadžić
0621a9b023
Fixed .exr decoding.
2017-07-06 18:04:25 -07:00
Branimir Karadžić
e3ad56ac60
Fixed 16-bit RGB -> RGBA PNG.
2017-06-27 20:43:48 -07:00
Branimir Karadžić
b5607de624
Fixed some GCC7 warnings.
2017-06-27 20:26:54 -07:00
Branimir Karadžić
9031242773
Fixed RGB 16-bit PNG decoding.
2017-06-26 17:45:43 -07:00
Branimir Karadžić
279ec6a2f3
Fixed mipmap calculation. Added more error handling.
2017-05-24 15:04:07 -07:00
Branimir Karadžić
69512a3e6f
Renaming string functions.
2017-04-22 14:46:22 -07:00
Branimir Karadžić
8c79e05df0
Added support for palettized and 1-bit .png files.
2017-04-21 18:20:28 -07:00
Branimir Karadžić
155740489f
Cleanup.
2017-04-09 16:31:03 -07:00
Branimir Karadžić
00bc99f7e8
Cleanup.
2017-04-04 18:00:05 -07:00
Branimir Karadžić
f475cf0623
Moved image code from bgfx into bimg library.
2017-04-02 19:26:02 -07:00