3 ms·
I had a small role in helping Jamie port XScreenSaver to Android. It was fun working with someone whose writings I have been reading for thirty years or so, an
by Ologn 2y ago
I had a small role in helping Jamie port XScreenSaver to Android. It was fun working with someone whose writings I have been reading for thirty years or so, and I learned a lot from him (like the difference between HAVE and USE in C, or how to architect and run a project).
Patches are always welcome! Jamie (and/or other helpers) ported things like X11/Xlib to OpenGL, and then OpenGL to OpenGLES for iOS and Android. Jamie and so forth ported some of X11/Xlib's XFillPolygon to OpenGL - like for Convex shapes, and I did the Nonconvex shapes part, but we still didn't do Complex shapes yet. Lots of stuff like that outstanding (also it is still using GCC and make for the NDK, although Android has moved more towards LLVM/Clang and CMake).
Lots of interesting stuff and the code is open/free. As I said, patches always welcome, especially on the Android (and iOS) front.
- fanf2 2y agoC doesn’t have things called HAVE and USE. Sounds to me like something to do with Xscreensaver’s build system?
- Ologn 2y agoI mean the conventions of HAVE and USE prefixed macros in C, as opposed to the C found in K&R or C17-ISO/IEC 9899:2018. Like this (they use HAS, not HAVE) https://perl5.git.perl.org/perl5.git/blob/HEAD:/pp.c#l1259 https://perl5.git.perl.org/perl5.git/blob/HEAD:/pp.c#l1259 or this https://github.com/ruby/ruby/blob/master/st.c#L115 https://github.com/ruby/ruby/blob/master/st.c#L115