Disable auto_resize_output_surface for LFF devices on Android [chromium/src : main]

0 views
Skip to first unread message

Bo Liu (Gerrit)

unread,
Jan 6, 2026, 10:12:58 AM (7 days ago) Jan 6
to Ben Chin, Vasiliy Telezhnikov, Kartar Singh, Alex Moshchuk, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Alex Moshchuk, Ben Chin, Bo Liu, Kartar Singh and Vasiliy Telezhnikov

Bo Liu added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Bo Liu . resolved

+vasilyt

Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Moshchuk
  • Ben Chin
  • Bo Liu
  • Kartar Singh
  • Vasiliy Telezhnikov
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: I94c13ec02610892040320c184b23189a9c04dadb
Gerrit-Change-Number: 7365552
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
Gerrit-Reviewer: Kartar Singh <karta...@google.com>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Bo Liu <bo65...@gmail.com>
Gerrit-Attention: Alex Moshchuk <ale...@chromium.org>
Gerrit-Attention: Ben Chin <lu...@chromium.org>
Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Bo Liu <bo...@chromium.org>
Gerrit-Attention: Kartar Singh <karta...@google.com>
Gerrit-Comment-Date: Tue, 06 Jan 2026 15:12:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Bo Liu (Gerrit)

unread,
Jan 6, 2026, 12:53:19 PM (7 days ago) Jan 6
to Ben Chin, Kartar Singh, Vasiliy Telezhnikov, Alex Moshchuk, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Alex Moshchuk, Ben Chin and Vasiliy Telezhnikov

Bo Liu added 1 comment

Patchset-level comments
Bo Liu . resolved

+vasilyt

Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

Bo Liu

oh oops that was from the wrong account..

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Moshchuk
  • Ben Chin
  • Vasiliy Telezhnikov
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: I94c13ec02610892040320c184b23189a9c04dadb
Gerrit-Change-Number: 7365552
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Kartar Singh <karta...@google.com>
Gerrit-Attention: Alex Moshchuk <ale...@chromium.org>
Gerrit-Attention: Ben Chin <lu...@chromium.org>
Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Comment-Date: Tue, 06 Jan 2026 17:53:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bo Liu <bo65...@gmail.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Vasiliy Telezhnikov (Gerrit)

unread,
Jan 6, 2026, 5:01:44 PM (7 days ago) Jan 6
to Ben Chin, Kartar Singh, Alex Moshchuk, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Alex Moshchuk, Ben Chin and Bo Liu

Vasiliy Telezhnikov added 1 comment

Patchset-level comments
Bo Liu . resolved

+vasilyt

Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

Bo Liu

oh oops that was from the wrong account..

Vasiliy Telezhnikov

