diff options
author | Hermet Park <hermetpark@gmail.com> | 2019-09-11 14:27:47 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2019-09-11 14:30:16 +0900 |
commit | 27498629ed279557f6b179c6fc938406510ee760 (patch) | |
tree | c812edab98371edc4679f18338c745df1833d61f /src/lib/evas/canvas/evas_vg_private.h | |
parent | dc0056ca936fc014aaf7949ef9fa3cf41c2d6964 (diff) |
canvas vg: optimize memory usage in composition.
Ector buffer allocates memory in default,
We don't need to allocate buffer memory additionally to handle over outside.
We can map/unmap ector buffer for reusing this.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r-- | src/lib/evas/canvas/evas_vg_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h index c3752b003b..c87753778b 100644 --- a/src/lib/evas/canvas/evas_vg_private.h +++ b/src/lib/evas/canvas/evas_vg_private.h | |||
@@ -84,6 +84,8 @@ typedef struct _Vg_Composite | |||
84 | Evas_Object_Protected_Data *vg_pd; //Vector Object (for accessing backend engine) | 84 | Evas_Object_Protected_Data *vg_pd; //Vector Object (for accessing backend engine) |
85 | Ector_Buffer *buffer; //Composite Ector Buffer | 85 | Ector_Buffer *buffer; //Composite Ector Buffer |
86 | void *pixels; //Composite pixel buffer (actual data) | 86 | void *pixels; //Composite pixel buffer (actual data) |
87 | unsigned int length; //pixel buffer data size | ||
88 | unsigned int stride; //pixel buffer stride | ||
87 | Eina_Rect bound; //Composite boundary | 89 | Eina_Rect bound; //Composite boundary |
88 | Eina_List *src; //Composite Sources | 90 | Eina_List *src; //Composite Sources |
89 | Efl_Gfx_Vg_Composite_Method method; //Composite Method | 91 | Efl_Gfx_Vg_Composite_Method method; //Composite Method |