summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 10:55:47 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 11:05:45 +0900
commit1c21cdfdbb782d389818871d1697ece1098e85c2 (patch)
treee7560ab959684bce1b36eac3ba73f09f45e02eee /src/lib/evas/include/evas_private.h
parent3e0f3822f144b254c9d541a32c0d789036453da4 (diff)
evas: Remove flag use_mapped_ctx and add do_async
Always assume use_mapped_ctx as true, the caller of evas_render_mapped must ensure that the context is suitable (so either clean or contains the appropriate clip info). Also pass do_async to mask_subrender. For now it will always be reset to false as the SW engine requires sync render to convert from RGBA to Alpha (not great). The upcoming GL async engine should be able to render masks asynchronously without any problem.
Diffstat (limited to 'src/lib/evas/include/evas_private.h')
-rw-r--r--src/lib/evas/include/evas_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index cdbf15b734..2d8bd34b92 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1979,11 +1979,11 @@ Eina_Bool evas_render_mapped(Evas_Public_Data *e, Evas_Object *obj,
1979 void *context, void *surface, int off_x, int off_y, 1979 void *context, void *surface, int off_x, int off_y,
1980 int mapped, int ecx, int ecy, int ecw, int ech, 1980 int mapped, int ecx, int ecy, int ecw, int ech,
1981 Evas_Proxy_Render_Data *proxy_render_data, 1981 Evas_Proxy_Render_Data *proxy_render_data,
1982 int level, Eina_Bool use_mapped_ctx, Eina_Bool do_async); 1982 int level, Eina_Bool do_async);
1983void evas_render_invalidate(Evas *e); 1983void evas_render_invalidate(Evas *e);
1984void evas_render_object_recalc(Evas_Object *obj); 1984void evas_render_object_recalc(Evas_Object *obj);
1985void evas_render_proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy, Evas_Object_Protected_Data *proxy_obj, Eina_Rectangle region, Eina_Bool source_clip, Eina_Bool do_async); 1985void evas_render_proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy, Evas_Object_Protected_Data *proxy_obj, Eina_Rectangle region, Eina_Bool source_clip, Eina_Bool do_async);
1986void evas_render_mask_subrender(Evas_Public_Data *e, Evas_Object_Protected_Data *mask, Evas_Object_Protected_Data *prev_mask, int level); 1986void evas_render_mask_subrender(Evas_Public_Data *e, Evas_Object_Protected_Data *mask, Evas_Object_Protected_Data *prev_mask, int level, Eina_Bool do_async);
1987 1987
1988Eina_Bool evas_map_inside_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y); 1988Eina_Bool evas_map_inside_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y);
1989Eina_Bool evas_map_coords_get(const Evas_Map *m, double x, double y, double *mx, double *my, int grab); 1989Eina_Bool evas_map_coords_get(const Evas_Map *m, double x, double y, double *mx, double *my, int grab);