This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Add a check for the surface if it is valid #55277
Merged
auto-submit
merged 6 commits into
flutter:main
from
mahmuttaskiran:fix_invalid_surface_crash
Sep 24, 2024
Merged
Add a check for the surface if it is valid #55277
auto-submit
merged 6 commits into
flutter:main
from
mahmuttaskiran:fix_invalid_surface_crash
Sep 24, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45f5c19 to
982f51f
Compare
982f51f to
3550482
Compare
matanlurey
approved these changes
Sep 24, 2024
jonahwilliams
approved these changes
Sep 24, 2024
Contributor
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nit
shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java
Outdated
Show resolved
Hide resolved
shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java
Outdated
Show resolved
Hide resolved
shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java
Outdated
Show resolved
Hide resolved
shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java
Outdated
Show resolved
Hide resolved
…mViewWrapperTest.java Delete comments Co-authored-by: Jonah Williams <[email protected]>
Co-authored-by: Jonah Williams <[email protected]>
…mViewWrapperTest.java Co-authored-by: Jonah Williams <[email protected]>
…mViewWrapperTest.java Co-authored-by: Jonah Williams <[email protected]>
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Sep 24, 2024
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Sep 24, 2024
…155625) flutter/engine@2a13c3a...7cd3d0b 2024-09-24 [email protected] Roll Dart SDK from 24ed9af6a961 to 7af8c4882e07 (1 revision) (flutter/engine#55397) 2024-09-24 [email protected] Add a check for the surface if it is valid (flutter/engine#55277) 2024-09-24 [email protected] [Flutter GPU] Add setStencilReference to RenderPass. (flutter/engine#55270) 2024-09-24 [email protected] [Impeller] finish wiring up external textures for macOS embedder. (flutter/engine#55347) 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
thejitenpatel
pushed a commit
to thejitenpatel/flutter
that referenced
this pull request
Sep 26, 2024
…lutter#155625) flutter/engine@2a13c3a...7cd3d0b 2024-09-24 [email protected] Roll Dart SDK from 24ed9af6a961 to 7af8c4882e07 (1 revision) (flutter/engine#55397) 2024-09-24 [email protected] Add a check for the surface if it is valid (flutter/engine#55277) 2024-09-24 [email protected] [Flutter GPU] Add setStencilReference to RenderPass. (flutter/engine#55270) 2024-09-24 [email protected] [Impeller] finish wiring up external textures for macOS embedder. (flutter/engine#55347) 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
thejitenpatel
pushed a commit
to thejitenpatel/flutter
that referenced
this pull request
Sep 26, 2024
…lutter#155625) flutter/engine@2a13c3a...7cd3d0b 2024-09-24 [email protected] Roll Dart SDK from 24ed9af6a961 to 7af8c4882e07 (1 revision) (flutter/engine#55397) 2024-09-24 [email protected] Add a check for the surface if it is valid (flutter/engine#55277) 2024-09-24 [email protected] [Flutter GPU] Add setStencilReference to RenderPass. (flutter/engine#55270) 2024-09-24 [email protected] [Impeller] finish wiring up external textures for macOS embedder. (flutter/engine#55347) 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
thejitenpatel
pushed a commit
to thejitenpatel/flutter
that referenced
this pull request
Sep 27, 2024
…lutter#155625) flutter/engine@2a13c3a...7cd3d0b 2024-09-24 [email protected] Roll Dart SDK from 24ed9af6a961 to 7af8c4882e07 (1 revision) (flutter/engine#55397) 2024-09-24 [email protected] Add a check for the surface if it is valid (flutter/engine#55277) 2024-09-24 [email protected] [Flutter GPU] Add setStencilReference to RenderPass. (flutter/engine#55270) 2024-09-24 [email protected] [Impeller] finish wiring up external textures for macOS embedder. (flutter/engine#55347) 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
thejitenpatel
pushed a commit
to thejitenpatel/flutter
that referenced
this pull request
Sep 27, 2024
…lutter#155625) flutter/engine@2a13c3a...7cd3d0b 2024-09-24 [email protected] Roll Dart SDK from 24ed9af6a961 to 7af8c4882e07 (1 revision) (flutter/engine#55397) 2024-09-24 [email protected] Add a check for the surface if it is valid (flutter/engine#55277) 2024-09-24 [email protected] [Flutter GPU] Add setStencilReference to RenderPass. (flutter/engine#55270) 2024-09-24 [email protected] [Impeller] finish wiring up external textures for macOS embedder. (flutter/engine#55347) 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
flutteractionsbot
pushed a commit
to flutteractionsbot/engine
that referenced
this pull request
Nov 1, 2024
Fixes an issue where the Surface is not valid and the `draw` method is crashing. flutter/flutter#155018 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
|
In which flutter version we can expect this fix? |
Same question. |
Contributor
Author
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
cp: stable
cherry pick to the stable release candidate branch
platform-android
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes an issue where the Surface is not valid and the
drawmethod is crashing.flutter/flutter#155018
Pre-launch Checklist
///).