wanting to try a GUI toolkit: needing some advice on which one to choose
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue Jun 1 23:26:26 UTC 2021
On Tuesday, 1 June 2021 at 22:52:41 UTC, Adam D. Ruppe wrote:
> On Tuesday, 1 June 2021 at 22:39:08 UTC, Ola Fosheim Grøstad
> wrote:
>> Yes, it does. You get lots of graphic context switches and
>> poor render-caching performance.
>
> no not really.
>
> you'd have to be really incompetent to do it this wrong.
If each widget imperatively draws itself you get graphic context
switches every time you draw a different graphical element type.
If the render engine manages this, you have much more opportunity
to group similar items. E.g. do all text of one font size in one
GPU operation.
Then you also have the whole issue of backing store (caching)
which cannot be done in an optimal fashion if the widget is in
control.
More information about the Digitalmars-d-learn
mailing list