summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-06-24 11:41:32 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-06-24 12:04:18 +0900
commitd06a0982ef3d156059b2264d4494e036cbe409ee (patch)
tree2895f26d9a65fd81045601505d650b8e2034b79a /src/lib/evas/include
parent8e3d94d66130f16cec0d518a0ad6ec5fae04fec9 (diff)
evas: add support for asynchronously uploading GL texture.
NOTE: when using Evas_Object image preload infrastructure the GL texture upload was uploaded from the main loop during the rendering stage. This could lead to some frame drop during fast animation due to the time needed to upload that texture. This patch fix this problem by uploading a small texture quickly (16x16) and waiting for going back to the main loop to be able to use the same GL context from another thread to do the texture upload asynchronously without blocking the main loop.
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_common_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 1a3c10c086..f051a72a0a 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -519,6 +519,8 @@ struct _Image_Entry_Flags
519 Eina_Bool rotated : 1; 519 Eina_Bool rotated : 1;
520 Eina_Bool unload_cancel : 1; 520 Eina_Bool unload_cancel : 1;
521 Eina_Bool given_mmap : 1; 521 Eina_Bool given_mmap : 1;
522
523 Eina_Bool updated_data : 1;
522}; 524};
523 525
524struct _Image_Entry_Frame 526struct _Image_Entry_Frame