summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-11-21 20:08:39 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-21 20:08:39 +0900
commit06de0637397f36c38519f7b4ce30d5cfbee5a571 (patch)
treeee554f49e313c0941a56dbece3a1540641ccf993 /src/lib/evas
parentfc4d7da72fc748de4327002b4bb5c9a6381130fb (diff)
evas vg: set update dirty region properly.
zero sized dirty region is insane, it must be size of vg area.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index 66b8241256..612a19a6f6 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -323,8 +323,7 @@ _efl_canvas_vg_object_efl_object_destructor(Eo *eo_obj, Efl_Canvas_Vg_Object_Dat
323 efl_unref(pd->root); 323 efl_unref(pd->root);
324 pd->root = NULL; 324 pd->root = NULL;
325 325
326 if (pd->user_entry) 326 if (pd->user_entry) free(pd->user_entry);
327 free(pd->user_entry);
328 pd->user_entry = NULL; 327 pd->user_entry = NULL;
329 328
330 efl_destructor(efl_super(eo_obj, MY_CLASS)); 329 efl_destructor(efl_super(eo_obj, MY_CLASS));
@@ -437,7 +436,7 @@ _render_to_buffer(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd
437 root, NULL, 436 root, NULL,
438 do_async); 437 do_async);
439 438
440 obj->layer->evas->engine.func->image_dirty_region(engine, buffer, 0, 0, 0, 0); 439 obj->layer->evas->engine.func->image_dirty_region(engine, buffer, 0, 0, w, h);
441 obj->layer->evas->engine.func->ector_end(engine, buffer, 440 obj->layer->evas->engine.func->ector_end(engine, buffer,
442 context, surface, 441 context, surface,
443 ector,do_async); 442 ector,do_async);