flutter-tizen / engine

The Flutter engine
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
6 stars 19 forks source link

Enable Evas GL renderer for all profile #312

Closed JSUYA closed 2 years ago

JSUYA commented 2 years ago

For devices other than wearable, we can either use ElmFlutterView or EcoreWl2Window, depending on apps. This commit is to avoid being device dependent.

Remove the build flag for evas_gl only and use the WEARABLE_PROFILE macro if necessary. Before creating the engine, the embedding can select the renderer type in the engine property. On runtime, it selects an appropriate renderer and external texture according to the renderer type and renders it.

related issue : https://github.com/flutter-tizen/engine/issues/301

JSUYA commented 2 years ago

https://github.com/flutter-tizen/engine/runs/7334808882?check_suite_focus=true#step:6:53 @swift-kim Do you know FlutterTizenEngineTest.AddPluginRegistrarDestructionCallback test? I can't found it in FlutterTizenEngineTest class. CI goes into a loop on this test (maybe crash?)...

swift-kim commented 2 years ago

@JSUYA The test has recently been added in https://github.com/flutter-tizen/engine/pull/311. You might have to rebase your commits.