The README says:
|
- 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)?
The README says:
JWM/README.md
Line 22 in d5fe7cb
But even an example as simple as the
emptyexample requires Skija:JWM/examples/empty/java/Example.java
Line 19 in d5fe7cb
and its input loop need it too:
JWM/examples/empty/java/Example.java
Lines 53 to 54 in d5fe7cb
The above
ee.getSurface()call returns aSkijasurface instance, which makes Skija a mandatory requirement for JWM. But is it an absolute requirement?Here's my use-case: if I have a
Skiasurface (note: not Skija surface) acquired by my own FFM utility to Skia, which is just a pointer to ask_surface_tinstance, how can I attach (or link) this Skia surface to a JWM window/panel to display its contents on screen (and without Skija requirement)?