Re:Open Source .NET three years later
by rcarmo on Sunday December 24, 2017 @11:20AM
(#16000091)
That's interesting. Is the code/result public in any way?
[ Parent
| on HN ]
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.