News for hackers. Stuff that matters.
Re:Render HTML via WebGL by perdunov on Thursday April 02, 2015 @10:17AM (#9310821)
As far as I understand, this is roughly how iOS UI works (UIView - CALayer).

Obviously, this can be done at the browser engine level.

I have also tried to do this in my pet UI engine, but found out that it was tricky to figure out caching rules to avoid memory blowup and performance degradation for all possible cases.

Re:Render HTML via WebGL by PixelsCommander on Thursday April 02, 2015 @10:25AM (#9310861)
It is done but there is no control over rasterization and no possibility to add filters as in the demo http://pixelscommander.com/polygon/htmlgl/demo/filters.html
Re:Render HTML via WebGL by perdunov on Thursday April 02, 2015 @10:35AM (#9310918)
Kudos for the smart solution.

This approach has proven itself very well in iOS, in fact, it was the absolute best mobile animation technology for a long time. Actually, the older versions of iOS used software rasterization with hardware accelerated bitmap caching and it worked smoothly on the original iPhone.