Add unthrottled_interval to BeginFrameArgs [chromium/src : main]

0 views
Skip to first unread message

Maggie Chen (Gerrit)

unread,
Jan 20, 2026, 2:23:52β€―PMΒ (23 hours ago)Β Jan 20
to Sky Debreuil, Etienne Pierre-Doray, Chromium IPC Reviews, Ken Buchanan, Jonathan Ross, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross and Sky Debreuil

Maggie Chen added 2 comments

File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
Line 313, Patchset 46: min_refresh_interval_));
Sky Debreuil . unresolved

@mag...@chromium.org as you mentioned in a separate comment this value can become stale - but likely good to fix that in a separate CL to keep this one focused 😊

Maggie Chen

Let me merge `nominal_refresh_period_` into `min_refresh_interval_`.

Line 323, Patchset 32: update_vsync_params_callback_.Run(frame_time, nominal_refresh_period_);
Maggie Chen . unresolved

BeginFrameSource will call UpdateVSyncParametersCallback() for any frame interval change. Can we update the unthrottled interval based on this function call instead of adding it to ui::VSyncParamsMac? It doesn't seem we need to know the same unthrottled interval for every single frame.

Maggie Chen

I meant not to add the unthrottled interval to either ui::VSyncParamsMac orBeginFrameArgs.

Sky Debreuil

Nice - I chatted with Jonathan & he mentioned that it would likely be useful to have the `unthrottled_interval` on `BeginFrameArgs`.

I'm doing a follow up CL which uses the unthrottled value in `CompositorFrameSinkSupport::OnBeginFrame` so that would make it easy to acces - and he also mentioned there are use cases for other teams to have access to it there as well.

I will see if I can simplify I am doing here. I think maybe I can just use the existing `min_refresh_interval_` value on `ExternalBeginFrameSourceMac` but will see.

Thanks 😊

Maggie Chen

>> he mentioned that it would likely be useful to have the `unthrottled_interval` on `BeginFrameArgs`.

Is it because it's difficult or inconvenient to use the existing callback for `unthrottled_interval` change?

>> I think maybe I can just use the existing min_refresh_interval_ value on ExternalBeginFrameSourceMac

I will need to clean up the code because we currently have `nominal_refresh_period_` and `min_refresh_interval_`. `min_refresh_interval_` is could be stale when we read it. Since we probably won't support refresh rate range, we can keep just one of the two.

Sky Debreuil

As I understand it, the rationale for adding `unthrottled_interval` to `BeginFrameArgs` is that it’s a useful value for many consumers.

I see the argument for passing the value via `UpdateVSyncParametersCallback` - however, the challenge becomes piping it to the places that need it.

For example, we want to use this new value in `CompositorFrameSinkSupport::OnBeginFrame`, but the only value passed in there is `BeginFrameArgs`. While there are ways to pipe it in separately, that could add complexity both now and for other use cases.

@jon...@chromium.org Could be good to get your input here - any thoughts? Thanks 😊

Jonathan Ross
Two part goal for `unthrottled_interval`
- Viz throttling of `FrameSinks` would want to limit how much throttling is done. Especially as there can be multiple source for throttling. `Desktop Power Saving mode` and a new `non-interactive mode`.
- Clients may wish to perform different deadline vs scheduling decisions. For example a Renderer will throttle `BeginMainFrame` to 60fps on an 120fps display. We'd ideally like to have the Main-thread update for the deadline that matches 60fps interval. However we wouldn't want idle-time and v8 cleanup to be scheduled during frame production at 120fps.
Maggie Chen

That sounds reasonable to me.

Just want to remind a potential issue that the supported frame intervals from last GetSupportedFrameIntervals() might be stale if throttling happens at the first min_refresh_interval change in `OnBeginFrame()`, line #311, since this `update_vsync_params_callback_.Run()` is called after `OnBeginFrame()`. I assume we can only throttle it to a supported frame rate.

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Jonathan Ross
  • Sky Debreuil
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
Gerrit-Change-Number: 7429037
Gerrit-PatchSet: 55
Gerrit-Owner: Sky Debreuil <skyde...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
Gerrit-CC: Ian Vollick <vol...@chromium.org>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
Gerrit-Attention: Sky Debreuil <skyde...@google.com>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 19:23:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jonathan Ross <jon...@chromium.org>
Comment-In-Reply-To: Maggie Chen <mag...@chromium.org>
Comment-In-Reply-To: Sky Debreuil <skyde...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Sky Debreuil (Gerrit)

