Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Robert O'Callahan
On Thu, Nov 13, 2014 at 2:03 AM, Nicolas Silva wrote: > Well, depends on what you call a layer tree. Currently a layer tree is > mostly a tree of intermediate surface that you render into, right? It's not > a tool describe the content you want to rasterize (with the exception of > color layers).

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Andreas Gal
There are easier ways to compare. D2D is something like 40% faster than software (Bas, is that the right ballpark?). So if you get a 2x+ speedup with concurrent software rendering, you win. Thanks, Andreas > On Nov 12, 2014, at 12:08 PM, Jack Moffitt wrote: > >>> We should experiment with p

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Andreas Gal
We should experiment with parallel software rendering. Using skia on many cores might be faster than using D2D in practice, for example. Andreas > On Nov 12, 2014, at 12:02 PM, Jack Moffitt wrote: > >> Incidentally, I see no reason to move away from Azure, given how nice >> Direct2D is on Windo

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Jack Moffitt
>> We should experiment with parallel software rendering. Using skia on >> many cores might be faster than using D2D in practice, for example. > > Glad to hear you say that, because the first part of that experiment > (parallel CPU rendering) is already done and on by default in Servo's master > br

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Patrick Walton
On 11/12/14 12:04 PM, Andreas Gal wrote: We should experiment with parallel software rendering. Using skia on many cores might be faster than using D2D in practice, for example. Andreas Glad to hear you say that, because the first part of that experiment (parallel CPU rendering) is already don

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Jack Moffitt
> Incidentally, I see no reason to move away from Azure, given how nice > Direct2D is on Windows. Chrome uses Skia on windows right? So this apparently isn't a big enough win for them to justify a wrapper. I'm guessing they use ANGLES there. I think the assumption in the room was that we could con

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Jack Moffitt
> We pull in other pieces of Gecko outside of Azure proper in order to use > Azure in Servo. As I remember, this is unintentional. Azure is now hosted out of tree and shouldn't have this problem anymore, although I haven't checked. I talked to Bas about this last October because at that time I ha

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Cameron Zwarich
> On Nov 11, 2014, at 4:55 PM, Andreas Gal wrote: > > Does anyone have profiling numbers that Azure on top of Skia has a measurable > performance overhead? The overhead referred to here is administrative overhead. We pull in other pieces of Gecko outside of Azure proper in order to use Azure i

Re: [dev-servo] Moz2D/Skia (meeting notes)

2014-11-12 Thread Nicolas Silva
Well, depends on what you call a layer tree. Currently a layer tree is mostly a tree of intermediate surface that you render into, right? It's not a tool describe the content you want to rasterize (with the exception of color layers). Our layer tree is about where you rasterize content rather than