[wpe-webkit] Cog 0.3.91 released!

Adrian Perez de Castro aperez at igalia.com
Tue Sep 17 02:02:51 PDT 2019


Hello Andy,

On Tue, 17 Sep 2019 08:46:23 +0000, "Andy Pont" <andy.pont at sdcsystems.com> wrote:

> Adrian wrote...
> 
> >Cog 0.3.91 is available for download at:
> >
> >…
> >
> >## What's new in cog 0.3.91?
> >
> >- New "experimental-drm" platform plug-in which uses KMS+DRM (Kernel Mode
> >   Setting, Direct Rendering Manager) for direct display on framebuffers,
> >   and libinput for input event processing.
> >
> Does this mean that Cog will now be able to work on all platforms that 
> expose the Linux framebuffer without needing the Wayland compositor?

Yes, that is right. Building the experimental DRM support and then launching
with “cog --platform=drm-experimental …” will get you a single full-screen
Web view directly using kernel services, without needing to run a Wayland
compositor separately.

If it helps, you can think think about the “drm-experimental” module as
something that turns Cog into a “mini Wayland compositor” which only knows
how to display graphics buffers received from WPEWebProcess on screen, and
passing input events to it.

Note that WPEBackend-fdo is still needed, which internally uses the Wayland
libraries to share graphics buffers between Cog and the WPEWebProcess which
does the actual rendering—in the end Wayland is just a fancy protocol that
was designed with that use-case in mind. This means that you will need GPU
drivers which expose a DRM device (that means there is a “/dev/dri/cardN”
device node) and which support the Wayland-EGL extension. So far we have
been mainly testing with Open Source drivers (Mesa) on Intel GPUs and the
code is very new, and that's why it's considered experimental in Cog 0.4.x

I hope this helps to clarify things a bit =)

Cheers,
—Adrián
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20190917/795aabe4/attachment.bin>


More information about the webkit-wpe mailing list