Commit graph

252 commits

Author SHA1 Message Date
rachytski
6717f0bbcf added Tile, Tiler and TileCache classes. implemented tile priority sorting predicate to determine the order in which tiles are rendered. 2015-09-22 15:20:11 -07:00
rachytski
495060a1cd refactored ResourceManager to use ObjectPool for multi-threaded accessible resources. 2015-09-22 15:20:10 -07:00
rachytski
ffabf8bc74 added data/benchmarks directory to contain benchmark related info and results. 2015-09-22 15:20:09 -07:00
vng
ca8da14326 Move settings.* from map to platform. 2015-09-22 15:19:57 -07:00
vng
6cdbf3f05d Remove TimeInSec from Platform. We have my::Timer cross platform class. 2015-09-22 15:19:56 -07:00
Yury Melnichek
4b21f08765 [search] Match names of categories from categories.txt 2015-09-22 15:19:51 -07:00
rachytski
60a19bb651 added SymbolElement to InfoLayer 2015-09-22 15:19:44 -07:00
rachytski
0a755e1b9b fixed trash-texture upon application start. 2015-09-22 15:19:44 -07:00
rachytski
9b177a7c73 restored "frozen" text rendering logic. 2015-09-22 15:19:40 -07:00
Yury Melnichek
ae395403a3 [ios] Fix compilation. 2015-09-22 15:19:40 -07:00
vng
ed2113e6cf Minor code fixes. 2015-09-22 15:19:39 -07:00
rachytski
33cc10e8a1 moved InfoLayer rendering from main thread to render thread. 2015-09-22 15:19:38 -07:00
rachytski
01de4ae2f3 removed static font usage. refactored text rendering code to use separate glyph caches for rendering in different threads. 2015-09-22 15:19:38 -07:00
rachytski
9e73efd602 introduced separate information layer class, which will perform all POI and Text layout. 2015-09-22 15:19:37 -07:00
rachytski
a081d2e5c2 correct MWM enumeration code in benchmark mode. 2015-09-22 15:19:36 -07:00
vng
07e2ec1478 Fix compilation on msvc. 2015-09-22 15:19:36 -07:00
Alex Zolotarev
a03961d097 Refactored wstring to UniString 2015-09-22 15:19:34 -07:00
Alex Zolotarev
3496cc6990 [android] Fixes for static lib toolchain support 2015-09-22 15:19:32 -07:00
Alex Zolotarev
e130439f75 Changed language code type from char to int8_t 2015-09-22 15:19:30 -07:00
Alex Zolotarev
0f6d524681 [ios] Compilation fix by SR 2015-09-22 15:19:28 -07:00
vng
250a681ef4 Add "System of measurement".
Use this settings in search distance.
2015-09-22 15:19:27 -07:00
vng
7f26143b2c Warning fix. 2015-09-22 15:19:27 -07:00
vng
1f90697f1a Make smooth scale control. 2015-09-22 15:19:26 -07:00
vng
2ac332749e Correct Framework::ShowRect with minimal possible rect. 2015-09-22 15:19:25 -07:00
rachytski
52f4b4a3c8 after-merge compilation fixes. 2015-09-22 15:19:24 -07:00
rachytski
0a19c9d3f8 optimized kerning and axis-aligned bound rect calculation for drawPathText. 2015-09-22 15:19:23 -07:00
rachytski
36d13856f5 much better drawPathText implementation. 2015-09-22 15:19:23 -07:00
rachytski
16ebd8b12c refactored all text rendering using TextElement subclasses. 2015-09-22 15:19:22 -07:00
rachytski
5b0d77fcfa moved path text filtering into TextRenderer 2015-09-22 15:19:22 -07:00
rachytski
76880dbdf5 PathTextElement and StraightTextElement implementation. 2015-09-22 15:19:21 -07:00
vng
a3d2aa94ef Take into account path's offset when drawing. 2015-09-22 15:19:20 -07:00
vng
409f1a4384 Don't draw number for roads with visible name. 2015-09-22 15:19:19 -07:00
vng
c68213d9a2 Correct duplicating rules filtration. 2015-09-22 15:19:18 -07:00
Alex Zolotarev
8a2a20b6d7 @TODO use search categories holder in the search engine 2015-09-22 15:19:17 -07:00
vng
2a0ee15fca Fix AV on exit. 2015-09-22 15:19:13 -07:00
Yury Melnichek
21c7b3035b [search] Implement query termination. Make search slow to test it :) 2015-09-22 15:19:10 -07:00
vng
22c864c35c Draw tunnels transparent:
- set special layer flag when generating;
 - add additional id (transparent) for drawing rule;
2015-09-22 15:19:06 -07:00
Alex Zolotarev
1d3595149e Warning fixes 2015-09-22 15:19:05 -07:00
vng
a2a53df74d Draw road's number. 2015-09-22 15:19:00 -07:00
vng
23545cbab5 Fix uninitialized variable. 2015-09-22 15:19:00 -07:00
Alex Zolotarev
a64b3355df Get user preferred languages on 1st startup and use them for text dislpaying
@TODO windows implementation
2015-09-22 15:18:53 -07:00
Yury Melnichek
84460217ee [search] Introduce different types of results. 2015-09-22 15:18:49 -07:00
vng
4624371bc4 Better GetPopulationRank routine. 2015-09-22 15:18:45 -07:00
Alex Zolotarev
1da1ecf3b6 Rewrote logic for maps adding. First, we read all maps from resources,
next, replace existing maps from writable data path
2015-09-22 15:18:44 -07:00
vng
90886f0e12 - Don't store names for features with invisible texts.
- Try to make better rank for drawing text font.
2015-09-22 15:18:38 -07:00
Alex Zolotarev
1392ed923e Fixes to framework::ShowRect()
@TODO: Remove magic
2015-09-22 15:18:30 -07:00
Alex Zolotarev
3087191d84 Renamed benchmark.txt because all txt files are included into production builds 2015-09-22 15:18:28 -07:00
Yury Melnichek
cce07a6ae2 Fix bugs in drawing ruler in InformationDisplay. 2015-09-22 15:18:23 -07:00
Yury Melnichek
1982758732 [search] Introduce IntermediateResult. 2015-09-22 15:18:15 -07:00
rachytski
95cfc9234d drawing center point as "lat, lon" instead of "lon, lat". closes #270 2015-09-22 15:18:12 -07:00