unread,
Jan 20, 2026, 2:34:48β€―PMΒ (22 hours ago)Β Jan 20
to Etienne Pierre-Doray, Chromium IPC Reviews, Ken Buchanan, Jonathan Ross, Maggie Chen, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross, Ken Buchanan and Maggie Chen

Sky Debreuil voted and added 3 comments

Votes added by Sky Debreuil

Auto-Submit+1

3 comments

File components/viz/common/frame_sinks/begin_frame_args.cc
Line 127, Patchset 51: this->interval * kUnthrottledIntervalJitterMultiplier);
Sky Debreuil . unresolved

@jon...@chromium.org Perhaps it would be good for

Sky Debreuil

Sorry was there anything needed for this one?

File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
Line 313, Patchset 46: min_refresh_interval_));
Sky Debreuil . unresolved

@mag...@chromium.org as you mentioned in a separate comment this value can become stale - but likely good to fix that in a separate CL to keep this one focused 😊

Maggie Chen

Let me merge `nominal_refresh_period_` into `min_refresh_interval_`.

Sky Debreuil

Sounds good! I'm using `min_refresh_interval_` interval here already - so no changes needed here?

Thanks 😊

File services/viz/public/mojom/compositing/begin_frame_args.mojom
Line 34, Patchset 53: mojo_base.mojom.TimeDelta unthrottled_interval;
Ken Buchanan . resolved

Can this be optional, rather than using `-1` as a null value?

Sky Debreuil

For sure. I've updated the Mojom definition to use `mojo_base.mojom.TimeDelta?` and adjusted the traits to use std::optional.

I've also added additional unit tests to ensure everything is working. Please let me know if there are any issues. Thanks 😊

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Jonathan Ross
  • Ken Buchanan
  • Maggie Chen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
Gerrit-Change-Number: 7429037
Gerrit-PatchSet: 56
Gerrit-Owner: Sky Debreuil <skyde...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
Gerrit-CC: Ian Vollick <vol...@chromium.org>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
Gerrit-Attention: Ken Buchanan <ke...@chromium.org>
Gerrit-Attention: Maggie Chen <mag...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 19:34:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Ken Buchanan <ke...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Maggie Chen (Gerrit)

unread,
Jan 20, 2026, 2:37:13β€―PMΒ (22 hours ago)Β Jan 20
to Sky Debreuil, Etienne Pierre-Doray, Chromium IPC Reviews, Ken Buchanan, Jonathan Ross, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross, Ken Buchanan and Sky Debreuil

Maggie Chen added 1 comment

File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
Line 313, Patchset 46: min_refresh_interval_));
Sky Debreuil . unresolved

@mag...@chromium.org as you mentioned in a separate comment this value can become stale - but likely good to fix that in a separate CL to keep this one focused 😊

Maggie Chen

Let me merge `nominal_refresh_period_` into `min_refresh_interval_`.

Sky Debreuil

Sounds good! I'm using `min_refresh_interval_` interval here already - so no changes needed here?

Thanks 😊

Maggie Chen

You will have to wait for my CL being landed. That's it.

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Jonathan Ross
  • Ken Buchanan
  • Sky Debreuil
Gerrit-Attention: Sky Debreuil <skyde...@google.com>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 19:37:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Sky Debreuil (Gerrit)

unread,
Jan 20, 2026, 2:40:30β€―PMΒ (22 hours ago)Β Jan 20
to Etienne Pierre-Doray, Chromium IPC Reviews, Ken Buchanan, Jonathan Ross, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross, Ken Buchanan and Sky Debreuil

Sky Debreuil voted and added 1 comment

Votes added by Sky Debreuil

Auto-Submit+1
Commit-Queue+1

1 comment

File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
Sky Debreuil

That makes sense. I've updated the relevant bug for that with your comment (https://crbug.com/477242770)

Gerrit-Comment-Date: Tue, 20 Jan 2026 19:40:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Jonathan Ross <jon...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Ken Buchanan (Gerrit)

unread,
Jan 20, 2026, 3:42:46β€―PMΒ (21 hours ago)Β Jan 20
to Sky Debreuil, Etienne Pierre-Doray, Chromium IPC Reviews, Jonathan Ross, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross and Sky Debreuil

Ken Buchanan voted and added 1 comment

Votes added by Ken Buchanan

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 57 (Latest):
Ken Buchanan . resolved