So viz normally will not draw until viz::Display size and root CompositorFrame size [matches](https://source.chromium.org/chromium/chromium/src/+/main:components/viz/service/display/display.cc;drc=c603d4c93deb40de18f249a9a59bf5bcb3aacc66;l=1064).

If browser will keep changing display size and submit new CF, that activate a bit later because it waits for the webcontents, we will never draw a frame, as CF will always be a few frames behind.

Is it fine?

The history here is that we added this behaviour for windows originally [in 2014](https://codereview.chromium.org/767443002). The idea was to avoid stretching (otherwise content of the window was stretching without aspect during resize). Then in [2015](https://codereview.chromium.org/1426453006) we realized that what I mentioned above is possible and we don't draw during resize, because we get behind, so instead we introduced this "auto resize" so we draw gutter instead.

Later we turned it off for android [here](https://chromium-review.googlesource.com/c/chromium/src/+/1031129), because there was no resize really and for rotation we wanted to block showing old content anyway, but [it was never ported to viz](https://chromium-review.googlesource.com/c/chromium/src/+/1055626), so it ended up enabled for years.

Ideally we don't want to mess with the compositor frame in viz display and handle gutter somewhere else, but this is out of the scope here.

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Moshchuk
  • Ben Chin
  • Bo Liu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: I94c13ec02610892040320c184b23189a9c04dadb
Gerrit-Change-Number: 7365552
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Kartar Singh <karta...@google.com>
Gerrit-Attention: Alex Moshchuk <ale...@chromium.org>
Gerrit-Attention: Ben Chin <lu...@chromium.org>
Gerrit-Attention: Bo Liu <bo...@chromium.org>
Gerrit-Comment-Date: Tue, 06 Jan 2026 22:01:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bo Liu <bo65...@gmail.com>
Comment-In-Reply-To: Bo Liu <bo...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Moshchuk (Gerrit)

unread,
Jan 7, 2026, 7:39:53 PM (5 days ago) Jan 7
to Ben Chin, Kartar Singh, Vasiliy Telezhnikov, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Ben Chin and Bo Liu

Alex Moshchuk added 1 comment

Patchset-level comments
Alex Moshchuk . resolved

Moving myself to CC, since it seems like boliu@ and vasilyt@ are already reviewing this and have more context than I do. (Let me know if you have specific questions for me, though.)

Open in Gerrit

Related details

Attention is currently required from:
  • Ben Chin
  • Bo Liu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: I94c13ec02610892040320c184b23189a9c04dadb
Gerrit-Change-Number: 7365552
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
Gerrit-CC: Kartar Singh <karta...@google.com>
Gerrit-Attention: Ben Chin <lu...@chromium.org>
Gerrit-Attention: Bo Liu <bo...@chromium.org>
Gerrit-Comment-Date: Thu, 08 Jan 2026 00:39:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ben Chin (Gerrit)

unread,
Jan 8, 2026, 3:45:48 AM (5 days ago) Jan 8
to Alex Moshchuk, Kartar Singh, Vasiliy Telezhnikov, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Bo Liu and Vasiliy Telezhnikov

Ben Chin voted and added 1 comment

Votes added by Ben Chin

Commit-Queue+1

1 comment

Patchset-level comments
Bo Liu . resolved

+vasilyt

Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

Bo Liu

oh oops that was from the wrong account..

Vasiliy Telezhnikov

So viz normally will not draw until viz::Display size and root CompositorFrame size [matches](https://source.chromium.org/chromium/chromium/src/+/main:components/viz/service/display/display.cc;drc=c603d4c93deb40de18f249a9a59bf5bcb3aacc66;l=1064).

If browser will keep changing display size and submit new CF, that activate a bit later because it waits for the webcontents, we will never draw a frame, as CF will always be a few frames behind.

Is it fine?

The history here is that we added this behaviour for windows originally [in 2014](https://codereview.chromium.org/767443002). The idea was to avoid stretching (otherwise content of the window was stretching without aspect during resize). Then in [2015](https://codereview.chromium.org/1426453006) we realized that what I mentioned above is possible and we don't draw during resize, because we get behind, so instead we introduced this "auto resize" so we draw gutter instead.

Later we turned it off for android [here](https://chromium-review.googlesource.com/c/chromium/src/+/1031129), because there was no resize really and for rotation we wanted to block showing old content anyway, but [it was never ported to viz](https://chromium-review.googlesource.com/c/chromium/src/+/1055626), so it ended up enabled for years.

Ideally we don't want to mess with the compositor frame in viz display and handle gutter somewhere else, but this is out of the scope here.

Ben Chin

Thanks for the historical context! That's very helpful.

Regarding the concern that disabling `auto_resize_output_surface` might cause us to "never draw" because the browser is always behind: We have simultaneously optimized the browser-side resize latency (reducing the Java UI thread resize handling from ~25ms to <3ms via pre-measuring layout)

If we keep auto_resize = true, Viz stretches the old content to fill the new window size while waiting for the new frame. This stretching is the visual artifact [gutter](http://screencast/cast/NDk4NjA4NzY4NzU4NTc5MnxjMWFjYmI2OC1kNg) we are trying to fix. By disabling it and enforcing synchronization, we ensure blue butter is [gone](http://screencast/cast/NTM1MjA5OTAyOTE4ODYwOHw0MDY3NDFlNi0zMA) during resizing.

Open in Gerrit

Related details

Attention is currently required from:
  • Bo Liu
  • Vasiliy Telezhnikov
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: I94c13ec02610892040320c184b23189a9c04dadb
Gerrit-Change-Number: 7365552
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Ben Chin <lu...@chromium.org>
Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
Gerrit-CC: Kartar Singh <karta...@google.com>
Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Bo Liu <bo...@chromium.org>
Gerrit-Comment-Date: Thu, 08 Jan 2026 08:45:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Bo Liu <bo65...@gmail.com>
Comment-In-Reply-To: Vasiliy Telezhnikov <vas...@chromium.org>
Comment-In-Reply-To: Bo Liu <bo...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Vasiliy Telezhnikov (Gerrit)

unread,
Jan 8, 2026, 1:33:42 PM (5 days ago) Jan 8
to Ben Chin, Chromium LUCI CQ, Alex Moshchuk, Kartar Singh, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Ben Chin and Bo Liu

Vasiliy Telezhnikov voted and added 1 comment

Votes added by Vasiliy Telezhnikov

Code-Review+1

1 comment

Patchset-level comments
Bo Liu . resolved

+vasilyt

Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

Bo Liu

oh oops that was from the wrong account..

Vasiliy Telezhnikov

So viz normally will not draw until viz::Display size and root CompositorFrame size [matches](https://source.chromium.org/chromium/chromium/src/+/main:components/viz/service/display/display.cc;drc=c603d4c93deb40de18f249a9a59bf5bcb3aacc66;l=1064).

If browser will keep changing display size and submit new CF, that activate a bit later because it waits for the webcontents, we will never draw a frame, as CF will always be a few frames behind.

Is it fine?

The history here is that we added this behaviour for windows originally [in 2014](https://codereview.chromium.org/767443002). The idea was to avoid stretching (otherwise content of the window was stretching without aspect during resize). Then in [2015](https://codereview.chromium.org/1426453006) we realized that what I mentioned above is possible and we don't draw during resize, because we get behind, so instead we introduced this "auto resize" so we draw gutter instead.

Later we turned it off for android [here](https://chromium-review.googlesource.com/c/chromium/src/+/1031129), because there was no resize really and for rotation we wanted to block showing old content anyway, but [it was never ported to viz](https://chromium-review.googlesource.com/c/chromium/src/+/1055626), so it ended up enabled for years.

Ideally we don't want to mess with the compositor frame in viz display and handle gutter somewhere else, but this is out of the scope here.

Ben Chin

Thanks for the historical context! That's very helpful.

Regarding the concern that disabling `auto_resize_output_surface` might cause us to "never draw" because the browser is always behind: We have simultaneously optimized the browser-side resize latency (reducing the Java UI thread resize handling from ~25ms to <3ms via pre-measuring layout)

If we keep auto_resize = true, Viz stretches the old content to fill the new window size while waiting for the new frame. This stretching is the visual artifact [gutter](http://screencast/cast/NDk4NjA4NzY4NzU4NTc5MnxjMWFjYmI2OC1kNg) we are trying to fix. By disabling it and enforcing synchronization, we ensure blue butter is [gone](http://screencast/cast/NTM1MjA5OTAyOTE4ODYwOHw0MDY3NDFlNi0zMA) during resizing.

Vasiliy Telezhnikov

In your video without blue gutter the resize flow is visually much less responsive, though.

Because we need to wait for CompositorFrame both from browser and renderer, we still can be behind. The blue gutter exists only in dcheck-enabled builds, though some other visual artifacts could be present in release builds too.

That being said, I don't have conceptual objections to this CL, I'm just thinking if there is better solution for this problem.

Open in Gerrit

Related details

Attention is currently required from:
  • Ben Chin
  • Bo Liu
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I94c13ec02610892040320c184b23189a9c04dadb
    Gerrit-Change-Number: 7365552
    Gerrit-PatchSet: 1
    Gerrit-Owner: Ben Chin <lu...@chromium.org>
    Gerrit-Reviewer: Ben Chin <lu...@chromium.org>
    Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
    Gerrit-CC: Kartar Singh <karta...@google.com>
    Gerrit-Attention: Ben Chin <lu...@chromium.org>
    Gerrit-Attention: Bo Liu <bo...@chromium.org>
    Gerrit-Comment-Date: Thu, 08 Jan 2026 18:33:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Bo Liu <bo65...@gmail.com>
    Comment-In-Reply-To: Ben Chin <lu...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Bo Liu (Gerrit)

    unread,
    Jan 11, 2026, 8:03:51 PM (2 days ago) Jan 11
    to Ben Chin, Vasiliy Telezhnikov, Chromium LUCI CQ, Alex Moshchuk, Kartar Singh, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
    Attention needed from Ben Chin

    Bo Liu added 1 comment

    Patchset-level comments
    Bo Liu . resolved

    +vasilyt

    Context, this is for window drag resize on desktop-like UI. Apparently right now viz will just throw up the old frame of the wrong size and gutter, which looks bad.

    What I'm interested is why do we even want this for phones. Sounds like a bad behavior to gutter in that case too? Dunno if there's history here why it was added. If no one remembers, might worth doing some code archaeology

    Bo Liu

    oh oops that was from the wrong account..

    Vasiliy Telezhnikov

    So viz normally will not draw until viz::Display size and root CompositorFrame size [matches](https://source.chromium.org/chromium/chromium/src/+/main:components/viz/service/display/display.cc;drc=c603d4c93deb40de18f249a9a59bf5bcb3aacc66;l=1064).

    If browser will keep changing display size and submit new CF, that activate a bit later because it waits for the webcontents, we will never draw a frame, as CF will always be a few frames behind.

    Is it fine?

    The history here is that we added this behaviour for windows originally [in 2014](https://codereview.chromium.org/767443002). The idea was to avoid stretching (otherwise content of the window was stretching without aspect during resize). Then in [2015](https://codereview.chromium.org/1426453006) we realized that what I mentioned above is possible and we don't draw during resize, because we get behind, so instead we introduced this "auto resize" so we draw gutter instead.

    Later we turned it off for android [here](https://chromium-review.googlesource.com/c/chromium/src/+/1031129), because there was no resize really and for rotation we wanted to block showing old content anyway, but [it was never ported to viz](https://chromium-review.googlesource.com/c/chromium/src/+/1055626), so it ended up enabled for years.

    Ideally we don't want to mess with the compositor frame in viz display and handle gutter somewhere else, but this is out of the scope here.

    Ben Chin

    Thanks for the historical context! That's very helpful.

    Regarding the concern that disabling `auto_resize_output_surface` might cause us to "never draw" because the browser is always behind: We have simultaneously optimized the browser-side resize latency (reducing the Java UI thread resize handling from ~25ms to <3ms via pre-measuring layout)

    If we keep auto_resize = true, Viz stretches the old content to fill the new window size while waiting for the new frame. This stretching is the visual artifact [gutter](http://screencast/cast/NDk4NjA4NzY4NzU4NTc5MnxjMWFjYmI2OC1kNg) we are trying to fix. By disabling it and enforcing synchronization, we ensure blue butter is [gone](http://screencast/cast/NTM1MjA5OTAyOTE4ODYwOHw0MDY3NDFlNi0zMA) during resizing.

    Vasiliy Telezhnikov

    In your video without blue gutter the resize flow is visually much less responsive, though.

    Because we need to wait for CompositorFrame both from browser and renderer, we still can be behind. The blue gutter exists only in dcheck-enabled builds, though some other visual artifacts could be present in release builds too.

    That being said, I don't have conceptual objections to this CL, I'm just thinking if there is better solution for this problem.

    Bo Liu

    Regarding the concern that disabling auto_resize_output_surface might cause us to "never draw" because the browser is always behind: We have simultaneously optimized the browser-side resize latency (reducing the Java UI thread resize handling from ~25ms to <3ms via pre-measuring layout)

    Actually that probably makes the race worse.. if faster UI thread can handle more size events than viz can keep up with CompositorFrames, then we get to the situation where viz has no frame to draw. The right solution is throttle frequency of resize based on how fast viz can resize frames.

    I'm just thinking if there is better solution for this problem.

    For desktop's "continuous resize", I'm thinking:

    • Make viz wait for CF of right size, ie this CL
    • Disable surface sync for resize, ie if browser can put up a resized frame (containing updated tab strip), then just put it up asap without waiting for web content. Web content being slow is is somewhat expected, the "native" UI guttering would feel more janky
    • Use surfaceRedrawNeededAsync to block until viz swaps with the right size
    • Change slim scheduler to put up frames "asap" (we have the DelayedScheduler optimized for browser control, but I assume that's not needed anymore with BCIV)
    • Probably still need some scheduling changes. Ben mentions that allowing two pending frames in slim looks much better. I think what happens is UI slow so in the time it puts up one frame, viz manages to send like 3 begin frames, and the first frame submitted blocks submitting frames in the subsequent ones. Increasing pending frames isn't the right solution, but can do something here

    -------

    For this CL, I think we can just do this for all of android, not just desktop. But added a kill switch (ie guard it with an enabled-by-default feature)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ben Chin
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I94c13ec02610892040320c184b23189a9c04dadb
    Gerrit-Change-Number: 7365552
    Gerrit-PatchSet: 1
    Gerrit-Owner: Ben Chin <lu...@chromium.org>
    Gerrit-Reviewer: Ben Chin <lu...@chromium.org>
    Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
    Gerrit-CC: Kartar Singh <karta...@google.com>
    Gerrit-Attention: Ben Chin <lu...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 01:03:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ben Chin (Gerrit)

    unread,
    Jan 12, 2026, 1:25:28 AM (yesterday) Jan 12
    to Vasiliy Telezhnikov, Chromium LUCI CQ, Alex Moshchuk, Kartar Singh, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
    Attention needed from Bo Liu and Vasiliy Telezhnikov

    Ben Chin voted and added 1 comment

    Votes added by Ben Chin

    Commit-Queue+1

    1 comment

    Patchset-level comments
    Ben Chin

    I removed the device form factor check, enabled the kFluidResize feature flag by default (acting as the requested "kill switch"), and applied the `auto_resize_output_surface = false` setting to all Android devices when the flag is enabled.

    Thanks for your advice, they are quiet useful. In fact, I already came out with POC of `surfaceRedrawNeededAsync` and updated the go/clank-fr. It proves that `surfaceRedrawNeededAsync` is the correct solution here. As for changing scheduler, I will put you in post once I uploaded the perfetto log. Thanks again!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Bo Liu
    • Vasiliy Telezhnikov
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: I94c13ec02610892040320c184b23189a9c04dadb
      Gerrit-Change-Number: 7365552
      Gerrit-PatchSet: 2
      Gerrit-Owner: Ben Chin <lu...@chromium.org>
      Gerrit-Reviewer: Ben Chin <lu...@chromium.org>
      Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
      Gerrit-CC: Kartar Singh <karta...@google.com>
      Gerrit-Attention: Bo Liu <bo...@chromium.org>
      Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 06:24:56 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Bo Liu <bo65...@gmail.com>
      Comment-In-Reply-To: Ben Chin <lu...@chromium.org>
      Comment-In-Reply-To: Bo Liu <bo...@chromium.org>
      Comment-In-Reply-To: Vasiliy Telezhnikov <vas...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Bo Liu (Gerrit)

      unread,
      Jan 12, 2026, 11:00:19 AM (19 hours ago) Jan 12
      to Ben Chin, Rakina Zata Amni, Vasiliy Telezhnikov, Chromium LUCI CQ, Alex Moshchuk, Kartar Singh, Bo Liu, chromium...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
      Attention needed from Ben Chin, Rakina Zata Amni and Vasiliy Telezhnikov

      Bo Liu added 1 comment

      File content/public/common/content_features.cc
      Line 445, Patchset 2 (Latest):BASE_FEATURE(kFluidResize, base::FEATURE_ENABLED_BY_DEFAULT);
      Bo Liu . unresolved

      this controls way more things than just auto_resize_output_surface though

      added a new one, in content/common/features.h/cc

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ben Chin
      • Rakina Zata Amni
      • Vasiliy Telezhnikov
      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: I94c13ec02610892040320c184b23189a9c04dadb
        Gerrit-Change-Number: 7365552
        Gerrit-PatchSet: 2
        Gerrit-Owner: Ben Chin <lu...@chromium.org>
        Gerrit-Reviewer: Ben Chin <lu...@chromium.org>
        Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
        Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
        Gerrit-CC: Alex Moshchuk <ale...@chromium.org>
        Gerrit-CC: Kartar Singh <karta...@google.com>
        Gerrit-Attention: Ben Chin <lu...@chromium.org>
        Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
        Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Comment-Date: Mon, 12 Jan 2026 16:00:08 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages