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

Conversation

@johnmccutchan
Copy link
Contributor

  • ImageReaderSurfaceProducer no longer drops frames when the producer and the consumers are up to two frames out of sync.
  • Have the native C++ side of the Android external textures check if a new frame has been pushed and that the texture needs to be updated. This avoids having to schedule a task on the raster thread for each updated texture.
  • Notify the engine earlier that a frame is needed when updating a TLHC texture.
  • Reland fix: Call SurfaceTextureExternalTexture::ProcessFrame if dl_image_ is null.

- ImageReaderSurfaceProducer no longer drops frames when the producer and the
  consumers are up to two frames out of sync.
- Have the native C++ side of the Android external textures check if a new frame
  has been pushed and that the texture needs to be updated.  This avoids having
  to schedule a task on the raster thread for each updated texture.
- Notify the engine earlier that a frame is needed when updating a TLHC texture.
- Reland fix: Call SurfaceTextureExternalTexture::ProcessFrame if dl_image_ is null.
Copy link
Contributor

@matanlurey matanlurey left a comment

Choose a reason for hiding this comment

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

LGTM. Only diff was surface_texture_external_texture.cc on line 50/51.

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 25, 2024
@matanlurey
Copy link
Contributor

Landing without waiting for tests to complete as otherwise it will cause rebase hell for me.

Engine gardener, if this needs to be reverted, please ping me and I'll help.

@matanlurey matanlurey merged commit dd32ff1 into flutter:main Jan 26, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 26, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 26, 2024
…142290)

flutter/engine@9142fc4...8a81e53

2024-01-26 [email protected] Roll Dart SDK from 00784f1f22b5 to 6f8bcd5b48ab (1 revision) (flutter/engine#50074)
2024-01-26 [email protected] [web] Add `views` proxy and `getInitialData`. (flutter/engine#49320)
2024-01-26 [email protected] [web] Prevent re-rendering disposed views when the engine hot restarts. (flutter/engine#49958)
2024-01-26 [email protected] Roll Dart SDK from 2fb950853f06 to 00784f1f22b5 (3 revisions) (flutter/engine#50068)
2024-01-26 [email protected] Avoid sizing `ImageReaderSurfaceProducer` smaller than 1x1 (flutter/engine#50066)
2024-01-26 [email protected] Use clamp sampling mode in external texture. (flutter/engine#50063)
2024-01-26 [email protected] Reland Optimizations for TLHC frame rate and jank (flutter/engine#50065)
2024-01-25 [email protected] Roll Fuchsia Linux SDK from Igt2rE-R6rgfmTRaF... to WHlwlOwznFknNm5IS... (flutter/engine#50059)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Igt2rE-R6rgf to WHlwlOwznFkn

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 [email protected],[email protected],[email protected] 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
@johnmccutchan
Copy link
Contributor Author

flutter/flutter#142153

@stuartmorgan-g stuartmorgan-g added the revert Label used to revert changes in a closed and merged pull request. label Jan 29, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jan 29, 2024

Time to revert pull request flutter/engine/50065 has elapsed.
You need to open the revert manually and process as a regular pull request.

@auto-submit auto-submit bot removed the revert Label used to revert changes in a closed and merged pull request. label Jan 29, 2024
auto-submit bot pushed a commit that referenced this pull request Jan 29, 2024
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 platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants