3 ms·
The project’s proprietary, but it was straightforward. I’ve created a C++ *.so library that uses DRM/KMS to initialize GLES on top of hardware GPU, and exposes
by Const-me 9y ago
The project’s proprietary, but it was straightforward.
I’ve created a C++ *.so library that uses DRM/KMS to initialize GLES on top of hardware GPU, and exposes NanoVG’s C API. Then in C# [DllImport], and actual GUI implementation. For touch input I just read /dev/input/event0 using FileStream API.
I’ve spent about a week implementing that thing, so it’s not that hard to do.
The main downside is the lack of ClearType. On the lower level FreeType library supports that, but NanoVG doesn’t.