-
Notifications
You must be signed in to change notification settings - Fork 73
[Not plugin issue, Flutter Engine] Android PlatformView Display Mode Issues #152
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
Comments
본 코멘트는 Flutter 3.16~Flutter 3.18, flutter_naver_map 1.1.2 를 기준으로 서술되었습니다. Flutter에는 Android PlatformView에서 사용할 수 있는 디스플레이 모드가 3가지 있습니다. 그리고, 실제로 Flutter 엔진이 플러터 위젯들을 그리는 공간인 FlutterView는 두가지 렌더링 뷰를 지원합니다. 또한, NaverMap Android SDK 역시 두가지 렌더링 뷰를 지원합니다. 여기에서는 해당 선택지를 어떻게 조합하고 구성하냐에 따라, 어떤 Trade-Off들이 존재하는지와 flutter_naver_map에서는 버전별로 어떻게 구현되어 있는지 서술합니다. 1. 성능
따라서, flutter_naver_map에서는 MapRendering에 GLSV를 기본으로 사용하되 아래 서술할 호환성에 문제가 있는 기기들에서는 TV를 사용합니다.
2. 호환성 (이슈)[MapRenderView] GLSurfaceView
[Platform View] Hybrid Composition
[Platform View] Texture Layer Hybrid Composition
|
Because of how SurfaceViews render in Android, Flutter will always have trouble supporting them completely and you should avoid using them in a Flutter app. FWIW: Google Maps on Android uses TextureView (not just in Flutter but in general) and it has great performance. |
Need to check flutter 3.19's Update (TLHC, Impeller) |
flutter/flutter#98865 가 flutter 3.19에서 해결된 것으로 보입니다. 60c16d5 관련 커밋입니다. 다음은 해결되는 Hybrid Composition 관련 이슈들입니다.
또한, flutter 3.19에서 TLHC와 함께 사용시, GLSurfaceView 문제 역시 해결되었습니다. 8048352 관련 커밋입니다. 다음은 해결되는 GLSurfaceView 관련 이슈들입니다.
수정해주신 Flutter팀께 감사 말씀을 올립니다! |
해당 이슈에 관련된 이슈는 대부분 수정된 것으로 보입니다. |
Background
flutter_naver_map 플러그인은 더 나은 성능을 위해, Android 플랫폼에서 TextureView 대신, GLSurfaceView를 사용하여 렌더링합니다.
하지만, 이로 인해 플랫폼 뷰 위젯에 많은 이슈가 발생하고 있습니다. 이를 수집하고 정리하기 위해 해당 이슈를 생성합니다.
The flutter_naver_map plugin uses GLSurfaceView instead of TextureView for rendering on the Android platform, aiming for better performance.
However, many issues have been occurring at PlatformView Widget. This issue has been created to collect and organize them.
The text was updated successfully, but these errors were encountered: