Commit Graph

340 Commits

Author SHA1 Message Date
2bb2b143f2 test docs 2021-04-07 17:07:03 -07:00
3c538f0843 test for BC4 2021-04-07 01:08:45 -07:00
b35c7d5ae9 test for index errors on BC1 2021-04-06 23:46:00 -07:00
fea4d6c2b1 improved rawtexture tests 2021-04-06 23:41:26 -07:00
f06fc809b2 Add BC1 block decoding tests and fix 2021-04-06 00:03:58 -07:00
50d411a349 Add BC1 block encoding tests 2021-04-05 23:07:33 -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
25cd3bba24 use pybind11-stubgen instead 2021-04-03 23:52:42 -07:00
190bb58367 fix stubgen and add pyi files to package 2021-04-03 22:03:50 -07:00
6e30ba871c stubgen cleanup 2021-04-03 21:17:06 -07:00
b800511fcb update gitignore 2021-04-03 21:04:54 -07:00
5d89684a6e add stub generation script 2021-04-03 21:03:24 -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
0b3e3b5cb0 update CMakeLists.txt 2021-03-29 19:38:57 -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
eea15dcc4e fix warning flags in gcc 2021-03-28 03:19:00 -07:00
8e758d5739 fix some warnings 2021-03-28 03:15:52 -07:00
c1bde8560e Disable sign conversion warnings
just tired of them, I know what I'm doing
2021-03-28 03:03:29 -07:00
fb56c6af04 Refactor to add Texture classes 2021-03-28 02:36:47 -07:00
c843871ac1 make Color have a constexpr constructor and add Block class 2021-03-25 02:07:17 -07:00
e5f60ec030 CLI scaffolding 2021-03-24 22:04:12 -07:00
2244b2117d rename some values for less confusion
From now on, "size" should refer to a value in bytes, whereas dimensions are in pixels or blocks and usually a 2-tuple
2021-03-24 21:49:46 -07:00
18e3089eb0 some util functions 2021-03-24 21:45:05 -07:00
98061239f9 ignore .so files 2021-03-23 21:45:05 -07:00
96497cac20 add Click as a dependency 2021-03-23 20:04:00 -07:00
5f13b841ad Extremely bad hardcoded DDS file reading 2021-03-23 16:27:31 -07:00
dae82c0662 fix error 2021-03-23 03:14:23 -07:00
8676a6c10f various DDSFile tweaks and documentation 2021-03-23 03:12:38 -07:00
c86eca293c various DDSFile tweaks 2021-03-23 02:23:48 -07:00