-
Notifications
You must be signed in to change notification settings - Fork 1
wip: expose gl_proc_addr and remove hard dependency on skia #12
base: main
Are you sure you want to change the base?
Conversation
Oh will also look at https://github.com/loki-chat/lokinit/pull/11 and see how I should do things different... |
Added the functionality in #11. However, since the
|
alright... the X11 stuff (both glx and egl) is now considered something like release candidate level, so give it a test please... The other platforms still remain though... |
Moved all skia specific code into the skia example. Also made skia a feature and skia-safe an optional dependency. Skia is only needed for the example, so it would actually be nicer if it wasn't a dependency at all. but in that case, I don't think skia can be a proper rust example. Because... I don't think there is actually any way whatsoever to a dependency specific to one single example. Or is there? The mouse_cursor and window_conf examples have been updated to not use skia, but to use gl instead. |
yey got it to work for windows as well, tested under wine. (i could not get skia to compile, but at least it works with gl. fairly confident it will work with skia too, but could be good to test). rust is really cool! all you need to do on linux to test it provided you have your env set up is:
|
Android implemented and tested with the examples... The state of the implementation is now:
|
If someone wants to take a stab at the Mac/iOS stuff, this is roughly what needs to be done:
Then, check if the |
This is an early work in progress test, just for discussion...
It is only implemented for X11 with glx... It will crash on X11/egl and Wayland, and on other platforms not even compile...
but at least the (modified) skia example starts and runs (for me)...
take a look...