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

Ensure OpacityLayer to have a single child #8362

Merged
merged 2 commits into from
Mar 30, 2019

Conversation

liyuqian
Copy link
Contributor

It ensures that every OpacityLayer can be optimized by retained
rendering.

Tested with flutter test --local-engine=host_debug_unopt in
flutter/flutter/packages/flutter.

Related issues: flutter/flutter#21756 flutter/flutter#23535

It ensures that every OpacityLayer can be optimized by retained
rendering.

Tested with `flutter test --local-engine=host_debug_unopt` in
flutter/flutter/packages/flutter.

Related issues: flutter#21756 flutter#23535
@liyuqian liyuqian merged commit 9d71675 into flutter:master Mar 30, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 30, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Mar 30, 2019
flutter/engine@ca7623e...b75472c

git log ca7623e..b75472c --no-merges --oneline
b75472c Add missing import to functional for Windows. (flutter/engine#8382)
9d71675 Ensure OpacityLayer to have a single child (flutter/engine#8362)
131cc62 Allow native entrypoint registration for runtime unittests. (flutter/engine#8379)
5e124ff Fix typos (flutter/engine#8339)
972afdc Allow running runtime_unittests in AOT mode. (flutter/engine#8375)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
@rmarau
Copy link

rmarau commented Apr 5, 2019

@liyuqian , @chinmaygarde
After Roll engine ca7623e..b75472c (5 commits) I'm having problems with the Opacity widget (IOS and Android). I'm assuming it comes after this merge.

In
Opacity( opacity: 0.5, child: TextField(), ),
The TextField starts flickering, as if there's an internal setState update continuously.
Can you reproduce this?

Should I file an issue in flutter for a review on the Opacity Widget?

@liyuqian
Copy link
Contributor Author

liyuqian commented Apr 7, 2019

@rmarau : the fix should have landed in the master branch. Can you please try to see if it's fixed in your app?

@rmarau
Copy link

rmarau commented Apr 7, 2019

@liyuqian : It is fixed! Thank you.

RBogie pushed a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
It ensures that every OpacityLayer can be optimized by retained
rendering.

Tested with `flutter test --local-engine=host_debug_unopt` in
flutter/flutter/packages/flutter.

Related issues: flutter#21756 flutter#23535
RBogie added a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
RBogie added a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants