andlabs / andlabs/libui

Master issue for Windows redraw performance woes

Aperta
#311 11 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
10.9k
Fork
612
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently libui on Windows fakes transparency by drawing the parent control onto each child control as a background each time, resulting in awful performance. Not doing this with the current implementation of uiControl and control hierarchies results in controls indiscriminately having a default background color. I have two options: flatten the control hierarchy or split the work between WM_ERASEBKGND and WM_CTLCOLOR*. @lxn figured a lot of this out.

This issue will combine all existing issues on the matter.

This issue includes and continues the discussion of andlabs/ui#184

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.