[Android] [Impeller] master branch: Virtual display platformview is broken on Android 10 (api 29) or lower. #160480
Labels
e: impeller
Impeller rendering backend issues and features requests
e: opengl
team-engine
Owned by Engine team
Description
My Virtual Display test project (used in other issues) is broken on the current master branch with Impeller enabled on Android.
It is using a Surfaceview and falls back to the Virtual Display platform view mode.
The platformview shows up as some kind of black gradient instead of an image.
Disabling impeller prevents the issue.
Using a Flutter stable up to 3.27 prevents the issue.
Expected result
Show an image of some mountains with both Impeller enabled and disabled.
Actual result
The image shows up as a weird gradient when using Impeller after the breaking commit.
Screenshots
Impeller disabled vs Impeller enabled, using the config from Flutter doctor below.
The '+' buttons has been pressed to make the image full size.
Tested configurations
Flutter versions
Tested Flutter versions
Devices
Work as expected:
Broken:
In case it is needed the S8 has:
CPU: Exynos 8895
GPU: Mali-G71 MP20
Breaking commit
I tracked the change to the following commit:
1ef8d51
Using master just 1 commit earlier doesn't show any issues, while using this commit breaks my code sample.
There are plenty Impeller revisions in the 47 included in this engine roll, so I'm not sure which change to blame exactly.
Code sample
Use the following repo project
https://github.com/timbotimbo/flutter-GLTest/tree/initial-3.24.5
The example basically boils down to a platformview in a green container.
Reproduction
To reproduce the issue:
Logs
Log at breaking commit (Galaxy S8, Android 9)
Log of last working commit (Galaxy S8, Android 9)
Flutter doctor
Flutter doctor
With FLutter master at the exact commit that breaks things and the Galaxy S8 connected.The text was updated successfully, but these errors were encountered: