Replies: 2 comments
-
I don't think there's any functionality for damage tracking in egui, but you could probably implement that in your backend, by tracking changes to the meshes and what regions of the screen that would affect. |
Beta Was this translation helpful? Give feedback.
-
First of all: a software renderer for egui would be awesome! I made a slow one for imgui a while back, and have wanted to port it, but haven't gotten around to it. Please make sure to share yours! There is nothing built-in for only rendering part of the screen, as all current egui backends assumes a fast hardware rasterizer. I think it should be possible to add some caching in front of your software renderer. The tessellator batches draw calls by clipping rectangles. The batches roughly corresponds to panels, windows and scroll areas. So you could render each If that is too coarse, then you can instead look at the |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm just checking egui as a possible solution for my problem. My usecase is rather resource constrained. I need to create GUI for embedded application. In this environment, redrawing the whole screen is rather expensive (I'll be implementing a software renderer). Does egui currently support partial redraws ? eg:
In this case, it seems that it would be beneficial to re-render just the affected rectangles by sending following information to the backend:
Beta Was this translation helpful? Give feedback.
All reactions