Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an AndroidManifest.xml flag to disable ImageReader backed Platform Views #46430

Conversation

johnmccutchan
Copy link
Contributor

An internal customer is seeing flickering on some high FPS phones.

While we try and reproduce / gain more knowledge of this problem this PR adds a AndroidManifest.xml flag to disable their usage.

The boolean flag is:

"io.flutter.embedding.android.DisableImageReaderPlatformViews"

Adding the following to your manifest will disable their usage:

<meta-data
  android:name="io.flutter.embedding.android.DisableImageReaderPlatformViews"
  android:value="true" />

…m Views

An internal customer is seeing flickering on some high FPS phones.

While we try and reproduce / gain more knowledge of this problem this PR
adds a AndroidManifest.xml flag to disable their usage.

The boolean flag is:
```
"io.flutter.embedding.android.DisableImageReaderPlatformViews"
```

Adding the following to your manifest will disable their usage:

```
<meta-data
  android:name="io.flutter.embedding.android.DisableImageReaderPlatformViews"
  android:value="true" />
```

- While we try and reproduce and gain more feedback
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

RSLGTM

@johnmccutchan johnmccutchan added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 30, 2023
@auto-submit auto-submit bot merged commit 87c3bf1 into flutter:main Sep 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 30, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 30, 2023
…135789)

flutter/engine@8939f9c...e719b79

2023-09-30 30870216+gaaclarke@users.noreply.github.com [Impeller] fixed subpass filter coverage with image filters (flutter/engine#46431)
2023-09-30 john@johnmccutchan.com Add an AndroidManifest.xml flag to disable ImageReader backed Platform Views (flutter/engine#46430)

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 jacksongardner@google.com,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
…lutter#135789)

flutter/engine@8939f9c...e719b79

2023-09-30 30870216+gaaclarke@users.noreply.github.com [Impeller] fixed subpass filter coverage with image filters (flutter/engine#46431)
2023-09-30 john@johnmccutchan.com Add an AndroidManifest.xml flag to disable ImageReader backed Platform Views (flutter/engine#46430)

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 jacksongardner@google.com,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
…m Views (#46430)

An internal customer is seeing flickering on some high FPS phones.

While we try and reproduce / gain more knowledge of this problem this PR adds a AndroidManifest.xml flag to disable their usage.

The boolean flag is:
```
"io.flutter.embedding.android.DisableImageReaderPlatformViews"
```

Adding the following to your manifest will disable their usage:

```
<meta-data
  android:name="io.flutter.embedding.android.DisableImageReaderPlatformViews"
  android:value="true" />
```
johnmccutchan added a commit to johnmccutchan/engine that referenced this pull request Nov 14, 2023
johnmccutchan added a commit that referenced this pull request Nov 14, 2023
…d Platform Views (#46430)" (#48024)

This reverts commit 87c3bf1. It is no
longer needed as we have resolved the flickering issue in the
ImageReader backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

2 participants