Replies: 1 comment
-
I'm open to it if there's some data that shows performance gains that outweigh the added complexity. Note that we already do deferred rendering for all subwindows (like dialogs and menus). Dialogs can happen both ways:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It might be worthwhile to discuss implementing a deferred rendering strategy, rather that using immediate mode rendering. From my understanding, this is the strategy that Dear ImGui uses.
Possible advantages
dataSet
and then actually call the dialog at the end of the frame. Using deferred rendering, we could call the dialog widget directly and then store the resulting vertex data for deferred rendering like every other widget. Because all vertex data is stored like this, it is easy to change the order in which things are rendered.I'm not sure whether or not this would be right for dvui, but I was thinking about it so I wanted to discuss it.
Beta Was this translation helpful? Give feedback.
All reactions