[wpe-webkit] Backend objects for multiple WebViews
Ryan Walklin
ryan at testtoast.com
Tue Jun 4 17:39:20 PDT 2019
Also, are there any tips/tricks for managing frame lifecycles when you don't necessarily want to render frames from multiple views? e.g you have a number of tabs but only one is visible at a time.
Ideally I'd suspend rendering from the non-visible tabs entirely by not calling wpe_view_backend_exportable_fdo_dispatch_frame_complete(), but I don't know whether this would suspend JS execution etc.
Finally, is there any way to use an off-screen EGL context to render the images, rather than tieing the context to an EGLDisplay? Obviously if you're running a full-screen kiosk app it's not an issue, but I'm planning to render to wl_subsurfaces and then use the compositor to build my UI.
Regards,
Ryan
On Tue, 4 Jun 2019, at 9:21 PM, Ryan Walklin wrote:
> Hi All,
>
> I'm just expanding a Wayland app using WPE to support multiple
> WebViews, and it's not immediately clear whether I need one WPE backend
> for each view, or just one across multiple views (I assume I need one
> view backend per view). Is there any up to date documentation on using
> multiple WPE views?
>
> Regards,
>
> Ryan
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> webkit-wpe mailing list (webkit-wpe at lists.webkit.org)
> Help/Unsubscribe/Update your Subscription:
> https://lists.webkit.org/mailman//listinfo/webkit-wpe
>
More information about the webkit-wpe
mailing list