Skip to content

is Skija mandatory requirement for JWM? #313

Description

@chirontt

The README says:

JWM/README.md

Line 22 in d5fe7cb

- Plays well with (but does not require) [Skija](https://github.com/HumbleUI/Skija)

But even an example as simple as the empty example requires Skija:

window.setLayer(new LayerGLSkija());

and its input loop need it too:

} else if (e instanceof EventFrameSkija ee) {
Surface s = ee.getSurface();

The above ee.getSurface() call returns a Skija surface instance, which makes Skija a mandatory requirement for JWM. But is it an absolute requirement?

Here's my use-case: if I have a Skia surface (note: not Skija surface) acquired by my own FFM utility to Skia, which is just a pointer to a sk_surface_t instance, how can I attach (or link) this Skia surface to a JWM window/panel to display its contents on screen (and without Skija requirement)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions