Skip to content

Conversation

@danoli3
Copy link
Member

@danoli3 danoli3 commented Dec 31, 2024

Fixes: #8238

Changes:

ofFPSCounter

  • fixed default values
  • fixed ofGetLastFrameTimeSecs() to return double duration as to spec
  • fixed ofGetLastFrameFilteredTimeSecs() to return double duration as to spec
  • fixed timestamp calculation for < 2
  • fixed filteredTime calculation with clamps for anomalies
  • fixed filteredTime calculation to only occur with timeMode FilteredTime
  • passing timeMode as int in ctor / setter added
  • queue to deque (for size optimisation)
  • allowed for FPS change with functions added

ofEvents

  • fixed setting of ofFPSCounter and timeMode
  • fixed changing of FPS not changing fps counter

@danoli3
Copy link
Member Author

danoli3 commented Dec 31, 2024

Okay this is tested working for System, Filtered and normal working.

  • Also fixed emscripten build ci for split for addons
  • fixed linux rtAudio redefine issues
  • Linux - GDB enabled for tests

@danoli3 danoli3 merged commit a34ab60 into openframeworks:master Dec 31, 2024
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] ofGetLastFrameTime() always returns 0

1 participant