_evas_outbuf_reconfigure(re->generic.ob, w, h,
einfo->info.rotation, einfo->info.depth,
- einfo->info.destination_alpha, resize,
- einfo->info.hidden);
+ einfo->info.destination_alpha, resize);
evas_common_tilebuf_free(re->generic.tb);
if ((re->generic.tb = evas_common_tilebuf_new(w, h)))
Eina_Bool destination_alpha : 1;
} priv;
- Eina_Bool hidden : 1;
Eina_Bool dirty : 1;
};
Render_Output_Swap_Mode _evas_outbuf_swap_mode_get(Outbuf *ob);
int _evas_outbuf_rotation_get(Outbuf *ob);
-void _evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize, Eina_Bool hidden);
+void _evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize);
void *_evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
void _evas_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h);
void _evas_outbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
ob->rotation = info->info.rotation;
ob->depth = info->info.depth;
ob->priv.destination_alpha = info->info.destination_alpha;
- ob->hidden = info->info.hidden;
ob->ewd = info->info.wl2_display;
/* default to triple buffer */
LOGFN(__FILE__, __LINE__, __FUNCTION__);
- if (ob->hidden) return;
-
if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) return;
if (ob->priv.rect_count) free(ob->priv.rects);
}
void
-_evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize, Eina_Bool hidden)
+_evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize)
{
Eina_Bool dirty;
if (!ob->dirty && (ob->w == w) && (ob->h == h) &&
(ob->rotation == rot) && (ob->depth == depth) &&
- (ob->priv.destination_alpha == alpha) &&
- (ob->hidden == hidden))
+ (ob->priv.destination_alpha == alpha))
return;
dirty = ob->dirty;
ob->rotation = rot;
ob->depth = depth;
ob->priv.destination_alpha = alpha;
- ob->hidden = hidden;
if ((ob->rotation == 0) || (ob->rotation == 180))
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
- if (ob->hidden) return NULL;
-
RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, ob->w, ob->h);
if ((w <= 0) || (h <= 0)) return NULL;
/* check for pending writes */
if (!ob->priv.pending_writes) return;
- if (ob->hidden) return;
-
if ((ob->rotation == 0) || (ob->rotation == 180))
{
func =