summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-12-01 19:49:30 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-12-01 20:04:58 +0900
commit7d7c17c22ac9e3115fd4b78507585dc9c43c3a22 (patch)
tree4393460389771a23a22dfdfa37e8729556da9ba5 /src/lib/evas/common
parent0891466d5f443ae94cdc9ab823dc499f6ad47ce6 (diff)
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.
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_scale_sample.c5
1 files changed, 5 insertions, 0 deletions
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)
868{ 868{
869 if (eina_cpu_count() <= 2) return ; 869 if (eina_cpu_count() <= 2) return ;
870 870
871//Eina_Thread_Queue doesn't work on WIN32.
872#ifdef _WIN32
873 return;
874#endif
875
871 thread_queue = eina_thread_queue_new(); 876 thread_queue = eina_thread_queue_new();
872 if (EINA_UNLIKELY(!thread_queue)) 877 if (EINA_UNLIKELY(!thread_queue))
873 { 878 {