News for hackers. Stuff that matters.
Re:The Raspberry Beer’o’meter by Const-me on Sunday September 15, 2019 @10:19AM (#20977312)
I wish someone would implement a bare metal DRM/KMS/GLES backend for https://github.com/AvaloniaUI/Avalonia, e.g. based on NanoVG C library for vector graphics and fonts. .NET core runs way faster than JavaScript in browsers, and C# is much higher level than C++ people use with QT.
Re:The Raspberry Beer’o’meter by kekekeks on Monday September 16, 2019 @08:17AM (#20983291)
Re:The Raspberry Beer’o’meter by Const-me on Monday September 16, 2019 @10:05AM (#20984107)
That’s a great news!

I won’t redo the whole embedded GUI from custom NanoVG-based library to Avalonia, started much earlier than 2 months ago. For next embedded Linux project, or major version upgrade of the current one, I’ll definitely evaluate Avalonia.

Does it use GLES to render fonts and 2D graphics? Or they’re rendered on CPU?

Does it support ClearType-like font rendering, like this forked NanoVG? https://github.com/Const-me/nanovg/

Is there something comparable to WPF’s D3DImage to insert custom 3D content? In my custom library, I’ve implemented GlesInterop control which does nothing on the NanoVG render pass, but after the whole GUI is rendered, overlays a custom GLES content on top of the result.

How hard it is to implement custom touchscreen input? I’m currently generating touch events by reading from /dev/input/event0 with a FileStream class.

Is there on-screen keyboard in Avalonia? That’s probably the most complex piece of UI I’ve implemented in that project: input focus, modifier keys switching layouts, and that’s just for US English keyboard.