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

unitywidget have a bug #290

Open
JuneLeo opened this issue Jan 4, 2021 · 6 comments
Open

unitywidget have a bug #290

JuneLeo opened this issue Jan 4, 2021 · 6 comments
Assignees
Labels
bug This issue refers to a bug in the plugin

Comments

@JuneLeo
Copy link

JuneLeo commented Jan 4, 2021

flutter/flutter#72960

@juicycleff
Copy link
Owner

@JuneLeo It seems weird though. But will look at it

@juicycleff juicycleff added the bug This issue refers to a bug in the plugin label Jan 8, 2021
@juicycleff juicycleff self-assigned this Jan 8, 2021
@JuneLeo
Copy link
Author

JuneLeo commented Jan 11, 2021

@JuneLeo It seems weird though. But will look at it

I'd like to ask you a question
In Android PlatformView, getView is always called,Why?
Can SurfaceTexture be used on Android? Flutter side using Texture Widget?

@JuneLeo
Copy link
Author

JuneLeo commented Jan 25, 2021

I solved the problem by using TextureView replace SurfaceView;

@nmfisher
Copy link

nmfisher commented Mar 16, 2021

@JuneLeo can you explain further, or link to the code where you replaced SurfaceView with TextureView?

@MaxymShtoyko
Copy link

@nmfisher did you manage to find the location where we need to replace the code?

@nmfisher
Copy link

nmfisher commented Apr 5, 2021

@MaxymShtoyko I had to figure this out on my own. I documented my steps here:

#190 (comment)

I doubt the performance drop will be worth it, though.

I feel like I could find a proper workaround for layering/compositing that uses the SurfaceView, but I simply don't have the time at the moment to really get into the internals of Android's rendering layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue refers to a bug in the plugin
Projects
None yet
Development

No branches or pull requests

4 participants