Re: dev-tech-layout Digest, Vol 111, Issue 1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: dev-tech-layout Digest, Vol 111, Issue 1

白兔糖
Thank you for your reply.

------------------ Original ------------------
From:  "dev-tech-layout-request";<[hidden email]>;
Date:  Tue, Sep 1, 2015 08:00 PM
To:  "dev-tech-layout"<[hidden email]>;

Subject:  dev-tech-layout Digest, Vol 111, Issue 1



Send dev-tech-layout mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.mozilla.org/listinfo/dev-tech-layout
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev-tech-layout digest..."


Today's Topics:

   1. requestAnimationFrame rate for background tabs and offscreen
      instances (Jet Villegas)
   2. Re: requestAnimationFrame rate for background tabs and
      offscreen instances (Jet Villegas)
   3. Re: requestAnimationFrame rate for background tabs and
      offscreen instances (Seth Fowler)
   4. Re: Standardizing rendering pipeline / refresh cycle
      (Eric Shepherd)


----------------------------------------------------------------------

Message: 1
Date: Mon, 31 Aug 2015 11:08:54 -0700
From: Jet Villegas <[hidden email]>
To: dev-tech-layout <[hidden email]>, "Fowler,
        Seth" <[hidden email]>, shumway-team <[hidden email]>
Subject: requestAnimationFrame rate for background tabs and offscreen
        instances
Message-ID:
        <CA+3pDC+RD8mQPD5UtD8xtT0Bf=-[hidden email]>
Content-Type: text/plain; charset=UTF-8

I met with some Chromium engineers over dinner last week and talked about
how Blink throttles rAF on background tabs to zero FPS, and that they're
also working on setting off-screen iframes to zero FPS. I believe we
currently throttle to 1 FPS for off-screen and background tabs.

Should we go to zero as well?

--Jet


------------------------------

Message: 2
Date: Mon, 31 Aug 2015 11:52:33 -0700
From: Jet Villegas <[hidden email]>
To: Seth Fowler <[hidden email]>
Cc: shumway-team <[hidden email]>, dev-tech-layout
        <[hidden email]>, "Fowler, Seth" <[hidden email]>
Subject: Re: requestAnimationFrame rate for background tabs and
        offscreen instances
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Thanks, Seth. Please file a bug for us to capture the details of a plan
here.

--Jet

On Mon, Aug 31, 2015 at 11:21 AM, Seth Fowler <[hidden email]> wrote:

> We do eventually throttle rAF to zero for background tabs, IIRC (there?s
> an exponential decay phase first). IIRC, we mainly didn?t do it for
> offscreen iframes in foreground tabs because of concerns that there could
> be interaction between different iframes, so throttling an offscreen iframe
> totally off could also end up disabling a visible iframe. Till might
> remember more specifics.
>
> I?d like to go to zero as well if we think we can get away with it. If
> Blink is *committed* to doing it too, then we probably can.
>
> - Seth
>
> > On Aug 31, 2015, at 11:08 AM, Jet Villegas <[hidden email]>
> wrote:
> >
> > I met with some Chromium engineers over dinner last week and talked
> about how Blink throttles rAF on background tabs to zero FPS, and that
> they're also working on setting off-screen iframes to zero FPS. I believe
> we currently throttle to 1 FPS for off-screen and background tabs.
> >
> > Should we go to zero as well?
> >
> > --Jet
>
>


------------------------------

Message: 3
Date: Mon, 31 Aug 2015 11:21:02 -0700
From: Seth Fowler <[hidden email]>
To: Jet Villegas <[hidden email]>
Cc: shumway-team <[hidden email]>, dev-tech-layout
        <[hidden email]>, "Fowler, Seth" <[hidden email]>
Subject: Re: requestAnimationFrame rate for background tabs and
        offscreen instances
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=utf-8

We do eventually throttle rAF to zero for background tabs, IIRC (there?s an exponential decay phase first). IIRC, we mainly didn?t do it for offscreen iframes in foreground tabs because of concerns that there could be interaction between different iframes, so throttling an offscreen iframe totally off could also end up disabling a visible iframe. Till might remember more specifics.

I?d like to go to zero as well if we think we can get away with it. If Blink is *committed* to doing it too, then we probably can.

- Seth

> On Aug 31, 2015, at 11:08 AM, Jet Villegas <[hidden email]> wrote:
>
> I met with some Chromium engineers over dinner last week and talked about how Blink throttles rAF on background tabs to zero FPS, and that they're also working on setting off-screen iframes to zero FPS. I believe we currently throttle to 1 FPS for off-screen and background tabs.
>
> Should we go to zero as well?
>
> --Jet



------------------------------

Message: 4
Date: Mon, 31 Aug 2015 17:28:07 -0400
From: Eric Shepherd <[hidden email]>
To: [hidden email]
Cc: "L. David Baron" <[hidden email]>,
        [hidden email]
Subject: Re: Standardizing rendering pipeline / refresh cycle
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Robert O'Callahan wrote:
> I think the impact of this on Web developers and add-on developers
> should be very limited.
That was my expectation but it was worth bringing it up. And doing so
may help trigger that thought in the future when a change is planned
that *will* have an impact. Carry on! :)

--

Eric Shepherd
Senior Technical Writer
Mozilla <https://www.mozilla.org/>
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability <https://freebusy.io/eshepherd@...>


------------------------------

Subject: Digest Footer

_______________________________________________
dev-tech-layout mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-layout


------------------------------

End of dev-tech-layout Digest, Vol 111, Issue 1
***********************************************
_______________________________________________
dev-tech-layout mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-layout