Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Add keep alive for 4 frames in render target cache.#57020

Merged
auto-submit[bot] merged 1 commit into
flutter-team-archive:mainfrom
jonahwilliams:texture_keep_alive
Dec 6, 2024
Merged

[Impeller] Add keep alive for 4 frames in render target cache.#57020
auto-submit[bot] merged 1 commit into
flutter-team-archive:mainfrom
jonahwilliams:texture_keep_alive

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Improve cache usage by keeping textures alive for 4 frames after the last usage. This improves cache usage in scenarios such as repeatidly dragging the android overscroll functionality.

THis isn't expected to have a negative impact on memory, because a texture cannot be immediately deleted anyway.

@matanlurey matanlurey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 6, 2024
@auto-submit auto-submit Bot merged commit 23b102d into flutter-team-archive:main Dec 6, 2024
github-merge-queue Bot pushed a commit to flutter/flutter that referenced this pull request Dec 7, 2024
flutter-team-archive/engine@d42645f...de53ed5

2024-12-06 jonahwilliams@google.com [Impeller] store vertex buffers in
render pass for gles. (flutter-team-archive/engine#56991)
2024-12-06 jonahwilliams@google.com [Impeller] Add keep alive for 4
frames in render target cache. (flutter-team-archive/engine#57020)
2024-12-06 41930132+hellohuanlin@users.noreply.github.com
[ios][platform_view] workaround for non-tappable webview
(flutter-team-archive/engine#56804)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,zra@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
…er-team-archive/engine#57020)

Improve cache usage by keeping textures alive for 4 frames after the last usage. This improves cache usage in scenarios such as repeatidly dragging the android overscroll functionality.

THis isn't expected to have a negative impact on memory, because a texture cannot be _immediately_ deleted anyway.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Development

Successfully merging this pull request may close these issues.

2 participants