Commit Graph

42 Commits

Author SHA1 Message Date
Konstantin Käfer
b167a79c22 always use std:: namespace for math functions
fixes #201
2014-05-14 16:40:24 +02:00
Konstantin Käfer
25e2d8504b debug changes 2014-03-25 12:24:56 +01:00
Konstantin Käfer
3a9a904378 reorder vertices 2014-03-25 12:14:33 +01:00
Konstantin Käfer
d5b4c1162d add shader optimizer and reorder components 2014-03-25 12:10:19 +01:00
Konstantin Käfer
8b573f9fa2 fix glyphs that have no pixels but an advance (e.g. spaces) 2014-03-24 15:19:39 +01:00
Konstantin Käfer
4ee0cf1791 port remainder of the the placement algorithm 2014-03-19 18:58:50 +01:00
Konstantin Käfer
3c5bac0f6b add debug window showing the glyph atlas 2014-03-14 12:43:42 +01:00
Konstantin Käfer
be44b6b31f add glyph atlas to map 2014-03-14 11:36:10 +01:00
Konstantin Käfer
117078270d add text buffer code 2014-03-14 11:36:10 +01:00
Konstantin Käfer
f0b821dff9 add glyph atlas class 2014-03-14 11:36:09 +01:00
Konstantin Käfer
e382cab17d make implicit type conversions explicit 2014-02-21 13:08:13 +01:00
Justin R. Miller
828d8ba26f refs #60: first cut of POI rendering
* add basic marker style to stylesheet
 * pass through marker style to PBF conversion
 * marker/point tile parsing, bucket, buffer, shaders, etc.
 * new sprite hosting for 1x/2x variants
 * sprite load accepts screen scale argument
2014-02-14 18:13:12 -08:00
Konstantin Käfer
51f526dd6a remove addDegenerate() 2014-02-13 16:36:30 +01:00
Konstantin Käfer
f5846e1ebb change line_strip drawing for outlines to indexed lines 2014-02-13 15:32:25 +01:00
Konstantin Käfer
54454ed66a optimizations + reorder vertex index 2014-02-13 14:10:04 +01:00
Konstantin Käfer
bec0ad10c4 drawing lines with triangles 2014-02-11 15:51:54 +01:00
Konstantin Käfer
f4996046a2 common buffer implementation 2014-02-10 15:14:52 +01:00
Konstantin Käfer
9553bfa159 revert back to 32767 2014-02-06 15:29:23 +01:00
Konstantin Käfer
33beb081f5 Merge branch 'master' of https://github.com/mapbox/llmr-native
Conflicts:
	src/geometry/debug_font.cpp
2014-02-06 15:14:51 +01:00
artemp
2d3abf36b1 c++
* prefer prefix increment operator unless logically necessary
  (it doesn't make any diff foro built-in type but good practice)
2014-02-06 10:50:31 +00:00
artemp
a8fef83564 c++
* use nullptr instead of NULL
2014-02-06 10:39:10 +00:00
artemp
d6654ccaed c++
* fix typedef's
* fix virtual dtor's
* make ctor's with one argument explicit
* util::noncopyable utility class  ( class my_object : private noncopyable {} )
* update kTileURL
2014-02-06 10:33:46 +00:00
Konstantin Käfer
ed4072bdd1 skip unknown glyphs 2014-02-06 09:47:12 +01:00
Konstantin Käfer
64b072a08e make debug font const 2014-02-06 09:45:14 +01:00
Konstantin Käfer
e30d8eb48f move to vertex array objects 2014-02-05 18:06:16 +01:00
Konstantin Käfer
1295ebc705 Merge branch 'master' of https://github.com/mapbox/llmr-native 2014-02-03 23:22:35 +01:00
Konstantin Käfer
82c79b7bda remove c99 features
fixes #26
2014-02-03 23:21:50 +01:00
Dane Springmeyer
f1e74215fd compile fixes on ubuntu precise/g++-4.8 - refs #27 2014-02-03 21:57:46 +00:00
Konstantin Käfer
2b59dfae63 move static global buffers to RAII 2014-01-29 15:31:22 +01:00
Konstantin Käfer
80ec5742b5 don't use alias 2014-01-29 12:55:59 +01:00
Konstantin Käfer
d5cae14770 parse line width function and call tile destructor from main thread 2014-01-29 12:25:50 +01:00
Konstantin Käfer
04e16cf2ca make line drawing work 2014-01-29 11:12:09 +01:00
Konstantin Käfer
edf2a532af add LineBuffer and change DebugFontBuffer naming 2014-01-28 11:47:21 +01:00
Konstantin Käfer
50021b730c move to layer system 2014-01-23 14:20:22 +01:00
Konstantin Käfer
1ad5970a00 render shapes, but only the first one is drawn? 2014-01-22 18:07:30 +01:00
Konstantin Käfer
0f74a4bc90 fill drawing 2014-01-22 16:43:05 +01:00
Konstantin Käfer
7983b968d7 move debug font to separate file 2014-01-21 18:02:25 +01:00
Konstantin Käfer
96dacecd6e show tile numbers 2014-01-16 16:28:07 +01:00
Konstantin Käfer
60a8fdca57 fix runtime errors 2014-01-14 16:29:20 +01:00
Konstantin Käfer
528eaf475e emscripten support 2014-01-07 16:52:23 +01:00
Konstantin Käfer
044a7b5dcd add missing file 2014-01-07 12:51:38 +01:00
Konstantin Käfer
44b43fe5a6 glfw version of sample app 2014-01-07 12:10:14 +01:00