summaryrefslogtreecommitdiff
path: root/unsorted
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
commitb34c40baa419291afec55dc4b0aecfd0df1a23ec (patch)
treeb052976d207f00ccfd874c631a8cf411d4a537f9 /unsorted
parentae8ef9ce48aecbd7dfcd0643fc32b41f0ff737ea (diff)
evas gl: update example code for better user understanding.
Diffstat (limited to 'unsorted')
-rw-r--r--unsorted/evas/evas-gl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unsorted/evas/evas-gl.c b/unsorted/evas/evas-gl.c
index 81601dc0..3694d3c9 100644
--- a/unsorted/evas/evas-gl.c
+++ b/unsorted/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