Skip to content

topMost property with perf improvement for Android #419

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

Merged

Conversation

CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Jun 23, 2022

On Android, a partner was reporting slow updates/skipped frames when using transparency.
TextureView seems to be famous for being slow.
After some investigation, it's possible to do the same (textureView allows more things that are not usefull in this context) with SurfaceView/SurfaceHolder properties.

Change for iOS/Android. Another PR for Windows will come later.

@CedricGuillemet CedricGuillemet changed the title replace textureView with surfaceView Properties for transparency eplace textureView with surfaceView Properties for transparency Jun 23, 2022
@CedricGuillemet CedricGuillemet changed the title eplace textureView with surfaceView Properties for transparency Replace textureView with surfaceView Properties for transparency Jun 23, 2022
@CedricGuillemet CedricGuillemet changed the title Replace textureView with surfaceView Properties for transparency Replace TextureView with SurfaceView for transparency Jun 23, 2022
@CedricGuillemet CedricGuillemet changed the title Replace TextureView with SurfaceView for transparency topMost property with perf improvement for Android Jul 6, 2022
@CedricGuillemet CedricGuillemet requested a review from ryantrem July 6, 2022 15:32
@CedricGuillemet CedricGuillemet merged commit 3afe4b8 into BabylonJS:master Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants