News for hackers. Stuff that matters.
Re:CSS-Powered 3D Engine (2014) by andai on Sunday February 24, 2019 @08:30AM (#19238464)
Love this crazy project. In Firefox I get 1 fps and crazy graphics glitches, and in Brave I slowly float into the sky. Runs fine in Chrome though.
Re:CSS-Powered 3D Engine (2014) by twic on Sunday February 24, 2019 @08:59AM (#19238567)
In Firefox it's like a particularly unpleasant salvia trip.
Re:CSS-Powered 3D Engine (2014) by theon144 on Sunday February 24, 2019 @11:22AM (#19239149)
Win10, FF 66, I get what seems close enough to 60fps, but some graphics glitches too, mostly the texture around the barrels which doesn't go all the way "around".
Re:CSS-Powered 3D Engine (2014) by Lukas_Skywalker on Sunday February 24, 2019 @09:43AM (#19238712)
Funnily, this runs with 20-30 FPS on a (lower end) Windows Phone with Edge mobile. Is Edge optimized for CSS performance?
Re:CSS-Powered 3D Engine (2014) by pault on Sunday February 24, 2019 @11:46AM (#19239263)
Edge has always been extremely fast and competitive with other browser engines. It really shocked me when they deprecated it because in the last year of developing an app that only targets chrome and edge, I've never once had a bug that was edge-only. It seems that MS was never able to get out of the shadow of IE.
Re:CSS-Powered 3D Engine (2014) by StevePerkins on Sunday February 24, 2019 @12:45PM (#19239577)
Casual users are now trained to use Chrome. Because they browse on mobile more than on desktop, and Chrome is "The Internet" icon on their phones.

Techies and power users were never going to give Edge a second glance, because they launched without plugin support (i.e. no way to block ads).

Re:CSS-Powered 3D Engine (2014) by qpery on Sunday February 24, 2019 @05:31PM (#19241057)
The problem with Edge is that they wrapped the engine, which was great, inside a UWP app, which are known to be stupidly ugly and stupidly sluggish. That's what killed it. Had they chosen Win32, it wouldn't have died. But I guess we will never know.
Re:CSS-Powered 3D Engine (2014) by galfarragem on Sunday February 24, 2019 @10:23AM (#19238868)
Funnily, it's playable on safari/ipad mini 1st generation.
Re:CSS-Powered 3D Engine (2014) by tasty_freeze on Sunday February 24, 2019 @11:39AM (#19239228)
It is a bit choppy for me in FF 65, running on a 7 year old PC under windows 7, with a very old and low end GPU. Not sure why you see 1 fps.
Re:CSS-Powered 3D Engine (2014) by rzzzt on Sunday February 24, 2019 @03:45PM (#19240518)
The choppiness decreases tremendously if I wiggle the mouse around during the demo (clicked on the auto-running third link).
Re:CSS-Powered 3D Engine (2014) by coldtea on Sunday February 24, 2019 @08:48AM (#19238534)
Shouldn't Firefox be prioritizing fixing those things instead of BS moonshot projects they do (not talking about Rust, but various non-browser pivots).

They might be "different teams" doing each, but they all have finite resources to pay them.

Re:CSS-Powered 3D Engine (2014) by robin_reala on Sunday February 24, 2019 @08:51AM (#19238549)
WebRender currently (as of the last 2 weeks) renders this correctly, but slowly. Now that correctness is in, they can start looking at speed. Associated bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1525420 , but it’s not a blocker for launching WebRender in the first place.

And no, this sort of thing isn’t particularly high priority. If lots of websites used these technologies to this extent then it’d be higher up the priority list I’m sure.

Re:CSS-Powered 3D Engine (2014) by coldtea on Sunday February 24, 2019 @09:55AM (#19238741)
That's the new Rust based render engine?
Re:CSS-Powered 3D Engine (2014) by robin_reala on Sunday February 24, 2019 @10:07AM (#19238804)
Sorry, yes, it’s the Rust GPU rendering (not layout) engine that’s being introduced into release Firefox at the moment. Lin Clark wrote a great article on it 18 months ago: https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f... . It should eventually be considerably faster than it is at the moment, but obviously there’s been a bunch of performance work in the previous Firefox rendering engine so currently it’s a clean codebase that’s moderately faster.
Re:CSS-Powered 3D Engine (2014) by coldtea on Sunday February 24, 2019 @10:10AM (#19238816)
Thanks!

That's nice -- does that replace all rendering parts with the new Rust (servo?) equivalents?

Or are some parts still in the C++ codebase? (rendering related, not the UI code/JS engine, etc).

The diagram on the link seems to imply this is the last part! Does that mean there's some drawing library (akin to Skia) written in Rust used by WebRender too?

Re:CSS-Powered 3D Engine (2014) by styfle on Monday February 25, 2019 @10:11PM (#19251710)
There is one project I know of that is bringing webrender to desktop apps: https://news.ycombinator.com/item?id=18312983
Re:CSS-Powered 3D Engine (2014) by robin_reala on Sunday February 24, 2019 @05:50PM (#19241160)
I’m just an interested observer so handful of salt, but I believe WebRender replaces Moz2D and the old drawing libraries (which included Skia). Honestly, at this point I’m going to defer to pcwalton or whoever’s on HN that’s closer to the project than me.
Re:CSS-Powered 3D Engine (2014) by AndrewKemendo on Sunday February 24, 2019 @09:13AM (#19238611)
Works perfectly on safari (webkit) browsers for me.
Re:CSS-Powered 3D Engine (2014) by lettergram on Sunday February 24, 2019 @09:47AM (#19238721)
On Firefox mobile I had no problem
Re:CSS-Powered 3D Engine (2014) by srgpqt on Sunday February 24, 2019 @10:22AM (#19238865)
On iOS, all browsers (including firefox) use the OS’s Webview (webkit) as mandated by apple. So basically every browser are Safari reskins.