e_view_name_set(view, "comp->bg_blank_view");
e_view_show(view);
+ if(!e_egl_sync_init())
+ {
+ ERR("fail to e_egl_sync_init");
+ e_canvas_destroy(comp->canvas);
+ _e_comp_canvas_ecore_evas_deinit(ee);
+ return EINA_FALSE;
+ }
+
evas_event_callback_add(comp->evas, EVAS_CALLBACK_RENDER_POST, _e_comp_canvas_render_post, NULL);
comp->ee_win = ecore_evas_window_get(comp->ee);
E_FREE_LIST(handlers, ecore_event_handler_del);
+ e_egl_sync_deinit();
_e_comp_canvas_ecore_evas_deinit(comp->ee);
e_view_destroy(comp->bg_blank_view);
e_canvas_destroy(comp->canvas);
#include "e_egl_sync_intern.h"
-#include "e_comp_wl_intern.h"
-#include "e_comp_intern.h"
#include <EGL/egl.h>
#include <EGL/eglext.h>
{
E_Egl_Sync_Mgr *egl_sync_mgr = NULL;
const char *extensions = NULL;
- E_Comp *comp = e_comp_get();
- E_Comp_Wl_Data *comp_wl = e_comp_wl_get();
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(comp_wl, EINA_FALSE);
- EINA_SAFETY_ON_NULL_RETURN_VAL(comp_wl->wl.disp, EINA_FALSE);
- EINA_SAFETY_ON_NULL_RETURN_VAL(comp, EINA_FALSE);
- EINA_SAFETY_ON_NULL_RETURN_VAL(comp->comp_screen, EINA_FALSE);
if (_egl_sync_mgr) return EINA_TRUE;
- if (!e_comp_gl_get()) return EINA_TRUE;
egl_sync_mgr = E_NEW(E_Egl_Sync_Mgr, 1);
EINA_SAFETY_ON_NULL_RETURN_VAL(egl_sync_mgr, EINA_FALSE);
#include "e_output_intern.h"
#include "e_hwc_intern.h"
#include "e_hwc_windows_intern.h"
-#include "e_egl_sync_intern.h"
#include "e_config_intern.h"
#include "e_dbus_conn_intern.h"
#include "e_main_intern.h"
#include "e_blur_intern.h"
#include "e_foreign_intern.h"
#include "e_explicit_sync_intern.h"
-#include "e_egl_sync_intern.h"
#include "e_tizen_screen_manager_intern.h"
#include "e_linux_dmabuf_intern.h"
#include "e_screen_rotation_intern.h"
Dummy_Handle *tizen_blur_manager_handle;
Dummy_Handle *tizen_foreign_handle;
Dummy_Handle *explicit_sync_handle;
- Dummy_Handle *egl_sync_handle;
E_Tizen_Screen_Manager *tizen_screen_manager;
Dummy_Handle *linux_dmabuf_handle;
Dummy_Handle *tizen_screen_rotation_handle;
e_server_feature_register(E_SERVER_FEATURE_TIZEN_BLUR_MANAGER, &dummy_handle);
if (e_foreign_global_init(comp_wl->wl.disp))
e_server_feature_register(E_SERVER_FEATURE_TIZEN_FOREIGN, &dummy_handle);
- if (e_egl_sync_init())
- e_server_feature_register(E_SERVER_FEATURE_EGL_SYNC, &dummy_handle);
if (e_explicit_sync_init())
e_server_feature_register(E_SERVER_FEATURE_EXPLICIT_SYNC, &dummy_handle);
if (e_video_shell_create(comp_wl->wl.disp))
e_screen_rotation_shutdown();
e_linux_dmabuf_shutdown();
e_tizen_screen_manager_shutdown();
- e_egl_sync_deinit();
e_explicit_sync_deinit();
e_foreign_global_shutdown();
e_blur_manager_shutdown();
case E_SERVER_FEATURE_EXPLICIT_SYNC:
g_server->handles.explicit_sync_handle = handle;
break;
- case E_SERVER_FEATURE_EGL_SYNC:
- g_server->handles.egl_sync_handle = handle;
- break;
case E_SERVER_FEATURE_TIZEN_SRCREEN_MANAGER:
g_server->handles.tizen_screen_manager = handle;
break;
case E_SERVER_FEATURE_EXPLICIT_SYNC:
handle = g_server->handles.explicit_sync_handle;
break;
- case E_SERVER_FEATURE_EGL_SYNC:
- handle = g_server->handles.egl_sync_handle;
- break;
case E_SERVER_FEATURE_TIZEN_SRCREEN_MANAGER:
handle = g_server->handles.tizen_screen_manager;
break;
E_SERVER_FEATURE_TIZEN_BLUR_MANAGER,
E_SERVER_FEATURE_TIZEN_FOREIGN,
E_SERVER_FEATURE_EXPLICIT_SYNC,
- E_SERVER_FEATURE_EGL_SYNC,
E_SERVER_FEATURE_TIZEN_SRCREEN_MANAGER,
E_SERVER_FEATURE_LINUX_DMABUF,
E_SERVER_FEATURE_TIZEN_SCREEN_ROTATION,