Commit Graph

16768 Commits

Author SHA1 Message Date
Konstantin Käfer
420e534306 fix stride to avoid bogus points at 0/0 2014-02-19 14:43:57 +01:00
Konstantin Käfer
ea80daa129 allow switching the vao if we switch the style from plain color to pattern fill 2014-02-18 15:56:23 +01:00
Ansis Brammanis
baa4981c3b persist settings to /tmp/llmr-native.json 2014-02-18 08:40:14 -05:00
Konstantin Käfer
004ff9ea10 do not encode bogus indices 2014-02-18 13:27:31 +01:00
Ansis Brammanis
c4313c25ae async http requests for linux wrapper 2014-02-18 06:40:05 -05:00
Konstantin Käfer
6a982b3934 render lines with the tessellated triangles 2014-02-18 11:59:19 +01:00
Konstantin Käfer
5e129c5f5a add lines 2014-02-18 11:11:46 +01:00
Konstantin Käfer
f7485577e8 try to properly pass the c++ flags only for c++ files 2014-02-17 18:21:58 +01:00
Konstantin Käfer
c0997961aa don't use std::string to hold the image 2014-02-17 17:58:34 +01:00
Konstantin Käfer
9fb05741d6 make sure that mapView is initialized before referencing into it 2014-02-17 17:55:47 +01:00
Konstantin Käfer
fc29d2116b render the actual polygons instead of the stencil buffer 2014-02-17 17:49:50 +01:00
Konstantin Käfer
3843bf1ce5 better allocator defaults 2014-02-17 16:35:12 +01:00
Ansis Brammanis
9d89bc0909 first attempt at linux wrapper 2014-02-17 10:27:31 -05:00
Konstantin Käfer
f83837d48a switch to cppflags, because c files can't take -std=c++11 2014-02-17 12:51:57 +01:00
Konstantin Käfer
b087c35c98 add tessellation library 2014-02-17 12:45:57 +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
d1910f0e04 Merge branch 'master' of https://github.com/mapbox/llmr-native 2014-02-14 11:27:46 +01:00
Justin R. Miller
4ff01fb07f allow for easier editing of style in Xcode
* write protobuf directly to file instead of stdout (for Gyp)
 * add style.js to editable sources
 * add build phases for pbf conversion & resources updates
 * update README style directions
2014-02-13 16:24:00 -08:00
Justin R. Miller
e08b318c59 better spacing in gyp conf 2014-02-13 15:53:02 -08:00
Justin R. Miller
4f9b0e2109 only run shader rebuild when files are changed 2014-02-13 15:48:18 -08:00
Justin R. Miller
1424634659 automatically build shaders during Xcode builds 2014-02-13 15:34:22 -08:00
Justin R. Miller
f887025b1d add shader sources to project for easier editing 2014-02-13 15:24:39 -08:00
Justin R. Miller
257ccd16bb clean up settings mechanism (fixes #9 & #62)
* init, load, persist, sync, clear
 * clean up frequent disk syncs which impacted iOS performance
 * insert disk sync into various iOS/OS X lifecycle events
 * implement clear
 * implement save on iOS
 * cleaner dictionary syntax
2014-02-13 12:21:35 -08:00
Justin R. Miller
62c79e05cd refs #43: rename render methods for clarity 2014-02-13 11:27:22 -08:00
Justin R. Miller
1c6e16c0bb s/view/mapView/ as on iOS for clarity 2014-02-13 10:53:49 -08:00
Justin R. Miller
6a6118f66b update iOS hardware target note 2014-02-13 09:03:45 -08:00
Konstantin Käfer
a868602069 use proper tile size 2014-02-13 17:37:32 +01:00
Konstantin Käfer
b0357e8ea7 move tile size to constants.hpp 2014-02-13 17:34:08 +01:00
Konstantin Käfer
2f32d1585d make sure we don't encode the first vertex twice 2014-02-13 17:19:49 +01:00
Konstantin Käfer
1cab7f07bd remove all mentions of degenerate things 2014-02-13 16:37:16 +01:00
Konstantin Käfer
51f526dd6a remove addDegenerate() 2014-02-13 16:36:30 +01:00
Konstantin Käfer
da06a52056 cut down on redundant gl uniform changes 2014-02-13 16:21:51 +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
1a05832a93 Merge branch 'master' of https://github.com/mapbox/llmr-native 2014-02-13 12:15:27 +01:00
Konstantin Käfer
565a23785c remove unused functions and run http_request in other operation queue 2014-02-13 12:15:01 +01:00
artemp
0fa33dc025 Merge remote-tracking branch 'origin/variant' into variant 2014-02-13 09:21:25 +00:00
Dane Springmeyer
7fbb33b5de remove boost from readme and build system 2014-02-12 13:15:09 -08:00
artemp
db0e83fbbd Merge branch 'master' into variant 2014-02-12 20:59:33 +00:00
Dane Springmeyer
359a35e60f Merge branch 'master' of github.com:mapbox/llmr-native into variant 2014-02-12 12:51:58 -08:00
Justin R. Miller
0005ca4eef fixes #57: flesh out remainder of getters & setters plus animation 2014-02-12 11:20:21 -08:00
artemp
0939acca30 custom variant type (replaces boost::variant and removes boost dependency altogether) 2014-02-12 14:32:54 +00:00
Konstantin Käfer
b78df1903a Merge branch 'indexed-lines' 2014-02-12 11:15:11 +01:00
Konstantin Käfer
4638add04b Merge pull request #55 from mapbox/common-buffer
Create a common buffer implementation
2014-02-12 11:14:34 +01:00
Konstantin Käfer
369beb08c5 add rule for just making project 2014-02-12 11:13:48 +01:00
Konstantin Käfer
02f2dea807 get point shader to work on ios 2014-02-11 17:58:33 +01:00
Konstantin Käfer
f0a945a45c add rule for just making project 2014-02-11 17:58:16 +01:00
Konstantin Käfer
4cf48e08a5 Merge branch 'master' into indexed-lines 2014-02-11 17:35:36 +01:00
Konstantin Käfer
662a61a396 split line vertices into multiple buffer groups if elements overflow 2014-02-11 17:34:46 +01:00
Konstantin Käfer
eb8e5fcf15 move group struct to shared file 2014-02-11 16:00:40 +01:00