summaryrefslogtreecommitdiff
path: root/src/examples/evas
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-05-29 11:21:15 +0900
committerHermet Park <hermetpark@gmail.com>2018-05-29 11:27:15 +0900
commitbab45b85378956689b169702906b73359cee9f37 (patch)
tree3209dd5d74f7008f69a149c3468c0c9cb75c4645 /src/examples/evas
parent843850154d6991ab09f21ec7a9b3b79ed641c6c6 (diff)
evas gl: update example code for better user understanding.
Diffstat (limited to 'src/examples/evas')
-rw-r--r--src/examples/evas/evas-gl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/examples/evas/evas-gl.c b/src/examples/evas/evas-gl.c
index 81601dc0c8..3694d3c9bc 100644
--- a/src/examples/evas/evas-gl.c
+++ b/src/examples/evas/evas-gl.c
@@ -338,6 +338,12 @@ _animator_cb(void *data)
338 //pixel get callback then. 338 //pixel get callback then.
339 evas_object_image_pixels_dirty_set(img, EINA_TRUE); 339 evas_object_image_pixels_dirty_set(img, EINA_TRUE);
340 340
341 //If you know the specific region to be updated, specify here for the patial rendering.
342 //Otherwise, full image region will be redrawn on the canvas.
343 Evas_Coord w, h;
344 evas_object_geometry_get(img, NULL, NULL, &w, &h);
345 evas_object_image_data_update_add(img, 0, 0, w, h);
346
341 return ECORE_CALLBACK_RENEW; 347 return ECORE_CALLBACK_RENEW;
342} 348}
343 349