summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-13 17:41:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 10:24:52 +0900
commit4e110a34bffe09abe4dd793f9ecf1cf3884ccf22 (patch)
tree1ab570315966b8347702ca46a383674ea7d2efdb /src/lib/evas/include/evas_private.h
parent0ca1d0eef2ffc04c59fa194ad5c2e827614e95bc (diff)
evas: Add source_region property to proxy objects
This will allow partially rendering a proxy in a smaller image, limited to the specified region. At the moment, this will allow apps to create proxies of very large objects and let them deal with the geometry & clipping. This is not directly solving the issues with adding a filter to textblock or the infinite page scrollers. @feature
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 c038e75ba5..8f8f63bd61 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1924,6 +1924,7 @@ struct _Evas_Proxy_Render_Data
1924 Evas_Object_Protected_Data *src_obj; 1924 Evas_Object_Protected_Data *src_obj;
1925 Evas_Object *eo_proxy; 1925 Evas_Object *eo_proxy;
1926 Evas_Object *eo_src; 1926 Evas_Object *eo_src;
1927 Eina_Rectangle region;
1927 Eina_Bool source_clip : 1; 1928 Eina_Bool source_clip : 1;
1928}; 1929};
1929 1930
@@ -1983,8 +1984,7 @@ Eina_Bool evas_render_mapped(Evas_Public_Data *e, Evas_Object *obj,
1983 int level, Eina_Bool use_mapped_ctx, Eina_Bool do_async); 1984 int level, Eina_Bool use_mapped_ctx, Eina_Bool do_async);
1984void evas_render_invalidate(Evas *e); 1985void evas_render_invalidate(Evas *e);
1985void evas_render_object_recalc(Evas_Object *obj); 1986void evas_render_object_recalc(Evas_Object *obj);
1986void evas_render_proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy, 1987void 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 do_async);
1987 Evas_Object_Protected_Data *proxy_obj, Eina_Bool do_async);
1988void evas_render_mask_subrender(Evas_Public_Data *e, Evas_Object_Protected_Data *mask, Evas_Object_Protected_Data *prev_mask, int level); 1988void evas_render_mask_subrender(Evas_Public_Data *e, Evas_Object_Protected_Data *mask, Evas_Object_Protected_Data *prev_mask, int level);
1989 1989
1990Eina_Bool evas_map_inside_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y); 1990Eina_Bool evas_map_inside_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y);