You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wlc's main job is mainly abstracting away various backends and APIs (x11, drm, libinput, udev, etc...), but it also has lots of manual code for state (when view should be drawn, what is the state of view, when to commit, damages, etc...) which could probably be abstracted as a state machine.
I'm not yet sure how this idea would work, but if ragel is up to the task, all the "moving parts" in wlc are easily graphed and generated, and debugging is easier. It also would increase reliability, that is, wlc works as described in state machine.
The text was updated successfully, but these errors were encountered:
wlc's main job is mainly abstracting away various backends and APIs (x11, drm, libinput, udev, etc...), but it also has lots of manual code for state (when view should be drawn, what is the state of view, when to commit, damages, etc...) which could probably be abstracted as a state machine.
I'm not yet sure how this idea would work, but if ragel is up to the task, all the "moving parts" in wlc are easily graphed and generated, and debugging is easier. It also would increase reliability, that is, wlc works as described in state machine.
The text was updated successfully, but these errors were encountered: