From 47b6253049b54186663b4205d3441f88656dc22e Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 16:12:09 +0100 Subject: flesh out extra details in the MD files --- TODO.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 3f74c80..8d5d3b4 100644 --- a/TODO.md +++ b/TODO.md @@ -25,6 +25,23 @@ This file tracks the next set of immediate, actionable tasks for the project. == etc. - [ ] the inclusion of gpu.h (either "gpu.h" or ) seems to be a recurring compilation and portability issue. Can we have a single inclusion of gpu.h in some platform header instead of scattered inclusion in .cc files? This would reduce the single-point-of-compilation failures during compilation and portability checks. +- ** Task #?: platform-specific code hygiene + There's several platform-specific code scattered over several source files (.cc and .h) + For instance: +```cpp +#if defined(DEMO_CROSS_COMPILE_WIN32) +#include +#else +#include +#endif /* defined(DEMO_CROSS_COMPILE_WIN32) */ +``` + This sort of code should be gathered at once single place (platform.h?) once for all. + - [ ] => Make all cross-compile and platform-specific conditional code sit in one single header file. + +- ** Task #?: platform_init() should return a PlatformState directly instead of taking a PlatformState& parameter to write into + - [ ] maybe incorporate the platform time (platform_get_time()) into the PlatformState directly during platform_poll() call? + - [ ] same with aspect_ratio (platform_get_aspect_ratio()) unless it's not an invariant and the function needs to be called each time + ## Future Goals - **Task #5: Implement Spectrogram Editor** -- cgit v1.2.3