Commit graph

107 commits

Author SHA1 Message Date
rachytski
7e9f6f11b5 fixes parasite data rendering (p.e. ruler from the main thread) on the model surface due to an error in vertex buffer memory synchronization. 2015-09-22 15:13:10 -07:00
rachytski
1fdbf36a02 fixed trash-texture-upon-first-redraw and crash-at-resize bug. 2015-09-22 15:13:08 -07:00
rachytski
c6f83b6bd2 drawRectangle, addTexturedStrip implementation. 2015-09-22 15:13:07 -07:00
rachytski
758a3b3748 saving surface content on resize. fixes redraw after landscape/portrait orientation change. 2015-09-22 15:13:06 -07:00
Alex Zolotarev
2a0b7c51aa Fixed compilation warnings 2015-09-22 15:13:02 -07:00
rachytski
f99024f2d2 fixed lags on synchronization between GUI thread and rendering thread on periodial blitting. 2015-09-22 15:12:54 -07:00
rachytski
ba54208a43 maximizing stipple pen period 2015-09-22 15:12:51 -07:00
rachytski
9b48dd5051 minor fixes. 2015-09-22 15:12:50 -07:00
rachytski
08a1d43923 implementing visual log. see IPlatform::IsVisualLog and InformationDisplay for details. 2015-09-22 15:12:38 -07:00
rachytski
6b62bd84d5 fine tuning maximum pen period. 2015-09-22 15:12:37 -07:00
rachytski
2006a48a25 repeating pen pattern up to some reasonable width to lower the amount of generated geometry. 2015-09-22 15:12:36 -07:00
rachytski
edc1e07cf2 switching on/off different parts of rendering pipeline. statistics collection code. 2015-09-22 15:12:36 -07:00
rachytski
d778e137bf reducing the amount of geometry sent to GPU. 2015-09-22 15:12:35 -07:00
vng
156f96b958 Fix RT_TRAITS; Fix warnings. 2015-09-22 15:12:35 -07:00
rachytski
ae0913bb3f code for geometry_batcher debugging. 2015-09-22 15:12:34 -07:00
rachytski
c38250ef63 some tuning of rendertargets formats to avoid color conversion artefacts. 2015-09-22 15:12:33 -07:00
rachytski
2d04c73071 using RGB565 instead of RGBA8888 for render targets and renderbuffers to save memory. 2015-09-22 15:12:32 -07:00
rachytski
93d8cda981 using RGB565 instead of RGBA8888 for render targets and renderbuffers to save memory. 2015-09-22 15:12:32 -07:00
rachytski
0aa0d5ea16 potentially fixes "gray rects" 2015-09-22 15:12:31 -07:00
vng
522e11336d Remove 'm_isMasked' : it's not a good criterion for texts filtering. 2015-09-22 15:12:30 -07:00
Alex Zolotarev
77c1a74a56 [VS2008] Fixed build error 2015-09-22 15:12:26 -07:00
rachytski
8203289a3b flushing text tree upon updateActualTarget. 2015-09-22 15:12:23 -07:00
rachytski
2c6b2bcc36 enterBackground/enterForeground/memoryWarning infrastructure. 2015-09-22 15:12:20 -07:00
rachytski
7881093146 taking "font outline" into account while calculating text priority. 2015-09-22 15:12:06 -07:00
rachytski
35963c1c07 drawing POI's at top of everything 2015-09-22 15:12:04 -07:00
rachytski
fc19e9634a commented out glyph_cache logging 2015-09-22 15:12:03 -07:00
rachytski
000fa53a47 drawing circles with maximum depth. 2015-09-22 15:11:57 -07:00
rachytski
b0fa5e0ef0 timer-based periodical updates. 2015-09-22 15:11:56 -07:00
rachytski
0a959f13b7 drawing texts without clipping them on frame borders. 2015-09-22 15:11:52 -07:00
vng
c586b14438 Fix CircleRule generation.
Fix DrawerYG::drawCircle.
2015-09-22 15:11:50 -07:00
rachytski
194b44b871 tests for CircleRule rendering. 2015-09-22 15:11:44 -07:00
rachytski
43187d759f tests for CircleRule rendering. 2015-09-22 15:11:44 -07:00
rachytski
b8eb699ad3 CircleRule rendering. colors should be fixed at classificator. 2015-09-22 15:11:43 -07:00
rachytski
8df85096ba agg::rgba4444_blender channel order fixes. 2015-09-22 15:11:43 -07:00
vng
197bb2c3ad Fix compilation on msvc. Fix runtume errors on Windows. 2015-09-22 15:11:40 -07:00
rachytski
7a32dcf5c8 code for CircleRule rendering. 2015-09-22 15:11:39 -07:00
rachytski
3c96bb7da6 packing all line styles for a single path on the same texture to avoid "black" roads. 2015-09-22 15:11:34 -07:00
rachytski
c25de88fed text-like symbol filtering. filters symbols with the same name, so they doesn't overlap each other. symbols with different names *can* overlap. 2015-09-22 15:11:32 -07:00
rachytski
a0d22c5a8f added support for text colors. refactored text_renderer. 2015-09-22 15:11:31 -07:00
rachytski
116019f522 added fine tuning for font matching. 2015-09-22 15:11:26 -07:00
rachytski
99ab5b5443 added per-unicode-block font support. much less "unknown symbols" are drawn. 2015-09-22 15:11:25 -07:00
rachytski
aba28f101e refactored textRect to work with fixed font. crash at startup fixed. 2015-09-22 15:11:10 -07:00
rachytski
f5c67f500f "God's Rainbow" Fixes 2015-09-22 15:11:04 -07:00
rachytski
d4182c31a2 Trash-Texture on empty model. 2015-09-22 15:10:56 -07:00
rachytski
db268385ee Crash on text texture overflow. 2015-09-22 15:10:55 -07:00
vng
9520a1cd23 Fix many conversion...
- signed-unsigned
- possible loss of data
... warnings.
2015-09-22 15:10:51 -07:00
vng
cce5167a93 Fix compile error 2015-09-22 15:10:51 -07:00
vng
202788ffe3 Process errors in getting OpenGL function pointers (windows). 2015-09-22 15:10:50 -07:00
rachytski
0919989bf1 fixed hasRoom for solid line style. 2015-09-22 15:10:13 -07:00
rachytski
f69571c354 symbol position as a parameter in drawPoint function. plenty of warnings cleanups. 2015-09-22 15:10:12 -07:00