Commit Graph

  • 880dc2d841 reuse curl handles Konstantin Käfer 2014-03-03 14:57:12 +01:00
  • e13b519745 we're not doing recursive locking Konstantin Käfer 2014-03-03 13:05:01 +01:00
  • f1f146b01e remove thread naming Konstantin Käfer 2014-03-03 13:01:09 +01:00
  • f850856cec move requests to global threadpool Konstantin Käfer 2014-03-03 12:55:32 +01:00
  • c076da0ae2 make threadpool implementation callback agnostic Konstantin Käfer 2014-03-03 12:26:04 +01:00
  • b26f3d319b add threadpool implementation Konstantin Käfer 2014-03-03 12:17:32 +01:00
  • e134e6a8f3 add threadpooled requests Konstantin Käfer 2014-03-02 11:26:54 +01:00
  • 7fdff4176b use atomics instead of mutexes Konstantin Käfer 2014-03-01 18:01:59 +01:00
  • bc1d6774c5 make linux downloads cancellable Konstantin Käfer 2014-03-01 17:52:59 +01:00
  • 6c58101b12 multithreaded curl for linux Konstantin Käfer 2014-03-01 13:05:13 +01:00
  • a31fab1e22 Merge pull request #76 from mapbox/tile-cancels Justin R. Miller 2014-02-28 15:26:16 -08:00
  • 5d7ff19994 fix compile Konstantin Käfer 2014-02-28 12:27:29 +01:00
  • 4e73a4d47c Merge branch 'master' into tessellation Konstantin Käfer 2014-02-28 12:25:45 +01:00
  • ae3bd04171 fix include Konstantin Käfer 2014-02-27 16:07:17 +01:00
  • eadafede08 use clipper and add missing vertices to avoid missing triangles Konstantin Käfer 2014-02-27 16:00:49 +01:00
  • 57dafc6d4c do not clear the stencil buffer Konstantin Käfer 2014-02-27 12:23:04 +01:00
  • 8d68bd73e7 draw a checkerboard stencil clipping mask initially Konstantin Käfer 2014-02-26 12:24:17 +01:00
  • 70ec13e302 fix compile error Konstantin Käfer 2014-02-26 10:48:12 +01:00
  • f87e21b6e8 Merge branch 'tessellation' into nostencil Konstantin Käfer 2014-02-26 10:44:09 +01:00
  • 0782cfc5be only log tile errors if not obsolete Justin R. Miller 2014-02-25 17:15:51 -08:00
  • 0afc5f6967 remove now-unnecessary tile references in platform Justin R. Miller 2014-02-25 16:42:14 -08:00
  • 8b0709a62c clean up response casts Justin R. Miller 2014-02-25 16:37:48 -08:00
  • 55b28aaf65 allow for cancellable request, track in tiles, and cancel when obsolete Justin R. Miller 2014-02-25 16:33:06 -08:00
  • 0406a82299 add tile state 'loaded' Justin R. Miller 2014-02-25 15:34:32 -08:00
  • 78ab66b06c rename tile state ready -> parsed Justin R. Miller 2014-02-25 15:26:12 -08:00
  • 060f1ce091 properly set 10.9 deploy again Justin R. Miller 2014-02-21 17:10:06 -08:00
  • 3232ecc94d Merge branch 'master' into tile-cancels Justin R. Miller 2014-02-21 16:36:15 -08:00
  • 675b8eb1fe refs #60: size POIs properly based on pixel ratio Justin R. Miller 2014-02-21 16:25:42 -08:00
  • 7a48e8ddce move to linear properties for POI opacity Justin R. Miller 2014-02-21 16:22:45 -08:00
  • b6d7169b83 refs #60: add support for point colorization & opacity Justin R. Miller 2014-02-21 16:00:55 -08:00
  • 495d47ab42 refs #60: add some more point styles Justin R. Miller 2014-02-21 16:00:01 -08:00
  • e59a5f1c1a Merge branch 'master' into tile-cancels Justin R. Miller 2014-02-21 14:18:48 -08:00
  • 32da0768b7 add missing include for size_t Konstantin Käfer 2014-02-21 13:12:31 +01:00
  • 54735ddd9e rename -osx project to -x86 Konstantin Käfer 2014-02-21 13:08:25 +01:00
  • e382cab17d make implicit type conversions explicit Konstantin Käfer 2014-02-21 13:08:13 +01:00
  • 4418f2d1c8 remove remnants of emscripten Konstantin Käfer 2014-02-21 12:34:39 +01:00
  • 5f64ecc3cc Merge branch 'master' into linux-wrapper Konstantin Käfer 2014-02-21 12:26:16 +01:00
  • 0306e77ff0 remove void* parameter from platform::restart() Konstantin Käfer 2014-02-21 12:18:11 +01:00
  • 1fb4451192 Merge pull request #68 from mapbox/poi-render Konstantin Käfer 2014-02-21 12:07:46 +01:00
  • bd2d865fc4 trigger a bogus mouse move event to interrupt glfwWaitEvents() Konstantin Käfer 2014-02-21 12:05:27 +01:00
  • d5c611d707 add timeouts for panning,scaling,rotating Konstantin Käfer 2014-02-21 11:31:24 +01:00
  • a9198570ea revert shader Konstantin Käfer 2014-02-21 10:41:22 +01:00
  • 49f9439b07 add image debugging Justin R. Miller 2014-02-20 15:53:46 -08:00
  • 9e762f91eb gl_pointCoord requires GL_POINT_SPRITE on OS X Justin R. Miller 2014-02-20 15:53:17 -08:00
  • cfbde82429 only post activity notification once after cancels Justin R. Miller 2014-02-20 00:16:54 -08:00
  • eac69ae30c move to cancellable tile-specific fetches on OS X Justin R. Miller 2014-02-19 23:13:20 -08:00
  • 536e0343c9 only post needs render notification on successful tiles Justin R. Miller 2014-02-19 17:33:22 -08:00
  • d94b8bbcec make use of new tile-specific fetches to allow cancellation Justin R. Miller 2014-02-19 23:09:48 -08:00
  • fded15dab0 add tile-specific platform HTTP request Justin R. Miller 2014-02-19 17:23:54 -08:00
  • 2bb6163f64 moves from NSURLConnection to NSURLSession on iOS Justin R. Miller 2014-02-19 18:38:05 -08:00
  • 66a2c994ac clean up platform comments Justin R. Miller 2014-02-19 17:23:22 -08:00
  • 1f2150fcd7 add argument clarity to platform::request_http declaration Justin R. Miller 2014-02-19 15:15:23 -08:00
  • 9fbe5b2ece properly deregister render observers Justin R. Miller 2014-02-19 14:51:46 -08:00
  • 0f2beb6992 refs #72: clarity around bg/fg functions Justin R. Miller 2014-02-19 12:45:05 -08:00
  • cfbb8e9f7d minor objc style stuff Justin R. Miller 2014-02-19 12:44:47 -08:00
  • 2989b456a4 properly make use of platform::restart on iOS Justin R. Miller 2014-02-19 12:41:57 -08:00
  • 3a5dbdb5cc iOS stylistic changes Justin R. Miller 2014-02-19 12:41:35 -08:00
  • 73f06b39bc fixes #72: clean up & make callbacks clearer Justin R. Miller 2014-02-19 12:41:15 -08:00
  • cbf96ba1c6 minor formatting Justin R. Miller 2014-02-19 12:27:23 -08:00
  • 7f5a674a91 add texture settings Konstantin Käfer 2014-02-19 18:14:42 +01:00
  • 9710fbef99 enable texture interpolation during rotating and scaling Konstantin Käfer 2014-02-19 15:39:44 +01:00
  • 2602774a9c bind texture 0 Konstantin Käfer 2014-02-19 14:48:54 +01:00
  • 06e23543cb don't use degenerate vertices Konstantin Käfer 2014-02-19 14:48:34 +01:00
  • 8880379b31 set the point size Konstantin Käfer 2014-02-19 14:47:58 +01:00
  • dcb6c2b787 calculate the proper pixelRatio Konstantin Käfer 2014-02-19 14:47:26 +01:00
  • 504b60b93e don't used element arrays Konstantin Käfer 2014-02-19 14:46:50 +01:00
  • 420e534306 fix stride to avoid bogus points at 0/0 Konstantin Käfer 2014-02-19 14:43:57 +01:00
  • ea80daa129 allow switching the vao if we switch the style from plain color to pattern fill Konstantin Käfer 2014-02-18 15:56:23 +01:00
  • baa4981c3b persist settings to /tmp/llmr-native.json Ansis Brammanis 2014-02-18 08:40:14 -05:00
  • 004ff9ea10 do not encode bogus indices Konstantin Käfer 2014-02-18 13:27:31 +01:00
  • c4313c25ae async http requests for linux wrapper Ansis Brammanis 2014-02-18 06:40:05 -05:00
  • 6a982b3934 render lines with the tessellated triangles Konstantin Käfer 2014-02-18 11:59:19 +01:00
  • 5e129c5f5a add lines Konstantin Käfer 2014-02-18 11:11:46 +01:00
  • f7485577e8 try to properly pass the c++ flags only for c++ files Konstantin Käfer 2014-02-17 18:21:58 +01:00
  • c0997961aa don't use std::string to hold the image Konstantin Käfer 2014-02-17 17:58:34 +01:00
  • 9fb05741d6 make sure that mapView is initialized before referencing into it Konstantin Käfer 2014-02-17 17:55:47 +01:00
  • fc29d2116b render the actual polygons instead of the stencil buffer Konstantin Käfer 2014-02-17 17:49:50 +01:00
  • 3843bf1ce5 better allocator defaults Konstantin Käfer 2014-02-17 16:35:12 +01:00
  • 9d89bc0909 first attempt at linux wrapper Ansis Brammanis 2014-02-17 06:13:18 -05:00
  • f83837d48a switch to cppflags, because c files can't take -std=c++11 Konstantin Käfer 2014-02-17 12:51:57 +01:00
  • b087c35c98 add tessellation library Konstantin Käfer 2014-02-17 12:45:57 +01:00
  • 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 Justin R. Miller 2014-02-14 18:13:12 -08:00
  • d1910f0e04 Merge branch 'master' of https://github.com/mapbox/llmr-native Konstantin Käfer 2014-02-14 11:27:46 +01:00
  • 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 Justin R. Miller 2014-02-13 16:24:00 -08:00
  • e08b318c59 better spacing in gyp conf Justin R. Miller 2014-02-13 15:53:02 -08:00
  • 4f9b0e2109 only run shader rebuild when files are changed Justin R. Miller 2014-02-13 15:48:18 -08:00
  • 1424634659 automatically build shaders during Xcode builds Justin R. Miller 2014-02-13 15:34:22 -08:00
  • f887025b1d add shader sources to project for easier editing Justin R. Miller 2014-02-13 15:24:39 -08:00
  • 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 Justin R. Miller 2014-02-13 12:21:35 -08:00
  • 62c79e05cd refs #43: rename render methods for clarity Justin R. Miller 2014-02-13 11:27:22 -08:00
  • 1c6e16c0bb s/view/mapView/ as on iOS for clarity Justin R. Miller 2014-02-13 10:53:49 -08:00
  • 6a6118f66b update iOS hardware target note Justin R. Miller 2014-02-13 09:03:45 -08:00
  • a868602069 use proper tile size Konstantin Käfer 2014-02-13 17:37:32 +01:00
  • b0357e8ea7 move tile size to constants.hpp Konstantin Käfer 2014-02-13 17:34:08 +01:00
  • 2f32d1585d make sure we don't encode the first vertex twice Konstantin Käfer 2014-02-13 17:19:49 +01:00
  • 1cab7f07bd remove all mentions of degenerate things Konstantin Käfer 2014-02-13 16:37:16 +01:00
  • 51f526dd6a remove addDegenerate() Konstantin Käfer 2014-02-13 16:36:30 +01:00
  • da06a52056 cut down on redundant gl uniform changes Konstantin Käfer 2014-02-13 16:21:51 +01:00
  • f5846e1ebb change line_strip drawing for outlines to indexed lines Konstantin Käfer 2014-02-13 15:32:25 +01:00
  • 54454ed66a optimizations + reorder vertex index Konstantin Käfer 2014-02-13 14:10:04 +01:00