summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorHermet Park <chuneon.park@samsung.com>2020-03-23 14:16:48 +0900
committerHermet Park <chuneon.park@samsung.com>2020-03-23 14:23:27 +0900
commit69fd72af2cae8dce07ac2becad40eccbb55b5bc7 (patch)
tree4d8e19467c858e0f561c83404a1f732ea11bef3a /src/lib/evas/canvas/evas_vg_private.h
parente1e7272d89e2921902161be225b53661ca91af8b (diff)
canvas vg: drop vg cache buffers if object were destroyed.
Previous vg didn't take care of cached buffers which were allocated in it's lifetime because the cache buffers are managed by its own cache buffer mgr, it has a limitation count of buffers also buffers can be cleared when engine is shutdown. This behavior is actually working properly but not well optimized since it lost a chance to clear grown buffers. Now vg do clear used buffers when object is invalidated.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index a6a27142ed..811e1cb8b6 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -53,6 +53,7 @@ struct _Efl_Canvas_Vg_Object_Data
53 double align_x, align_y; 53 double align_x, align_y;
54 Efl_Canvas_Vg_Fill_Mode fill_mode; 54 Efl_Canvas_Vg_Fill_Mode fill_mode;
55 int frame_idx; 55 int frame_idx;
56 void *ckeys[2]; //cache keys for first, last frames if animation
56 57
57 Eina_Bool changed : 1; 58 Eina_Bool changed : 1;
58}; 59};