[Bug 28604] 2gis laggy map redraw

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 13 10:53:17 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=28604

--- Comment #7 from Yuri Khan <yurivkhan at gmail.com> 2011-11-13 10:53:17 CST ---
OK, some more accurate statistics.

On my machine, on a fresh start, 2gis draws about 20000 lines, each on average
being 16px long (for a total of 322000 pixels). This takes 135 seconds
(measured by adding up the differences of GetTickCount() at start and end of
bres_line_with_bias). Dividing, we get average speed of 2380 pixels per second
on this Core2 Duo E6850 @ 3GHz, which doesn’t exactly strike me as reasonable
line drawing performance.

Next I’m going to dump this as MoveTo/LineTo calls and compare the performance
on Windows vs Wine.

Also, I tried to restructure the algorithm to reduce the number of calls to
solid_rects, by consolidating sequential pixels with the same Y coordinate into
a single rect, and this didn’t have any effect on the performance.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list