mojom lgtm

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Jonathan Ross
  • Sky Debreuil
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
Gerrit-Change-Number: 7429037
Gerrit-PatchSet: 57
Gerrit-Owner: Sky Debreuil <skyde...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
Gerrit-CC: Ian Vollick <vol...@chromium.org>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
Gerrit-Attention: Sky Debreuil <skyde...@google.com>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 20:42:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Sky Debreuil (Gerrit)

unread,
8:30β€―AMΒ (4 hours ago)Β 8:30β€―AM
to Ken Buchanan, Etienne Pierre-Doray, Chromium IPC Reviews, Jonathan Ross, Maggie Chen, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Jonathan Ross and Maggie Chen

Sky Debreuil voted and added 1 comment

Votes added by Sky Debreuil

Auto-Submit+1

1 comment

File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
Line 313, Patchset 46: min_refresh_interval_));
Sky Debreuil . unresolved

@mag...@chromium.org as you mentioned in a separate comment this value can become stale - but likely good to fix that in a separate CL to keep this one focused 😊

Maggie Chen

Let me merge `nominal_refresh_period_` into `min_refresh_interval_`.

Sky Debreuil

Sounds good! I'm using `min_refresh_interval_` interval here already - so no changes needed here?

Thanks 😊

Maggie Chen

You will have to wait for my CL being landed. That's it.

Sky Debreuil

I spoke with Jonathan and possibly it makes sense to land mine first. I'm actually going on leave very soon (my third kid is due tomorrow) so perhaps that would work better.

This CL here does not have any functional changes - and the specific DCHECK for that `unthrotted_interval` being correct is disabled on Mac at the moment, so I don't think the merge will be an issue.

Please let me know if there is anything. Thanks! 😊

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Jonathan Ross
  • Maggie Chen
Gerrit-Attention: Maggie Chen <mag...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Wed, 21 Jan 2026 13:30:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jonathan Ross (Gerrit)

unread,
9:20β€―AMΒ (4 hours ago)Β 9:20β€―AM
to Sky Debreuil, Ken Buchanan, Etienne Pierre-Doray, Chromium IPC Reviews, Maggie Chen, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
Attention needed from Etienne Pierre-Doray, Maggie Chen and Sky Debreuil

