Skip to content

WPE_PLATFORM for RDK devices #1674

@asurdej-comcast

Description

@asurdej-comcast

I'm evaluating the possibility of integrating new WPE_PLATFORM APIs for our devices and I would greatly appreciate your support and guidance regarding this effort.
The goal here is to replace libwpe that we currently use with new WPE platform implementation based on Essos/Westeros

My understanding is that WPE_PLATFORM is a replacement libwpe.

What we are using right now is WPE_RENDERER with libwpe, backed by Essos WPEBackend-rdk implementation. That enforces AcceleratedSurfaceLibWPE, PlatformDisplayLibWPE and others libwpe impls. Rendering happens directly in WebProcess to platform surface and the web process controls native window. UI process receives notifications only, key events, etc but doesn't play any significant role in rendering.

With new approach WPE_PLATFORM I see that expectations are slightly different. WPEWebProcess doesn't create native window any more but it renders to suffaceless buffers that are then passed to UI process for display. That requires support for sufraceless EGL rendering (EGL_MESA_platform_surfaceless) or direct rendering with GBM/libdrm

I don't think we support any of that so at this point we would like to stick to current rendering stack, where the WebProcess does all the job.
The question is if that's even possible?
From my initial analysis that would require custom PlatformDisplay impl that will do similar to what PlatformDisplayLibWPE is doing but with WPE_PLATFORM Apis, new AcceleratedSurface and inputs, etc, but that sounds like against wpe platform ideas...

Could you please share your thoughts on that as well as the overall ideas behind WPE_PLATFORM.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions