KDABLabs / cxx-qt-servo-webview

Servo WebView for Qt using CXX-Qt
45 stars 1 forks source link

Should we have Servo in it's own thread or is Renderer enough? #1

Open ahayzen-kdab opened 7 months ago

ahayzen-kdab commented 7 months ago

This was originally copied from the servo gst src that has now been removed, the other ports don't have this separate thread and Qt already has the renderer in another thread so maybe this can be removed.

ahayzen-kdab commented 7 months ago

When moving back to the same thread the recomposite() fails to make the GL context current. And then if we don't recomposite the app hangs before the window is visible.

So maybe having it running in it's own thread is the best thing to do ?