Jonathan Ross voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Maggie Chen
  • Sky Debreuil
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
    Gerrit-Change-Number: 7429037
    Gerrit-PatchSet: 57
    Gerrit-Owner: Sky Debreuil <skyde...@google.com>
    Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
    Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
    Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
    Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: Ian Vollick <vol...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Maggie Chen <mag...@chromium.org>
    Gerrit-Attention: Sky Debreuil <skyde...@google.com>
    Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Comment-Date: Wed, 21 Jan 2026 14:20:41 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sky Debreuil (Gerrit)

    unread,
    9:33β€―AMΒ (3 hours ago)Β 9:33β€―AM
    to Jonathan Ross, Ken Buchanan, Etienne Pierre-Doray, Chromium IPC Reviews, Maggie Chen, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
    Attention needed from Etienne Pierre-Doray, Jonathan Ross and Maggie Chen

    Sky Debreuil added 3 comments

    File components/viz/common/frame_sinks/begin_frame_args.cc
    Line 127, Patchset 51: this->interval * kUnthrottledIntervalJitterMultiplier);
    Sky Debreuil . resolved

    @jon...@chromium.org Perhaps it would be good for

    Sky Debreuil

    Sorry was there anything needed for this one?

    Sky Debreuil

    Done

    File components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
    Line 313, Patchset 46: min_refresh_interval_));
    Sky Debreuil . resolved

    @mag...@chromium.org as you mentioned in a separate comment this value can become stale - but likely good to fix that in a separate CL to keep this one focused 😊

    Maggie Chen

    Let me merge `nominal_refresh_period_` into `min_refresh_interval_`.

    Sky Debreuil

    Sounds good! I'm using `min_refresh_interval_` interval here already - so no changes needed here?

    Thanks 😊

    Maggie Chen

    You will have to wait for my CL being landed. That's it.

    Sky Debreuil

    I spoke with Jonathan and possibly it makes sense to land mine first. I'm actually going on leave very soon (my third kid is due tomorrow) so perhaps that would work better.

    This CL here does not have any functional changes - and the specific DCHECK for that `unthrotted_interval` being correct is disabled on Mac at the moment, so I don't think the merge will be an issue.

    Please let me know if there is anything. Thanks! 😊

    Sky Debreuil

    Done

    Line 323, Patchset 32: update_vsync_params_callback_.Run(frame_time, nominal_refresh_period_);
    Maggie Chen . resolved
    Sky Debreuil

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Etienne Pierre-Doray
    • Jonathan Ross
    • Maggie Chen
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
      Gerrit-Change-Number: 7429037
      Gerrit-PatchSet: 57
      Gerrit-Owner: Sky Debreuil <skyde...@google.com>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
      Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: Ian Vollick <vol...@chromium.org>
      Gerrit-CC: James Su <su...@chromium.org>
      Gerrit-CC: gwsq
      Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
      Gerrit-Attention: Maggie Chen <mag...@chromium.org>
      Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Comment-Date: Wed, 21 Jan 2026 14:33:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Jonathan Ross <jon...@chromium.org>
      satisfied_requirement
      open
      diffy

      Sky Debreuil (Gerrit)

      unread,
      9:33β€―AMΒ (3 hours ago)Β 9:33β€―AM
      to Jonathan Ross, Ken Buchanan, Etienne Pierre-Doray, Chromium IPC Reviews, Maggie Chen, James Su, Ian Vollick, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org
      Attention needed from Etienne Pierre-Doray, Jonathan Ross and Maggie Chen

      Sky Debreuil voted Commit-Queue+2

      Commit-Queue+2
      Gerrit-Comment-Date: Wed, 21 Jan 2026 14:33:04 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      9:36β€―AMΒ (3 hours ago)Β 9:36β€―AM
      to Sky Debreuil, Jonathan Ross, Ken Buchanan, Etienne Pierre-Doray, Chromium IPC Reviews, Maggie Chen, James Su, Ian Vollick, AyeAye, chromium...@chromium.org, marq+...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, keithle...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org, nona+...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, navigation...@chromium.org, dtapuska+ch...@chromium.org, alexmo...@chromium.org, ddrone...@google.com, cc-...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, mac-r...@chromium.org, mfoltz+wa...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Add unthrottled_interval to BeginFrameArgs

      Currently, `BeginFrameArgs::interval` represents the target frame
      interval. When throttling is active (e.g. for variable refresh rate),
      this value increases, hiding the underlying hardware refresh rate.

      This change adds `unthrottled_interval` to `BeginFrameArgs`. This field
      stores the inverse of the maximum possible hardware refresh rate. This
      allows clients to distinguish between the effective frame rate and the
      native display capability. If no specific unthrottled value is provided,
      it defaults to `interval`.

      This CL only adds this new value and has no functional changes.
      Bug: 467315115
      Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
      Cq-Do-Not-Cancel-Tryjobs: true
      Reviewed-by: Jonathan Ross <jon...@chromium.org>
      Auto-Submit: Sky Debreuil <skyde...@google.com>
      Commit-Queue: Sky Debreuil <skyde...@google.com>
      Reviewed-by: Ken Buchanan <ke...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1572281}
      Files:
      • M base/tracing/protos/chrome_track_event.proto
      • M components/viz/common/frame_sinks/begin_frame_args.cc
      • M components/viz/common/frame_sinks/begin_frame_args.h
      • M components/viz/common/frame_sinks/begin_frame_args_unittest.cc
      • M components/viz/common/frame_sinks/begin_frame_source.cc
      • M components/viz/common/frame_sinks/begin_frame_source.h
      • M components/viz/common/frame_sinks/begin_frame_source_unittest.cc
      • M components/viz/common/frame_sinks/external_begin_frame_source_ios.mm
      • M components/viz/service/frame_sinks/external_begin_frame_source_mac.cc
      • M components/viz/service/frame_sinks/external_begin_frame_source_win.cc
      • M components/viz/test/begin_frame_args_test.cc
      • M components/viz/test/begin_frame_args_test.h
      • M components/viz/test/begin_frame_source_test.h
      • M components/viz/test/fake_external_begin_frame_source.cc
      • M components/viz/test/fake_external_begin_frame_source.h
      • M services/viz/public/cpp/compositing/begin_frame_args_mojom_traits.cc
      • M services/viz/public/cpp/compositing/begin_frame_args_mojom_traits.h
      • M services/viz/public/cpp/compositing/mojom_traits_unittest.cc
      • M services/viz/public/mojom/compositing/begin_frame_args.mojom
      Change size: L
      Delta: 19 files changed, 290 insertions(+), 77 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Jonathan Ross, +1 by Ken Buchanan
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I7bcbbd68b6c45e1e80402de3e895cd473afb6ca2
      Gerrit-Change-Number: 7429037
      Gerrit-PatchSet: 58
      Gerrit-Owner: Sky Debreuil <skyde...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Maggie Chen <mag...@chromium.org>
      Gerrit-Reviewer: Sky Debreuil <skyde...@google.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages