You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've not played with the code yet. Just ran the ImGui_SDL2_OpenGL3_Demo on Linux64.
With hardware rendering CPU and FPS are fine (30 FPS).
With software rendering though CPU and FPS are not good... (>1700 FPS)
(Well, FPS is good, it is just excessive..., more than 60x 30 FPS)
I'm inexperienced with ImGui in general. I played with it some C++ and had high CPU usage, but that was also with software rendering, and I put a significant delay in the event loop so it was only 4 FPS to get the CPU down.
Looking at your example though give me hope, for a few reasons.
The ability use ImGui with FPC
That I might be able to figure out the software rendering issues
If with FPC I could get the demo down from 1700 FPS to 30 FPS CPU usage might be reasonable.
I have yet to test the CPU rendering on Linux, but I remember talking to one of my friends on Discord about that.
Someone also talked about it in the official imgui repo, and they solved it.
I'll test it on Windows first, see how it performs, and maybe add an FPS limiter.
I hope this repo helps you learn more and lets people know that Pascal is not a dead language.
And ImGui is making progress on both those targets, which is another reason why ImGui-Pascal gives me hope for some upcoming personal projects, and I was really wanting to use modern and free Object Pascal instead of C++ (yes, also, modern and free...)
I've not played with the code yet. Just ran the ImGui_SDL2_OpenGL3_Demo on Linux64.
I'm inexperienced with ImGui in general. I played with it some C++ and had high CPU usage, but that was also with software rendering, and I put a significant delay in the event loop so it was only 4 FPS to get the CPU down.
Looking at your example though give me hope, for a few reasons.
Hardware rendering
GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]Software rendering
CPU: Intel i9-9900K (16) @ 5.000GHzThe text was updated successfully, but these errors were encountered: