commit e8fcc41e40dee07d062bff51636e464ff9d98215 38/87938/2
authorHermet Park <hermet@hermet.pe.kr>
Mon, 12 Sep 2016 08:10:25 +0000 (17:10 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 19 Sep 2016 05:56:51 +0000 (22:56 -0700)
commit34ea3b18b558a0352a81573bb464b9b61e932e91
tree4762b87124cc3c2e75566649f084b8de04c2cdd3
parent72b897929b7daebccbfbb19f2ede03a9cc55b705
commit e8fcc41e40dee07d062bff51636e464ff9d98215
Author: Hermet Park <hermet@hermet.pe.kr>
Date:   Mon Sep 12 16:50:00 2016 +0900

    evas map: fix the rendering problem.

    I got an issue report about map rendering.
    After investigated, I found that was introduced by data overflow.

    For fast computation, evas map uses integer data type rather than float,
    that gives up some range of data size.

    So, if vertex range is a little large but still reasonable,
    polygon won'be properly displayed due to the integer overflow.

    We can fix this by changing FPc data type to 64 bits (ie, long long)
    But I didn't do yet though I can simply fix this costlessly.

    By the way, my test case map points are below.

    0: -1715, -5499
    1: -83, -1011
    2: 1957, 5721
    3: 325, 1233

    and gl result is perfect but sw is totally broken.

    @fix

Change-Id: I04c1f61556c67553486588cc7a59c83b96371cd8
src/lib/evas/common/evas_map_image.c