1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-20 04:21:01 +01:00

Updated Implementing Power Save, aka Idling outside of ImGui (markdown)

Pascal Thomet 2023-02-03 20:35:43 +01:00
parent 3f1aa743f1
commit 3ea2c50a8c

@ -8,7 +8,7 @@ ImGui applications can consume a lot of CPU, since they update the screen very f
Instead of modifying ImGui, an alternative approach is possible and it is not that difficult. It's motto is to say that this is neither a responsibility of ImGui in itself, nor a responsibility of the backend, but the responsibility of an application "runner" that is developed by the user around the backend.
This approach is summarized below, and may or may not be to your liking. But I digress.
This approach is summarized below. Of course, you may adapt it to your liking.
### 1. Create a storage for the idling data