Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-18 | pose-widget: add qt-based impl | Stanislaw Halik | |
It's probably half-broken though. | |||
2019-02-21 | do less global memory fences in atomics | Stanislaw Halik | |
2019-02-02 | pose-widget: use namespaces correctly | Stanislaw Halik | |
2019-01-16 | pose-widget: enable hidpi | Stanislaw Halik | |
2019-01-16 | modernize only | Stanislaw Halik | |
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages | |||
2019-01-16 | pose-widget: handle octopus in 8-bit color w/ 1-bit alpha | Stanislaw Halik | |
2018-12-24 | style/quality only | Stanislaw Halik | |
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis | |||
2018-12-08 | clean up a bit | Stanislaw Halik | |
2018-07-08 | modernize only | Stanislaw Halik | |
2018-06-26 | modernize C++ syntax | Stanislaw Halik | |
No visible changes (hopefully). | |||
2018-06-26 | compat/macros: rename portability macros | Stanislaw Halik | |
use `cc_xx' rather than awkward synonyms. | |||
2018-06-26 | core, modules: modernize syntax only | Stanislaw Halik | |
Use more C++17 features where this helps any. | |||
2018-03-10 | sprinkle some `static constexpr inline' | Stanislaw Halik | |
2018-02-16 | compat/macros: cleanup | Stanislaw Halik | |
Remove cruft, adjust usages. | |||
2018-02-15 | clean up "static" and "constexpr" types | Stanislaw Halik | |
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates. | |||
2018-02-12 | cmake: add zh_CN | Stanislaw Halik | |
cf. #746 | |||
2018-01-18 | compat/util: retire | Stanislaw Halik | |
Adjust usages. | |||
2018-01-10 | pose-widget: drop alpha calculation | Stanislaw Halik | |
We don't have 8-bit alpha in Qt anyway. | |||
2018-01-10 | many: spring cleanup | Stanislaw Halik | |
2018-01-03 | pose-widget: sprinkle some const | Stanislaw Halik | |
2017-12-29 | pose-widget: fix off-by-one | Stanislaw Halik | |
2017-12-02 | pose-widget: disable bilinear filtering | Stanislaw Halik | |
2017-11-14 | pose-widget: cleanup nonsense | Stanislaw Halik | |
2017-10-29 | static constexpr -> constexpr | Stanislaw Halik | |
2017-10-13 | compat/macros: fix "restrict" name clash | Stanislaw Halik | |
2017-10-02 | pose-widget: only draw needed octopus size | Stanislaw Halik | |
2017-09-23 | play with thread priorities | Stanislaw Halik | |
2017-09-08 | pose-widget: fix race on startup | Stanislaw Halik | |
2017-08-19 | pose-widget: clamp floats | Stanislaw Halik | |
We can't expect bounds check to work, if depending on floating-point dot product. | |||
2017-08-19 | Revert "pose-widget: remove badly-looking shadow" | Stanislaw Halik | |
The shadow's not at fault. cf. https://github.com/opentrack/opentrack/issues/664#issuecomment-322397835 | |||
2017-08-03 | pose-widget: remove badly-looking shadow | Stanislaw Halik | |
2017-07-28 | gui: don't update the main window if it's hidden | Stanislaw Halik | |
2017-07-20 | pose-widget: fix Qt use-after-free | Stanislaw Halik | |
Due to Qt's implicit sharing, something goes wrong when calling QImage::constBits(). It's likely related to to multithreading. Strangely enough, `constBits()' shouldn't perform a copy of the image according to Qt docs. While here, remove the "offset" defensive coding. Also, use a constant depth as to reduce confusion. | |||
2017-07-18 | pose-widget: fix build | Stanislaw Halik | |
2017-06-30 | pose-widget: optimize CPU usage slightly | Stanislaw Halik | |
CPU usage of an empty tracker loop fell reliably from 1% to .9%. | |||
2017-06-18 | minor tweaks only | Stanislaw Halik | |
2017-05-12 | minor fixes only | Stanislaw Halik | |
2017-05-10 | pose-widget: add empty space to prevent out-out-bounds writes | Stanislaw Halik | |
2017-05-10 | pose-widget: projected pixel overflow isn'n an issue | Stanislaw Halik | |
2017-05-01 | pose-widget: catch 90 deg oblique rotation sooner | Stanislaw Halik | |
2017-04-29 | cv, pose-widget: don't premultiply alpha | Stanislaw Halik | |
It doesn't improve perf. | |||
2017-04-20 | pose-widget: fix build | Stanislaw Halik | |
2017-04-18 | many: use std::f{max,min} for floating-point values | Stanislaw Halik | |
2017-04-18 | pose-widget: also compute alpha in the loop | Stanislaw Halik | |
2017-04-18 | pose-widget: check area for invalid denom | Stanislaw Halik | |
The denom check is a magic number otherwise. | |||
2017-04-17 | pose-widget: iterate over BGR | Stanislaw Halik | |
2017-04-17 | pose-widget: interpolate next in world coordinate space | Stanislaw Halik | |
The next value was chosen in view space. | |||
2017-04-17 | few widgets: use repaint() for no event loop overhead | Stanislaw Halik | |
The Qt event loop overhead formed a decent amount of total CPU usage. `repaint()' is a direct call. | |||
2017-04-17 | cv/video-widget, pose-widget: use premultiplied argb32 surface | Stanislaw Halik | |
2017-04-12 | pose-widget: fix some breakage, forgot what it was | Stanislaw Halik | |