Intent to unship: HTTP Refresh header support when the content is handled as a download

2019-10-31 Thread Matt Woodrow
Hi, In Bug 1589270 I intend to remove support for handling the HTTP Refresh header while handling the content as a download. This has been broken in our code with e10s enabled, since the initial e10s conversion. Neither Chrome nor Safar

Re: What to do about scroll anchoring?

2019-09-29 Thread Matt Woodrow
On 29/09/19 1:54 PM, Cameron McCormack wrote: How useful is scroll anchoring outside of the two cases mentioned in https://drafts.csswg.org/css-scroll-anchoring/#intro i.e. images loading and ad iframes being inserted? Would it be feasible to make scroll anchoring a much less general mechanis

Dogfooding WebRender

2018-11-25 Thread Matt Woodrow
Hi All, WebRender is now enabled for most Nightly users on Windows 10 with an NVIDIA desktop GPU. If you're already using it (check about:support!) or want to (set gfx.webrender.all=true), we'd love to have your feedback. We're particularly interested in finding testcases where it doesn't pe

Re: Intent to ship: Retained Display Lists

2017-11-13 Thread matt . woodrow
On Thursday, October 26, 2017 at 5:13:15 PM UTC+13, mwoo...@mozilla.com wrote: > On Monday, October 9, 2017 at 1:22:55 PM UTC+13, Matt Woodrow wrote: > > > > > We're planning on landing the code for retaining display lists in 58, > > behind the pref layout.displa

Intent to ship: Retained Display Lists

2017-10-08 Thread Matt Woodrow
Hello all, We're planning on landing the code for retaining display lists in 58, behind the pref layout.display.list.retain. This is a rather large reworking of how we paint, and was designed to address telemetry results [1] showing that display list building was consuming considerable amo

Intent to implement and ship: force flattening of transform-style:preserve-3d when opacity is applied

2016-07-01 Thread Matt Woodrow
Summary: The editors draft of the 3d transforms spec [1] has been updated to say that we need to flatten preserve-3d when the element also has an opacity of < 1, whereas the previous spec [2] made no mention of opacity. The current behaviour (in Gecko, WebKit and blink) is to drop the 'group

Re: Intent to implement: DOMMatrix

2014-06-05 Thread Matt Woodrow
On 6/06/14 12:05 am, Benoit Jacob wrote: The situation isn't symmetric: radians are inherently simpler to implement (thus slightly faster), basically because only in radians is it true that sin(x) ~= x for small x. I also doubt that degrees are simpler to understand, and if anything you might j

Re: OMTC on Windows

2014-05-29 Thread Matt Woodrow
On 30/05/14 5:22 pm, Matt Woodrow wrote: Doing some profiling using my intel GPU suggests that my specific regression has to do with uploading and drawing shadows. I'm seeing ~45% of the OMTC profile [1] in nsDisplayBoxShadowOuter::Paint vs ~8% in the non-OMTC profile [2]. It's ha

Re: OMTC on Windows

2014-05-29 Thread Matt Woodrow
I definitely agree with this, but we also need OMTAnimations to be finished and enabled before any of the interesting parts of the UI can be converted. Given that, I don't think we can have this conversation at the expense of trying to fix the current set of regressions from OMTC. We may als

Re: OMTC on Windows

2014-05-29 Thread Matt Woodrow
Thanks Avi! I can reproduce a regression like this (~100% slower on iconFade-close-DPIcurrent.all) with my machine forced to use the intel GPU, but not with the Nvidia one. This suggests it's very much a driver/hardware specific problem, rather than a general regression with OMTC, which matc

Subpixel AA text rendering on OSX

2014-01-20 Thread Matt Woodrow
Hi, Currently in gecko we have code to determine if text being drawn into a transparent surface has opaque content underneath it. In the case where it doesn't we ask moz2d/cairo [1] to disable subpixel AA text rendering for this surface since it can have poor results depending on what the eve

Re: partial GL buffer swap

2013-08-31 Thread Matt Woodrow
We actually have code that does the computation of the dirty area already, see http://mxr.mozilla.org/mozilla-central/ident?i=LayerProperties&tree=mozilla-central. The idea is that we take a snapshot of the layer tree before we update it, and then do a comparison after we've finished updating it.

Re: Off-main-thread Painting

2013-02-12 Thread Matt Woodrow
This is the second half of the plan. Third paragraph of 'Proposed Solution' The basic idea is that the display list owned by the painting thread already contains all the information required to render the page at any scroll position. We could retain the display list on the painting thread (until

Off-main-thread Painting

2013-02-11 Thread Matt Woodrow
Hi All As an effort to improve both performance and responsiveness of the browser, we are planning on moving painting to happen on a separate thread. My initial draft plan to do this can be found here: https://wiki.mozilla.org/Gecko:OffMainThreadPainting Some of the details still need to be wo

Re: The current state of Talos benchmarks

2012-08-30 Thread Matt Woodrow
'Callahan wrote: > Some of the 16->17 regressions are known and due to DLBI patches (bug > 539356). Since we don't have full DLBI on trunk yet, those changes should > just be preffed off on Aurora for 17. We should do that and see how that > affects the numbers. Matt Woodrow

Re: Paint Timing Changes and Tp5

2012-08-09 Thread Matt Woodrow
in time for the next merge, then I'll turn it off on Aurora so that we don't ever actually ship this regression. This should let me get back to finishing DLBI, which is a big priority for the Layout team, and in particular the fennec/b2g products. - Matt - Original Message -

Fwd: Paint Timing Changes and Tp5

2012-08-09 Thread Matt Woodrow
CC'ing dev-platform since I accidentally removed it. - Forwarded Message - From: "Matt Woodrow" To: "Benjamin Smedberg" Sent: Friday, August 10, 2012 11:27:20 AM Subject: Re: Paint Timing Changes and Tp5 >When OMTC arrives, which thread will be running

Re: Paint Timing Changes and Tp5

2012-08-08 Thread Matt Woodrow
>Are there details on what this actually means? e.g. don't we *have* to >paint when when we receive a WM_PAINT event, and usually we shouldn't at >other times? To clarify, these patches split painting up into two steps: 1) Compute invalid regions, build display lists, layers and repaint the c

Paint Timing Changes and Tp5

2012-08-08 Thread Matt Woodrow
In preparation for relanding DLBI (display-list based invalidation - Bug 539356), I'm going to be landing a set of patches to change the timing of our painting. These move painting to be driven by the refresh driver, instead of the OS widget's paint event. This is a required change for DLBI, an