From: Hermet Park Date: Thu, 1 Dec 2016 11:07:35 +0000 (+0900) Subject: Cherry-pick this patch from upstream. X-Git-Tag: accepted/tizen/common/20170102.152350~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=361b27ded8ca9b09df8bcf534a1f5e651eabbaf0;p=platform%2Fupstream%2Fefl.git Cherry-pick this patch from upstream. http://git.enlightenment.org/core/efl.git/commit/?id=7d7c17c22ac9e3115fd4b78507585dc9c43c3a22 commit 7d7c17c22ac9e3115fd4b78507585dc9c43c3a22 Author: Hermet Park Date: Thu Dec 1 19:49:30 2016 +0900 evas common: disable thread_queue feature on win32. We have an issue that eina_thread_queue msg isn't delivered properly on win32. That occurs broken image drawing in case of non-smooth scaling. I disabled this feature on win32 because scale_sample_draw is gonna be rarely used since async rendering introduced. Change-Id: I881eed81af443c3fb633a2b6b72ea6cb33050752 --- diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c index 8f61e09..0b0a9b4 100644 --- a/src/lib/evas/common/evas_scale_sample.c +++ b/src/lib/evas/common/evas_scale_sample.c @@ -876,6 +876,11 @@ evas_common_scale_sample_init(void) { if (eina_cpu_count() <= 2) return ; +//Eina_Thread_Queue doesn't work on WIN32. +#ifdef _WIN32 + return; +#endif + thread_queue = eina_thread_queue_new(); main_queue = eina_thread_queue_new();