Fix ESR 91 rendering pipeline
llewelld opened this issue · 1 comments
llewelld commented
The rendering pipeline has changed significantly between ESR 78 and ESR 91. The GLES rendering code was removed and switched for a Web Render pipeline instead.
Some of the relevant upstream changes include the following:
- Support for multiple EglDisplays: D85496. The EglDisplay is passed in from QtMozEmbed, so this causes some problems.
- Out of process WebGL compositing: D75055. This removes
GLSCreenBuffer
completely in favour of a new much sparserSwapChain
. This really messes up our renderer.
See for example:
llewelld commented
The rendering pipeline has now been fixed (both the browser and offscreen pipelines) by the following commits in the sailfishos-esr91
branch:
1765dd0460a9 Restore GLScreenBuffer and TextureImageEGL
d3ba4df29a32 Restore NotifyDidPaint event and timers
This has been tested on multiple Xperia devices, but crucially not on the emulator or a native device, which I suspect will still be broken. Since we have #1043 to cover the native case, I'm closing this issue as completed.