[Rendering] Create window to use SW backend for onscreen mode. 38/317838/6
authorYongGeol Jung <yg48.jung@samsung.com>
Thu, 19 Sep 2024 06:27:14 +0000 (23:27 -0700)
committerBot Blink <blinkbot@samsung.com>
Mon, 23 Sep 2024 02:33:50 +0000 (02:33 +0000)
Modified to use software backend so that the Evas engine does not create an egl
window. If Evas engine creates an egl window, two egl windows will be created
overall, and it causes the egl specification violation.

Change-Id: Iecf12408a5047b9dc3cced176eaab66e43ddf396
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_window.cc

index ea89f84fac360960e17dece544b6663f62c37e50..f963421ccd868784bfd2e6cfb2170995aa590bea 100644 (file)
@@ -78,7 +78,7 @@ Ecore_Wl2_Window* EflWindow::last_ww_ = nullptr;
 // static
 Ecore_Evas* EflWindow::CreateEvasObject(const gfx::Rect& bounds) {
 #if defined(USE_WAYLAND)
-  return ecore_evas_new("wayland_egl", 0, 0, bounds.width(), bounds.height(),
+  return ecore_evas_new("wayland_shm", 0, 0, bounds.width(), bounds.height(),
                         nullptr);
 #else
   return ecore_evas_new("opengl_x11", 0, 0, bounds.width(), bounds.height(),