Commit Graph

39 Commits

Author SHA1 Message Date
Konstantin Käfer
4ad3a1ee76 Merge branch 'master' into blur
Conflicts:
	src/shader/shaders_gl.cpp
	src/shader/shaders_gles2.cpp
2014-05-26 17:30:31 +02:00
Konstantin Käfer
b6561dd342 increase http timeout 2014-05-26 10:59:15 +02:00
Justin R. Miller
661860d12f foundations of delegate/callback API 2014-05-23 18:32:55 -07:00
Konstantin Käfer
53a6992728 fix alpha blending + add depth/stencil buffers 2014-05-21 18:34:41 +02:00
Ansis Brammanis
4a0015c5ab shift dblclick zooms out 2014-05-20 16:26:14 -04:00
Konstantin Käfer
92706445d9 init glfw for debug images + actually copy images over 2014-05-19 14:21:15 +02:00
Konstantin Käfer
898c6d6714 fix for retina screens 2014-05-19 11:13:22 +02:00
Konstantin Käfer
13575330f7 use sprite atlas 2014-05-19 10:48:36 +02:00
Konstantin Käfer
b167a79c22 always use std:: namespace for math functions
fixes #201
2014-05-14 16:40:24 +02:00
Justin R. Miller
4833689c74 we no longer use this notification 2014-05-01 11:26:59 -07:00
Konstantin Käfer
9bbdba9eab remove concept of settings object from library 2014-04-30 13:47:03 +02:00
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