andlabs / andlabs/libui

Master issue for Windows redraw performance woes

Ouverte
#311 11 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
10.9k
Forks
612
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.