From 7d7c17c22ac9e3115fd4b78507585dc9c43c3a22 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 1 Dec 2016 19:49:30 +0900 Subject: 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. --- src/lib/evas/common/evas_scale_sample.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c index 400f645d93..55cfbe4bd8 100644 --- a/src/lib/evas/common/evas_scale_sample.c +++ b/src/lib/evas/common/evas_scale_sample.c @@ -868,6 +868,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(); if (EINA_UNLIKELY(!thread_queue)) { -- cgit v1.2.1