Rich Geldreich
85fa18ec94
Adding encoder WebAssembly support, encode_test sample
...
Encoder is now a library in the "encoder" directory
JavaScript wrappers now expose the entire codec: encoder, transcoder, container independent transcoding, and .basis file information
2020-12-17 14:26:28 -05:00
Rich Geldreich
9ebf01854c
new file
2020-12-17 14:24:34 -05:00
Rich Geldreich
5eebb7e4f9
new files
2020-12-17 14:24:22 -05:00
Bruno George de Moraes
c8cb464fe3
Further optimize img!
...
/encoder_lvl_vs_perf.png -- 7.22kb -> 6.18kb (14.4%)
/webgl/texture/preview.png -- 432.41kb -> 317.87kb (26.488%)
/contrib/single_file_transcoder/examples/testcard.png -- 10.55kb -> 7.90kb (25.1%)
/contrib/single_file_transcoder/examples/testcard-rgba.png -- 14.3kb -> 11.52kb (19.44%)
/webgl/gltf/preview.png -- 490.65kb -> 458kb (6.652%)
/contrib/previewers/win/preview.png -- 652.43kb -> 624.31 (4.31%)
Total: 1,609.39kb -> 1425.78kb (11.4%)
2020-04-02 15:13:03 -03:00
ImgBotApp
3cb4515cc0
[ImgBot] Optimize images
...
*Total -- 1,819.93kb -> 1,593.25kb (12.46%)
/encoder_lvl_vs_perf.png -- 13.04kb -> 7.22kb (44.68%)
/webgl/texture/preview.png -- 522.49kb -> 432.41kb (17.24%)
/contrib/single_file_transcoder/examples/testcard.png -- 12.38kb -> 10.55kb (14.79%)
/webgl/gltf/preview.png -- 563.41kb -> 490.65kb (12.91%)
/contrib/previewers/win/preview.png -- 708.61kb -> 652.43kb (7.93%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
2020-03-22 08:23:08 +00:00
Rich Geldreich
5b6eb565e4
- Adding UASTC support to encoder, transcoder, .basis file format
...
- Removing BC7 mode 6 support from transcoder (will alway use the much smaller mode 5 tables now)
- Adding BMP support
- Adding -bench mode, for development
- CMakeLists.txt file now compatible with Visual Studio 2019 (MSVC)
2020-03-20 02:00:34 -04:00
Rich Geldreich
d0ee14e1fb
new files
2020-03-20 01:57:12 -04:00
richgel999
01d391cc2a
PVRTC1 apparently always use wrap addressing when fetching the adjacent block colors (even when clamp texture addressing is being used), so we don't need the wrap vs. clamp option anymore. It's always wrap and that's that.
2019-09-29 19:34:00 -07:00
richgel999
6e70902e82
Fixing tabs
2019-09-19 23:19:30 -07:00
richgel999
14a8e3ed99
Fixing tabs
2019-09-19 23:19:08 -07:00
richgel999
921a18b68f
Fixing tabs
2019-09-19 23:18:34 -07:00
richgel999
d9a289d42a
Changing webgl texture test so it uses a power of 2 texture by default, so it works on iOS
2019-09-19 23:15:41 -07:00
richgel999
d877fead4e
Adding power of 2 texture for webgl texture test, so it works on iOS
2019-09-19 23:15:08 -07:00
richgel999
e1a520c132
Adding uncompressed 565 pixel format support to texture demo
2019-09-19 22:12:40 -07:00
richgel999
eeb15a6e54
The transcoder now supports unpacking to 565 directly, so we don't need to transcode to BC1 then convert in Javascript
2019-09-19 21:58:10 -07:00
richgel999
2cb6bdadc1
Checking in new webgl files. Note that the WebAssembly transcoder has gotten bloated with BC7 support, which I'm working on fixing right now. (The wasm went from ~200k to 900k, because of a transcoder macro configuration issue.)
2019-09-19 14:34:39 -07:00
Preston Tamkin
39b5c5bc42
Modularize emscripten build.
...
By default, emscripten's generated javascript modules lives in the global object "Module'.
This makes it impossible to load multiple emscripten modules on the same page.
In attempt to avoid namespace collision, this change modularizes the emscripten build so the Module is instead called 'BASIS'.
Many target applications for Basis are likely to already be using other emscripten modules.
Testing:
The existing webgl/(texture|gltf) pages have been updated to use the new name and seem to operate as before
2019-06-11 23:42:49 -07:00
richgel999
92bc0de0ea
Fixing demo falling back to 565 problem on Firefox (and possibly Edge).
2019-05-23 19:47:44 -07:00
Don McCurdy
e654e346bc
Rename demo folders.
2019-05-15 09:30:31 -07:00