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

[CP-stable]Fix rendering corruption by Flutter and GDK sharing the same OpenGL context #53183

Conversation

flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Jun 3, 2024

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

flutter/flutter#148653

Changelog Description:

Explain this cherry pick in one line that is accessible to most Flutter developers. See best practices for examples

Linux applications showing visual corruption on some frames

Impact Description:

What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)

Visual corruption seen on Linux Flutter apps, affects production apps.

Workaround:

Is there a workaround for this issue?

No workaround.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes
  • No

(rendering corruption not currently testable, may not be possible to test).

Validation Steps:

What are the steps to validate that this fix works?

Run app in flutter/flutter#148653 and observe popup not rendering correctly or corruption during window resize.

…ontext (flutter#53103)

Fix rendering corruption by Flutter and GDK sharing the same OpenGL
context

Solved by having three contexts - one for GDK and two for Flutter.

Regression introduced in flutter#50754

Fixes flutter/flutter#148653
@flutteractionsbot flutteractionsbot added the cp: review add the cp request to the review queue of release engineers label Jun 3, 2024
@flutteractionsbot
Copy link
Author

@robert-ancell please fill out the PR description above, afterwards the release team will review this request.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

LGTM stamp from a Japanese personal seal

lgtm - thanks @robert-ancell!

@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 2, 2024
@auto-submit auto-submit bot merged commit a3194fa into flutter:flutter-3.22-candidate.0 Jul 2, 2024
24 checks passed
christopherfujino added a commit that referenced this pull request Jul 12, 2024
# Flutter stable 3.22.3 Engine

## Scheduled Cherrypicks

- Roll dart revision: dart-lang/sdk@604651494
### Dart
- dart-lang/sdk#55979
- dart-lang/sdk#55943
### Engine
- flutter/flutter#149700
- flutter/flutter#149701
- flutter/flutter#149702
- flutter/flutter#149704
- flutter/flutter#149745
- flutter/flutter#149771
- #53183

---------

Co-authored-by: Martin Kustermann <[email protected]>
Co-authored-by: Jackson Gardner <[email protected]>
Co-authored-by: Christopher Fujino <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: desktop autosubmit Merge PR when tree becomes green via auto submit App cp: review add the cp request to the review queue of release engineers platform-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants