andlabs / andlabs/libui

Master issue for Windows redraw performance woes

Offen
#311 11 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
10.9k
Forks
612
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.