|
|
|
|
|
by cubefox
1063 days ago
|
|
I don't quite get why the Flash plugins were do slow on mobile. On Windows desktop, Flash was much faster than other NPAPI plugins. Most other plugins froze the whole browser for a second or so (Java even longer), while Flash didn't do that. And at the time, early native "HTML5 replacements" for Flash ads/games were actually slower than Flash. |
|
And vector rendering on GPUs is a pain to do, even more so with Flash Player's rendering quirks. Adobe's official solution to hardware rendering on Flash was Starling Framework, which rendered all your assets to bitmap textures and then gave you a DisplayObject-compatible API that triggered Stage3D renders under the hood.
In Ruffle we use a tesselation library to render on GPU. This preserves vector scalability but it has other issues. Most movies work fine with it, but we have to waste time tessellating[0] assets, and in certain contrived cases we tesselate things wrong and movies look polygonal.
[0] Which we hid behind existing Flash preloaders. We don't even support progressive download yet! But the alternative was Homestuck hanging your browser for minutes on end.