|author||Hermet Park <firstname.lastname@example.org>||2020-03-23 14:16:48 +0900|
|committer||Hermet Park <email@example.com>||2020-03-23 14:23:27 +0900|
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')
1 files changed, 1 insertions, 0 deletions
|@@ -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; //cache keys for first, last frames if animation|
|57||Eina_Bool changed : 1;||58||Eina_Bool changed : 1;|