WebRender is in beta
mozillagfx.wordpress.com
mozillagfx.wordpress.com
Also a great read for anyone interested in long-form technical articles that try to serve a wide range of reader types.
It can currently show a window and render moving rect from vue.js template. There's still a lot of work to be done, webrender does too little to be just drop in replacement for electron but it might be worth watching if you're interested in anything like that (lightweight cross-platform opengl-rendered gui apps developed in react/vue/angular/...)
This is my first rust project, so I'm not sure if I would be any help
I also think it's better to have as much GUI part as possible in typescript, try-and-refine cycle is shorter and imagine how it could be with live/hot-reload
What I'm trying to do is something like electron but lighter, faster and memory-savvy. I think it could use azul, so thanks a lot :-)
https://github.com/cztomsik/node-webrender/blob/master/examp...
https://www.youtube.com/watch?v=hXzLC6ArlgE
Slides:
https://github.com/MadRust/talks/blob/master/slides/meetup3_...
I'm guessing "standing" should be "setting"? Anyway, doesn't seem to work just yet for nightly. I enabled in about:config, but get "unavailable by runtime: WebRender not ready for use on non-e10s Android". Also, "WEBRENDER_QUALIFIED: blocked by env: Has battery"
I filtered by e10s and electrolysis in about:config but couldn't find anything
stand up (intransitive) ~= stand from a sitting or lying position
stand up <direct-object> == erect, build, appoint, enact
stand-up, upstanding (adjective) == moral, ethical
stand-up [comedian] == actually standing on ones feet
https://english.stackexchange.com/questions/125681/usage-of-...
It's very early days currently so you're not missing anything, but as it gets more stable I'm sure it'll be easier to try out.
https://bugzilla.mozilla.org/show_bug.cgi?id=1453367#c13
says to download the "geckoview_example" app's APK:
https://queue.taskcluster.net/v1/task/AY-d7ns9QOGZuFj3syrsDQ...
and then remotely launch the geckoview_example app from a connected desktop machine:
adb shell am start -n org.mozilla.geckoview_example/.GeckoViewActivity --es env0 MOZ_WEBRENDER=1That said, can't wait for this to come out of beta!
Its a shame that GPU support by Mozilla products is in such abysmal state. Meanwhile Google has working hardware accelerated video decoding AND decent GPU support in Chrome.
Hardware accelerated video decoding is barely worth it on Linux. Crashes galore. Does Chromium even enable it by default?
The problem is not writing the "GPU support", but working around the mountain of Xorg bugs that it triggers. As an example just this week, I recently ripped out OS compositing support from WebRender on X because it was simply impossible to deploy without crashing. (It will still work on X, but energy usage will be worse.)
You may put GPU support in quotation marks, but Chromium is way snappier and faster than Firefox nightlies on my Linux box, and I suspect taking advantage of the GPU is a part of the equation.
I also suspect the whole pipeline is more optimized on Chrome. Firefox has ~3x the input latency[1] and unlike Chrome, also slaughters my CPU when watching youtube videos.
Its not like Mozilla is under-resourced. I think its just a matter of priority[2].
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1408699
[2] https://blog.servo.org/2018/03/09/servo-and-mixed-reality/
I will say that, in my opinion, WebRender is generally better optimized for modern graphics hardware than Skia-GL as used in Chrome, due to the reduced overdraw via aggressive use of the Z-buffer and better batching.
Often times performance bugs are just that—bugs. The existence of performance bugs doesn't necessarily indicate that "the whole pipeline" in one browser is better than the other. Browsers are broadly quite comparable in terms of the script-layout-painting pipeline these days. In the case of Firefox, I'm personally confident in the IonMonkey-Stylo-WebRender trio.
Webrender has a pretty large team working on it at this point.
You have no idea what you're talking about here.
I don't see how this vague appeal to authority adds anything to the conversation.
> Webrender has a pretty large team working on it at this point.
I guess what you're trying to say is that Firefox and Webrender in particular is a high priority for Mozilla. I would like to believe that this is true, but take a look at what Mozilla allocates its resources to[1] - Firefox Reality, Firefox Monitor, Pocket, ethics in CS, women who tech, etc. All fine and dandy, but the problem is that time is ticking for Mozilla Firefox.
Firefox is not even at feature parity with Chrome, never mind performance parity. For instance, I filed a bug[2] on bad input latency a whole year and 7 releases ago, and its still not fixed. A devtools bug for a websocket frames inspector[3] was filed 5 years ago, and its still not fixed either.
The time it takes to fix bugs and ship all these features is inversely proportional to the dedicated manpower. By the time Firefox reaches feature/performance parity with Chrome, it will have an insignificant single-digit market share, down from ~10.5% now. And that is with the incorrect assumption that Chrome will remain static.
https://bugs.chromium.org/p/chromium/issues/detail?id=463440
https://chromium-review.googlesource.com/c/chromium/src/+/53...
Could be this bug, for example: https://bugzilla.mozilla.org/show_bug.cgi?id=1490991 Maybe worth chiming in if it is.
It seems to be pages that are actively modifying themselves. If they just sit there being static the power use isn't a problem.
After setting gfx.webrender.all to true and restarting, check about:support and you should see "Compositing: WebRender"
Of course you may still hit bugs.