This patch fixes re-introduced black screen issue when launching webapp.
Start the BrowserGpuChannelHostFactory after GLSharedContextEfl has been initialized as it was the case before.
Change-Id: I9c953c6b34a2c82ce3eb1c6ddb08b22a0744d176
Signed-off-by: sidpaswan <s.paswan@samsung.com>
elm_layout_file_set(efl_main_layout_, main_edj.AsUTF8Unsafe().c_str(),
"main_layout");
-#if BUILDFLAG(IS_TIZEN) && !BUILDFLAG(IS_TIZEN_TV)
- BrowserGpuChannelHostFactory::Start();
-#endif
-
auto* ee = ecore_evas_ecore_evas_get(evas_object_evas_get(efl_main_layout_));
const char* sw_engine = "wayland_shm";
if (!strncmp(sw_engine, ecore_evas_engine_name_get(ee), strlen(sw_engine))) {
GLSharedContextEfl::Initialize(root_window);
}
+#if BUILDFLAG(IS_TIZEN) && !BUILDFLAG(IS_TIZEN_TV)
+ BrowserGpuChannelHostFactory::Start();
+#endif
+
ui::EflScreen::UpdateDisplayInfo(ee);
}