Commit Graph

28 Commits

Author SHA1 Message Date
Konstantin Käfer
f683cbf02a hide atomic flags as implementation detail 2014-04-30 12:29:50 +02:00
Konstantin Käfer
1216a061d3 move to libuv for the rendering loop 2014-04-30 12:01:26 +02:00
Konstantin Käfer
666f593803 use an event loop per map that is not the render thread 2014-04-25 14:26:59 +02:00
Konstantin Käfer
a0d935eac7 unify request object to use uv_queue_work for both corefoundation + curl 2014-04-24 17:39:19 +02:00
Justin R. Miller
a991802318 ensure UI thread safety 2014-04-22 15:10:29 -07:00
Justin R. Miller
a3bcb3142f properly pass boolean 2014-04-22 15:04:31 -07:00
Justin R. Miller
caff9011ed safer name for parsing queue 2014-04-22 15:04:17 -07:00
Konstantin Käfer
cf5fefca20 add missing header on linux 2014-04-22 08:11:52 -07:00
Konstantin Käfer
1ecff57829 use libuv event loop in the glfw view
Integrates libuv's default loop with GLFW's glfwWaitEvents() call. See https://github.com/joyent/libuv/issues/1246 for more details on integrating event loops.

fixes #149
2014-04-22 16:54:55 +02:00
Konstantin Käfer
7e3f374bd4 Merge branch 'master' of github.com:mapbox/llmr-native 2014-04-16 15:41:33 -04:00
Konstantin Käfer
70742c7a61 add libcurl loading 2014-04-16 15:41:19 -04:00
Konstantin Käfer
73b26f0a93 fix include order 2014-04-16 08:40:22 -07:00
Konstantin Käfer
a807ace3c1 rename to glfw_view.cpp/hpp 2014-04-16 11:10:54 -04:00
Konstantin Käfer
797f590cfb cleanup + unused arguments 2014-04-16 10:55:06 -04:00
Konstantin Käfer
1b922e3a34 remove start_x/y variables, they're unused 2014-04-16 10:46:52 -04:00
Konstantin Käfer
70bb318e75 update activity indicator on ios 2014-04-15 11:27:37 -04:00
Konstantin Käfer
79d34115d0 make processing more parallel
restores 669b342332
2014-04-15 11:06:29 -04:00
Konstantin Käfer
ab66ab39e6 make sure we trigger an update after resizing 2014-04-15 10:44:11 -04:00
Konstantin Käfer
313be97b21 animate double click zooming 2014-04-14 19:33:05 -04:00
Konstantin Käfer
2e86f2582f fix api 2014-04-14 18:58:33 -04:00
Konstantin Käfer
f18aa61e33 derive from GLKViewController
this handles resizing the view/framebuffer much better

fixes #130, #131, #133, #118
2014-04-14 18:50:17 -04:00
Konstantin Käfer
305e688a3a clean up os x + ios request code
fixes #129
2014-04-14 11:47:57 -04:00
Konstantin Käfer
d2ba7eccdd update API 2014-04-11 10:19:59 -04:00
Konstantin Käfer
f6ee93e96d no need to call separate function 2014-04-09 18:21:24 -04:00
Konstantin Käfer
f24fe2bbab toggle raster with R and reset with X 2014-03-26 12:24:51 +01:00
Konstantin Käfer
84ea95988c fix glyph debug image on retina 2014-03-24 15:12:30 +01:00
Konstantin Käfer
3c5bac0f6b add debug window showing the glyph atlas 2014-03-14 12:43:42 +01:00
Konstantin Käfer
bdfa761c39 remove code duplication between osx/glfw and linux/glfw programs 2014-03-14 11:33:45 +01:00