News for hackers. Stuff that matters.
Re:WebRender2 Lands in Servo by josephg on Tuesday August 02, 2016 @11:31PM (#12215382)
Can someone explain the significance of this?
Re:WebRender2 Lands in Servo by metajack on Tuesday August 02, 2016 @11:50PM (#12215456)
WebRender 2 is just the next evolution of WebRender. After we started testing the original one on real sites and apps, we discovered a few performance problems. Glenn had some ideas for how to fix them that involved changing quite a lot of things, and that work is now landed in the tree.

One consequence of this work, other than speed of course, is that it enables things like subpixel AA, which weren't possible before.

Externally we'll probably just call it WebRender. Not many people knew about the first one and most users won't care that it took us a few iterations to perfect :)

We're planning to turn WebRender 2 on as the default very soon.

Re:WebRender2 Lands in Servo by ZenoArrow on Wednesday August 03, 2016 @01:15PM (#12219618)
Congrats on landing WebRender 2.

> "Externally we'll probably just call it WebRender. Not many people knew about the first one and most users won't care that it took us a few iterations to perfect :)"

It's your choice, but considering the audience of people interested in browser features (especially browser features for Servo) is largely tech savvy, I'd recommend against it. Of the examples I can think of where version numbers have been messed with, I can't think of a single one that hasn't caused unnecessary issues (Final Fantasy 3/6, the "new" iPad, XBox One).

Re:WebRender2 Lands in Servo by agnivade on Thursday August 04, 2016 @04:43AM (#12224265)
> things like subpixel AA

Did you mean subpixel anti aliasing ? Wow, that sounds cool. Where can I read more about this ?

Re:WebRender2 Lands in Servo by mcpherrinm on Tuesday August 02, 2016 @11:43PM (#12215429)
This is incomplete, but my basic understanding is as follows.

Servo is an experimental web browser in Rust.

WebRender was an experiment inside an experiment, to use a GPU pipeline closer to what a video game does and do painting very quickly. See a previous HN discussion: https://news.ycombinator.com/item?id=11175258

WebRender 2 I'm less familiar with, but it's a continuation on that work. I gather it cuts down on the amount of painting done, so now it does painting fast, and does less of it. I gather it should also enable some new features, like subpixel antialiasing.

Re:WebRender2 Lands in Servo by jvilk on Tuesday August 02, 2016 @11:35PM (#12215398)
Here's the only thing I could easily find via Google [0]:

"The basic design right now is that we draw every pixel of every frame, but there's a lot of overdraw when things overlap. This shows up in the moiré demo where there's a lot of overlap. Also we don't have enough information to do subpixel antialiasing. gw had a great idea to solve both of these problems. The prototype he built uses a ray tracer to trace through all of the objects and draw each pixel only once. That should lead to new features like subpixel AA and also more consistent performance."

More context would be appreciated, though!

[0] https://github.com/servo/servo/wiki/Meeting-2016-03-07

Re:WebRender2 Lands in Servo by aidenn0 on Wednesday August 03, 2016 @12:21AM (#12215565)
Also in a previous webrender discussion on hn pcwalton credited the design of the original webrender to gw as well.
Re:WebRender2 Lands in Servo by stuaxo on Tuesday August 02, 2016 @11:44PM (#12215438)
Webrender is a renderer that use gpu techniques similar to how games render.
Re:WebRender2 Lands in Servo by niftich on Tuesday August 02, 2016 @11:53PM (#12215467)
A slide deck from February which explains how Webrender works is available from the developers [1].

[1] http://pcwalton.github.io/slides/webrender-talk-022016/

Re:WebRender2 Lands in Servo by leeoniya on Tuesday August 02, 2016 @11:50PM (#12215458)