Commit Graph

75 Commits

Author SHA1 Message Date
cb84f32eda Migrate code style to Black 2022-04-18 19:53:26 -07:00
a881a0a36b Add more helpful error when importing without libomp installed
Also use non-shallow clones in ci
2022-04-11 23:05:20 -07:00
3b73bc8bce use Py_ssize_t to make msvc happy 2022-04-10 01:06:25 -07:00
f7d57aa859 Fix alpha premultiplication being used when generating mipmaps 2021-09-28 20:40:01 -07:00
f2873f3a38 Downgrade project to C++17 2021-05-08 16:50:05 -07:00
2618faadfc Fix cli module 2021-04-20 15:14:51 -07:00
38d3805add fix pfflags and mipmap count 2021-04-20 11:23:14 -07:00
8967bc2f1a use member initialization for constexpr constructors 2021-04-13 23:39:24 -07:00
69fdd6a4c8 fix typo in help text 2021-04-10 22:11:29 -07:00
0152e99c44 Add encode command 2021-04-10 21:34:49 -07:00
560acb20ea Add __version__ 2021-04-10 12:15:20 -07:00
362c1c0715 dont try to run cli from __init__.py 2021-04-10 01:50:25 -07:00
4c6b683616 move common code to its own module and out of __init__.py, move command to __main__.py 2021-04-10 01:34:26 -07:00
b8aba4d382 move common code to its own module and out of __init__.py 2021-04-10 01:28:03 -07:00
1f0a577d7f document some things 2021-04-09 23:21:53 -07:00
76da50d003 More decode cleanup 2021-04-09 23:18:40 -07:00
8a85f5c920 decode cleanup 2021-04-09 02:19:58 -07:00
156880d430 Add decode command 2021-04-09 01:33:30 -07:00
8b6ea69300 DDS file class 2021-04-08 21:26:58 -07:00
09e05b7cde API changes 2021-04-08 16:04:21 -07:00
7149864173 tweaks 2021-04-07 23:39:50 -07:00
2fa4f59104 License comment update 2021-04-07 23:26:28 -07:00
ac16b14a92 formatting 2021-04-07 23:21:54 -07:00
3c538f0843 test for BC4 2021-04-07 01:08:45 -07:00
f06fc809b2 Add BC1 block decoding tests and fix 2021-04-06 00:03:58 -07:00
901dcc45df Add BC1 tests 2021-04-05 02:44:56 -07:00
8ab324a661 delete ndebug.h 2021-04-04 21:23:13 -07:00
9fdbaf2909 Use pybind11-generated docstring signatures 2021-04-03 23:53:22 -07:00
190bb58367 fix stubgen and add pyi files to package 2021-04-03 22:03:50 -07:00
4fdf1085e0 bind encode/decode methods 2021-04-03 00:55:49 -07:00
424d635292 Fix interpolator container type 2021-04-03 00:36:41 -07:00
d25d8c3c56 Finish block/texture bindings 2021-04-02 19:24:54 -07:00
6831c3f6c9 Fix virtual overloading 2021-04-02 18:51:38 -07:00
639ce6ad14 Minor tweaks 2021-04-02 18:34:14 -07:00
831e86fda6 Fix broken constexpr 2021-04-02 18:25:37 -07:00
3d91ac2bed BC1Block/BC4Block cleanup 2021-04-02 01:01:01 -07:00
e1739b99d3 Fix map? 2021-04-01 23:26:16 -07:00
53605c983d Fix functor? 2021-04-01 22:45:40 -07:00
8cd870ed26 More block tweaks 2021-04-01 22:37:25 -07:00
0caa4fbc4c fix Color constexpr constructor 2021-04-01 16:50:02 -07:00
fa3fab4ca0 Block refactor 2021-04-01 16:37:15 -07:00
3852da6249 Bind BC1Block and BC1Texture 2021-03-31 20:26:40 -07:00
28b541d49a Improved subscripting 2021-03-30 02:36:27 -07:00
bd454d9d20 improved texture indexing 2021-03-29 22:56:25 -07:00
22bbdeb7b8 Add texture tests and minor api tweaks 2021-03-29 22:15:53 -07:00
0965f3958d enable buffer protocol 2021-03-29 19:58:46 -07:00
c70907ced2 Add texture creation from bytes 2021-03-29 19:38:37 -07:00
67751e87c7 Fix linking 2021-03-29 03:07:48 -07:00
caef02e57f IWYU pass 2021-03-28 03:44:29 -07:00
539980f75f fix parameter hiding of rgba 2021-03-28 03:24:11 -07:00