3 ms·
This looks really cool, my first instinct was "like xslt!" but this is way nicer and more pragmatic. It's a shame that it requires X11 on Linux, though. As the
by ComputerGuru 9y ago
This looks really cool, my first instinct was "like xslt!" but this is way nicer and more pragmatic.
It's a shame that it requires X11 on Linux, though. As the renderer must already be decoupled from the rest of the code to support Windows and Linux, I imagine it shouldn't be too hard to rip out the X11 bindings and write to a framebuffer directly instead.
I have not had a chance to try it out for myself yet, but I have recently learned that webkit includes a direct-to-opengl renderer such that one can skip the Qt or GTK backend and write HTML/CSS/JS that outputs to the framebuffer directly.
- paulddraper 9y agoAnd it makes sense, because WebGL.
- ComputerGuru 9y agoNot really. WebGL basically exposes the OpenGL APIs from within the browser context. This backend focuses on drawing the browser chrome itself via the OpenGL API, which is wholly independent (one is a consumer, one is a provider). This was a patch that was upstreamed into WebKit a while back from a fork.