uwerat / vnc-eglfs

VNC server for Qt/Quick on EGLFS
BSD 3-Clause "New" or "Revised" License
26 stars 12 forks source link

Image composition should happen on dedicated threads #4

Closed uwerat closed 2 years ago

uwerat commented 2 years ago

At the moment the framebuffer is grabbed on the scene graph thread, but converting it into the format being requested by the client happens in the GUI thread.

Probably the best way to solve this is to move each instance of VncClient in its own thread. This also allows to use blocking reads, when waiting for client messages.

uwerat commented 2 years ago

Each client stub has its own thread now.