diff options
author | subhransu mohanty <sub.mohanty@samsung.com> | 2017-11-09 16:57:00 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-11-10 11:20:38 +0900 |
commit | 41062cb15d2fecf57d3e649eabdb373f909ca53c (patch) | |
tree | 50aad80dbe1868bffd9a86af6601f19786671151 /src/lib/evas/canvas/evas_vg_private.h | |
parent | f0b8c37d805fceba15ba317dd96b906d6e12f147 (diff) |
evas/vg: use surface cache for efl vg canvasdevs/subhransu/evas_vg
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r-- | src/lib/evas/canvas/evas_vg_private.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h index dda171bdad..987991097c 100644 --- a/src/lib/evas/canvas/evas_vg_private.h +++ b/src/lib/evas/canvas/evas_vg_private.h | |||
@@ -32,12 +32,19 @@ struct _Evas_Cache_Vg_Entry | |||
32 | int ref; | 32 | int ref; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | typedef struct _User_Vg_Entry | ||
36 | { | ||
37 | int w; // current surface width | ||
38 | int h; // current surface height | ||
39 | Efl_VG *root; | ||
40 | }User_Vg_Entry; // holds the vg tree info set by the user | ||
41 | |||
35 | struct _Efl_Canvas_Vg_Data | 42 | struct _Efl_Canvas_Vg_Data |
36 | { | 43 | { |
37 | void *engine_data; | 44 | void *engine_data; |
38 | Efl_VG *root; | 45 | Efl_VG *root; |
39 | Efl_VG *vg_tree; | ||
40 | Evas_Cache_Vg_Entry *vg_entry; | 46 | Evas_Cache_Vg_Entry *vg_entry; |
47 | User_Vg_Entry *user_entry; // holds the user set vg tree | ||
41 | Eina_Rect fill; | 48 | Eina_Rect fill; |
42 | Eina_Rect viewbox; | 49 | Eina_Rect viewbox; |
43 | unsigned int width, height; | 50 | unsigned int width, height; |