Commit Graph
255 Commits
Author SHA1 Message Date
Rich Geldreich eb3fee4535 Update README.md 2019-09-19 16:19:13 -07:00
Rich Geldreich 1b6304f746 Update README.md 2019-09-19 16:14:12 -07:00
Rich Geldreich c7eda68456 Update README.md 2019-09-19 15:32:51 -07:00
Rich Geldreich 3541f1acc5 Update README.md 2019-09-19 15:30:24 -07:00
Rich Geldreich c892bf959a Update README.md 2019-09-19 15:29:02 -07:00
Rich Geldreich 972bc4aa6f Update README.md 2019-09-19 15:27:55 -07:00
Rich Geldreich 21a277d6a1 Update README.md 2019-09-19 15:24:43 -07:00
Rich Geldreich c7eb655b27 Update README.md 2019-09-19 15:23:45 -07:00
Rich Geldreich 2a9cb0bdfa Update README.md 2019-09-19 15:17:52 -07:00
richgel999 b316a0571b Rebuilt transcoder in the webgl_videotest directory, also added new texture format enums to index.html 2019-09-19 15:08:35 -07:00
richgel999 8545341b4b Rebuild transcoder in WebAssembly on OSX 2019-09-19 15:03:17 -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
Rich Geldreich 6bc7418508 Update README.md 2019-09-19 13:46:12 -07:00
Rich Geldreich 78c098be9b Update README.md 2019-09-19 13:45:01 -07:00
richgel999 36676e29eb When BASISD_SUPPORT_BC7 is defined and set to 0, we disable all the BC7 modes so the WebAssembly/Javascript transcoder doesn't get bloated. I'm going to disable BC7 mode 6 by default in the next minor update. 2019-09-19 13:42:51 -07:00
Rich Geldreich a195fb524f Update README.md 2019-09-19 13:36:07 -07:00
Rich Geldreich bf3a194b19 Updating readme 2019-09-19 13:26:34 -07:00
richgel999 b67956e5b7 Adding new files 2019-09-19 13:17:57 -07:00
richgel999 3629438d43 Transcoder update: ASTC 4x4 RGB/RGBA, ATC RGB/RGBA, BC7 mode 5 RGBA, PVRTC1 4bpp RGBA, and uncompressed raster formats. 2019-09-19 12:29:44 -07:00
Rich Geldreich 09e71afedf Update README.md 2019-09-09 13:38:18 -07:00
Rich Geldreich 98d9848983 Update README.md 2019-09-09 13:37:33 -07:00
Rich Geldreich 6002320758 Merge pull request #46 from Squareys/iterator-dbg-level
Avoid iterator debug level mismatches for linking as library
2019-08-22 08:50:52 -07:00
richgel999 8b6cfe1115 Adding missing enums for BC7 and PVRTC 32bpp - somehow these got messed up in a reformat. 2019-08-21 21:15:40 -07:00
richgel999 ab3c0e86b3 Fixing basis_enc.h so it doesn't include itself 2019-07-29 14:25:51 -07:00
Rich Geldreich 680ebc80e7 Updating readme 2019-07-28 20:45:11 -07:00
richgel999 f8f87d51f4 Basis Universal doesn't pack blocks to plain ETC1, and it doesn't try to explicitly pack solid color blocks. To reduce the size of the code to maintain, I'm removing this unused/dead code. 2019-07-28 20:29:51 -07:00
Squareys 2df7937bbf Add BASISU_NO_ITERATOR_DEBUG_LEVEL symbol to avoid debug level mismatches
Signed-off-by: Squareys <squareys@googlemail.com>
2019-07-07 22:48:27 +02:00
Rich Geldreich 087198fe26 Merge pull request #26 from prestomation/master
Modularize emscripten build.
2019-06-26 16:58:33 -07:00
richgel999 bbbce07039 Removing unnecessary assert. 2019-06-25 19:32:59 -07:00
richgel999 c9d24115ae Fixing cubemap .KTX files so the proper image_size field is written. Fixes this bug: https://github.com/BinomialLLC/basis_universal/issues/40 2019-06-22 22:09:10 -07:00
Rich Geldreich f0cb9db95a Merge pull request #36 from jherico/fix/assignment_copy_ctor_disable
Properly disable copy ctor and assignment operator
2019-06-17 19:37:53 -07:00
Brad Davis fccfdd93ef Properly disable copy ctor and assignment operator 2019-06-15 10:31:21 -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
Rich Geldreich f3f7c69f28 Merge pull request #32 from cwoffenden/previewers
Generates Windows thumbnails and preview
2019-06-11 11:02:47 -07:00
Rich Geldreich 5e8ad71036 Merge pull request #27 from zeux/wasmopt
Fix webgl CMakeLists.txt setup
2019-06-11 10:59:56 -07:00
Carl Woffenden 79d043092f Added flush after updating DIB contents 2019-06-10 08:50:52 +02:00
Rich Geldreich 7d784c7288 Correcting the copyright date, as all of the Basis Universal code was written during/after April '19. 2019-06-09 18:29:41 -07:00
Carl Woffenden b1c5642c8d Fix for dimensions that aren't a multiple of four
Grows the preview size to the nearest 4x4 to match the block size used.
2019-06-09 21:17:01 +02:00
Carl Woffenden 7121deeef7 Preview image now local 2019-06-09 11:48:37 +02:00
Carl Woffenden 37a9dc3da3 Initial working Windows preview
Creates previews from Basis files. Rough but creates thumbnails and preview pane views from the first images nearest mipmap.
2019-06-08 18:49:08 +02:00
Rich Geldreich 43fccbd21f Update README.md 2019-06-07 20:55:32 -07:00
Rich Geldreich 231fd71797 Update README.md 2019-06-07 20:55:06 -07:00
Rich Geldreich b6c20de094 Update README.md 2019-06-07 20:53:51 -07:00
richgel999 9bb867f98b Enabling debug flags in transcoder 2019-06-07 20:52:54 -07:00
richgel999 a92424d772 Adding webgl_videotest files 2019-06-07 20:51:00 -07:00
Rich Geldreich 938fe8c204 Removing OSX build instructions 2019-06-07 20:48:18 -07:00
Rich Geldreich 589d38971f Texture video changes 2019-06-07 20:47:21 -07:00
richgel999 ab722fa2e1 - Adding support for skip blocks, i-frames and p-frames to the backend and transcoder, for texture video use.
- For PVRTC1, we now memset() any extra blocks after the blocks we know will be transcoded into. This is done because in GL there is padding that occurs on textures smaller than 8x8.
- Removing all OpenMP usage and replacing it with a basis C++11 job system.
- Fixing TSVQ class so it can split very long "thin" clusters that before weren't being split. This improves endpoint quantization on videos and complex 2D textures.
- More frontend perf. optimizations.

Tested on OSX, Linux with gcc/clang, and Win using MSVC 2019.
1.08 v1.08
2019-06-07 20:35:38 -07:00
Arseny Kapoulkine 00001426de Fix webgl CMakeLists.txt setup
It looks like #7 didn't update CMakeLists.txt properly - defines
specified with -D have to be added as compile definitions.

Additionally, -O3 must be specified redundantly as a compile option and
as a link option - compile option makes .wasm bits small & fast, and
link option enables JS minifier.

After this fix CMake build results in minimal js/wasm files as well.
2019-06-02 20:46:47 -07:00
Rich Geldreich 06019e73ad Updating examples 2019-06-01 15:24:47 -07:00