(Web Chromium) Changes the ecore evas rendering engine in NUI Webkit 21/320121/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 8 Nov 2024 03:45:44 +0000 (12:45 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 8 Nov 2024 03:45:44 +0000 (12:45 +0900)
Cherry-pick of https://review.tizen.org/gerrit/c/platform/core/uifw/dali-extension/+/306433

Changed the ecore evas rendering engine in NUI Webkit.
Because webkit only works in GPU thread as worker thread in Web
and ecore evas does not work for rendering.
If NUI Webview works with ecore evas gl backend,
it has the some race condition issue when egl is initailized and terminated.
To fix that, ecore evas engine should be changed with sw backend engine.

Change-Id: I8d899b42e6e1b22ee8bc578ea71378887ae46a5a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-extension/web-engine-chromium/tizen-web-engine-manager.cpp

index bd0ad1d7676e668b78a697e475e37c4f876f3432..80414660ac7989082ae6397ba863039a37a0b44f 100644 (file)
@@ -53,7 +53,7 @@ WebEngineManager::WebEngineManager()
 
   elm_init(0, 0);
   ewk_init();
-  mWindow = ecore_evas_new("wayland_egl", 0, 0, 1, 1, 0);
+  mWindow = ecore_evas_new("wayland_shm", 0, 0, 1, 1, 0);
 
   Dali::LifecycleController::Get().TerminateSignal().Connect(mSlotDelegate, &WebEngineManager::OnTerminated);