Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-11 | rewrite bitmask impl | Stanislaw Halik | |
It's slower than the previous version but fixes a bug when stride isn't a multiple of 8. It can be improved further by setting `auto& byte` all at once instead of setting individual bits of multiple bytes in the innermost loop. ------------------------------------------------------------ New version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 1911 us 1893 us 5 Bitmask_median 1911 us 1885 us 5 Bitmask_stddev 2.00 us 18.7 us 5 Bitmask_cv 0.10 % 0.99 % 5 ------------------------------------------------------------- ------------------------------------------------------------ Buggy version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 841 us 841 us 5 Bitmask_median 839 us 837 us 5 Bitmask_stddev 3.29 us 7.80 us 5 Bitmask_cv 0.39 % 0.93 % 5 ------------------------------------------------------------ ----------------------------------------------------------- Naive version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 4006 us 3997 us 10 Bitmask_median 4006 us 3997 us 10 Bitmask_stddev 2.29 us 0.000 us 10 Bitmask_cv 0.06 % 0.00 % 10 ------------------------------------------------------------ | |||
2024-04-11 | fix sprite bitmask generator | Stanislaw Halik | |
This is WIP because it needs a more efficient algorithm. | |||
2024-04-09 | a | Stanislaw Halik | |
2024-02-28 | switch to using unqualified calls to {move,forward,swap} | Stanislaw Halik | |
2024-01-16 | a | Stanislaw Halik | |
2023-12-26 | a | Stanislaw Halik | |
2023-08-27 | call AbstractTexture::setLabel() | Stanislaw Halik | |
2023-05-18 | wip vobj | Stanislaw Halik | |
2023-04-14 | rename shader | Stanislaw Halik | |
2023-04-13 | add comments | Stanislaw Halik | |
2023-03-26 | a | Stanislaw Halik | |
2023-03-25 | use operator""uz c++23 polyfill | Stanislaw Halik | |
2023-03-19 | move some deserialize path's asserts to soft asserts | Stanislaw Halik | |
2023-03-18 | pre-declare integer types without cstddef/cstdint | Stanislaw Halik | |
2023-03-18 | test/serializer: add new comprehensive test | Stanislaw Halik | |
2023-03-02 | Revert "src/anim-atlas: add bitmap optimization attempt" | Stanislaw Halik | |
This reverts commit fea104b14632e3d51be7ce1abf71195e4f6b1a8d. Now it lives in the repo history. | |||
2023-03-02 | src/anim-atlas: add bitmap optimization attempt | Stanislaw Halik | |
2023-03-02 | src/anim: fix off-by-one oob write for bitmaps | Stanislaw Halik | |
2023-03-02 | Revert "src/anim-atlas: put in adapted old bitmask code" | Stanislaw Halik | |
This reverts commit 4e1823a8690992e6e0d9c54e41b333ea0dbc2be7. And now it's safely stored in revision history for the next time it's needed for comparison purposes. | |||
2023-03-02 | src/anim-atlas: put in adapted old bitmask code | Stanislaw Halik | |
2023-03-02 | src/bitmask: reformat | Stanislaw Halik | |
2023-03-02 | src/anim-atlas: fix bitmask undefined read | Stanislaw Halik | |
2023-02-27 | test: add bitmask benchmark | Stanislaw Halik | |
2023-02-27 | compat/prelude: add operator""_uz() for size_t | Stanislaw Halik | |
2023-02-27 | src: optimize anim atlas bitmask generation | Stanislaw Halik | |
2022-12-01 | src/anim-atlas: fix dangling reference | Stanislaw Halik | |
Found with: asan | |||
2022-12-01 | anim-atlas: expose first rotation | Stanislaw Halik | |
2022-11-29 | anim, scenery: persist scenery rotation in editor | Stanislaw Halik | |
2022-11-29 | src: validate anim-atlas frames when loading | Stanislaw Halik | |
2022-11-29 | anim-atlas: allow getting first available rotation | Stanislaw Halik | |
2022-11-27 | scenery wip | Stanislaw Halik | |
2022-11-25 | add scenery horizontal mirroring | Stanislaw Halik | |
2022-11-23 | scenery: add table | Stanislaw Halik | |
2022-11-23 | anim-atlas: cleanup bitmask code | Stanislaw Halik | |
2022-11-22 | finally it works | Stanislaw Halik | |
2022-11-22 | wip | Stanislaw Halik | |
2022-11-21 | scenery work | Stanislaw Halik | |
2022-11-12 | add z component to anim_group world offset | Stanislaw Halik | |
2022-11-12 | add offset to anim_group rotations | Stanislaw Halik | |
2022-11-10 | flush it | Stanislaw Halik | |
2022-11-08 | make {,un}project() accept single-precision too | Stanislaw Halik | |
2022-11-08 | fix anim offsets | Stanislaw Halik | |
2022-11-08 | a | Stanislaw Halik | |
2022-11-07 | animations kinda work | Stanislaw Halik | |
2022-11-07 | wip | Stanislaw Halik | |
2022-11-07 | more std::string | Stanislaw Halik | |
2022-11-07 | wip | Stanislaw Halik | |
2022-11-07 | add missing includes | Stanislaw Halik | |
2022-11-06 | a | Stanislaw Halik | |
2022-11-05 | a | Stanislaw Halik | |