vwin_info_t info;
Evas_Object *rect;
const char *engine;
- int gl_is_turned_on = 0;
if (!s_info.alloc_canvas && !s_info.alloc_canvas_with_stride && !s_info.alloc_canvas_with_pixmap) {
s_info.alloc_canvas_with_pixmap = dlsym(RTLD_DEFAULT, "ecore_evas_gl_x11_pixmap_allocfunc_new");
info->ee = s_info.alloc_canvas_with_pixmap(NULL, 0u, 0, 0, info->w, info->h, alloc_pixmap_cb, free_pixmap_cb, info);
if (!info->ee) {
ErrPrint("Unable to create a ee for pixmap\n");
- } else {
- gl_is_turned_on = 1;
}
}
}
return NULL;
}
- if (!gl_is_turned_on) {
- pre_render_cb(info, NULL, NULL);
- ecore_evas_alpha_set(info->ee, EINA_TRUE);
- post_render_cb(info, NULL, NULL);
- } else {
- DbgPrint("opengl-x11 engine should not turn on the alpha\n");
- }
+ pre_render_cb(info, NULL, NULL);
+ ecore_evas_alpha_set(info->ee, EINA_TRUE);
+ post_render_cb(info, NULL, NULL);
ecore_evas_manual_render_set(info->ee, EINA_FALSE);
ecore_evas_resize(info->ee, info->w, info->h);