[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional... 69/289169/5
authorYongGeol Jung <yg48.jung@samsung.com>
Thu, 17 Nov 2022 05:01:39 +0000 (21:01 -0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 2 Mar 2023 18:05:07 +0000 (18:05 +0000)
Evas engine creates it's own egl window and egl surface to render. Eventually
additional GEM memory is created for rendering. Enable evas manual rendering to
prevent this symptom.

Reference: https://review.tizen.org/gerrit/#/c/284435/

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

index 5db5cb9..aa284bb 100644 (file)
@@ -271,6 +271,11 @@ void EflWindow::Initialize(const PlatformWindowInitProperties& properties) {
     return;
   }
 
+  // Evas engine creates it's own egl window and egl surface to render.
+  // Eventually additional GEM memory is created for rendering. Enable evas
+  // manual rendering to prevent this symptom.
+  ecore_evas_manual_render_set(ee_, EINA_TRUE);
+
 #if defined(USE_WAYLAND)
   Ecore_Wl2_Window* ww = ecore_evas_wayland2_window_get(ee_);
   if (!ww) {