e_pixmap_free(efc->ep);
if (!e_object_unref(E_OBJECT(ec)))
{
- EFFINF("Effect unref efc(%p) Client free'd",
- efc->ep, ec, efc);
+ EFFINF("Effect unref ec(%p) ep(%p) efc(%p) Client free'd",
+ NULL, NULL, ec, efc->ep, efc);
efc->ec = NULL;
efc = NULL;
if (!effect) return NULL;
+ if (effect->zone->display_state == E_ZONE_DISPLAY_STATE_OFF)
+ return NULL;
+
x = y = w = h = 0;
t = eina_tiler_new(effect->zone->w + edge, effect->zone->h + edge);
eina_tiler_tile_size_set(t, 1, 1);
- if (effect->zone->display_state == E_ZONE_DISPLAY_STATE_OFF)
- return NULL;
-
EINA_RECTANGLE_SET(&r, effect->zone->x, effect->zone->y, effect->zone->w, effect->zone->h);
eina_tiler_rect_add(t, &r);
(ec->e.state.rot.ang.curr == effect->zone->rot.curr))
{
if (l) eina_list_free(l);
+ eina_tiler_free(t);
return NULL;
}
}
if (eina_tiler_empty(t)) break;
}
+ eina_tiler_free(t);
return l;
}
w = buffer->w;
h = buffer->h;
+
pix = wl_shm_buffer_get_data(buffer->shm_buffer);
+ if (!pix) goto fail;
if (eobj->data_pool)
wl_shm_pool_unref(eobj->data_pool);
tbm_surface_map(tbm_surface, TBM_SURF_OPTION_READ, &surface_info);
data = surface_info.planes[0].ptr;
+ if (!data) goto fail;
+
w = surface_info.width;
h = surface_info.height;
tbm_surface_map(tbm_surface, TBM_SURF_OPTION_READ, &surface_info);
data = surface_info.planes[0].ptr;
+ if (!data) goto fail;
+
w = surface_info.width;
h = surface_info.height;