udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
929 stars 29 forks source link

Shortcut paint feedback loop #104

Closed Zubnix closed 2 years ago

Zubnix commented 2 years ago

Currently the proxy waits for confirmation from the browser before it starts encoding the next frame. This hard couples the frame update with what is effectively the input latency. We can shortcut this feedback on the proxy to drastically speed up frame repaints, which will easily double (or tripple) the max FPS.