Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: optimize editor->IMGUI #47

Open
yyc-git opened this issue Jan 10, 2024 · 0 comments
Open

perf: optimize editor->IMGUI #47

yyc-git opened this issue Jan 10, 2024 · 0 comments

Comments

@yyc-git
Copy link
Contributor

yyc-git commented Jan 10, 2024

TODO use ImGui.ShowMetricsWindow() to show debug

description
run the editor is slow

reason
now even run the simplest editor(Scene View + Game View), GPU will take 8ms in each frame. the imgui cost GPU

solution
1.reduce ui size
e.g. reduce window size which are overlay by upper ui controls

but this lead only a litter increase fps

2.optimize imgui
refer to:
Performance improvement suggestion
https://community.intel.com/t5/Intel-oneAPI-Data-Parallel-C/Optimizing-Performance-and-Memory-Usage-in-ImGui-based/td-p/1464228
Could ImGUI Be the Future of GUIs?

TODO optimize Scene/Game View?

3.imgui use webgpu backend

/*
4..use UIElements
refer to:
https://blog.csdn.net/u010019717/article/details/102540067
https://www.slideshare.net/unity3d/built-for-performance-the-uielements-renderer-unite-copenhagen-2019

*/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: v1.x - 2
Development

No branches or pull requests

1 participant