evas sw render: fix previous thread fix to be portable
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 1 Apr 2016 02:29:50 +0000 (11:29 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 1 Apr 2016 02:29:50 +0000 (11:29 +0900)
commit7166e6b85994b19a29f05c9e2b6d75a314a3cb91
tree3e86bef1b03ae8ad58828aa282c7cc016654d93b
parent13ecefe6700cdafae1b07231774f93429067f7e3
evas sw render: fix previous thread fix to be portable

this fixes the fix 4d6a8a7fce51b5654404226668a27d52d1e30eb3 to be
portable to platfomrs that do not support __thread - seemingly openbsd
does not (argh!) and maybe others. so on these platforms then they
dont get the optimization of keeping a cutout rect pool to avoid
re-allocation.

this also every 4096 draws "resets" the cutout cache so it doesnt
expand and stay expanded forever.

@fix
src/lib/evas/common/evas_font_draw.c
src/lib/evas/common/evas_map_image.c
src/lib/evas/common/evas_rectangle_main.c
src/lib/evas/common/evas_scale_main.c