Leith Bade
127600ef8c
Fix unused param
2014-12-10 22:23:53 +11:00
Leith Bade
08b07c30a7
Reduce GL log spew
2014-12-10 22:15:41 +11:00
Leith Bade
0808485453
Use CHECK_ERROR on every GL call
2014-12-10 21:57:34 +11:00
Mike Morris
392150dd48
Merge pull request #707 from mapbox/start-group
...
wrap mbgl-core and mbgl-linux in -Wl,--start-group/-Wl,--end-group
2014-12-09 12:11:12 -05:00
Mike Morris
538120bb7f
wrap mbgl-core and mbgl-linux in -Wl,--start-group/-Wl,--end-group
2014-12-09 12:09:22 -05:00
Konstantin Käfer
bb0e57b838
Merge pull request #708 from mapbox/headless-tidy
...
Tidy up HeadlessView
2014-12-09 15:08:21 +01:00
Konstantin Käfer
5ccc988ff7
fix typo
2014-12-09 14:55:32 +01:00
Konstantin Käfer
90ac844d7e
Merge pull request #709 from mapbox/version-header-only
...
Include version symbols only in mbgl-core library
2014-12-09 14:54:17 +01:00
Konstantin Käfer
753b6eedd6
also install the version header
2014-12-09 14:35:27 +01:00
Konstantin Käfer
917c0168ab
don't include the source file in every library
2014-12-09 14:14:11 +01:00
Leith Bade
d2792e2987
Tidy up HeadlessView
2014-12-09 21:47:30 +11:00
Konstantin Käfer
318ef5d443
Merge pull request #705 from mapbox/user-agent-os
...
Include operating system and actual version number in User Agent string
2014-12-08 23:18:09 +01:00
Konstantin Käfer
8fd04ebc44
add missing gyp file
2014-12-08 22:35:03 +01:00
Mike Morris
c61537af8f
nu_static_libs
2014-12-08 12:24:57 -08:00
Konstantin Käfer
b512c43296
support fewer parameters
2014-12-08 17:22:15 +01:00
Konstantin Käfer
5a3d0b0d3a
don't print more information when a tag actually is available
2014-12-08 16:59:02 +01:00
Konstantin Käfer
0a84deef91
make sure it also works when there are no git tags
2014-12-08 16:47:24 +01:00
Konstantin Käfer
e11c073e51
report version number in user agent string
...
refs #628
2014-12-08 16:21:15 +01:00
Konstantin Käfer
d04d75abae
Merge pull request #628 from mapbox/user-agents
...
Set user agent to something useful
2014-12-08 11:14:32 +01:00
Konstantin Käfer
1f91be988b
add user agent header
...
fixes #628
2014-12-08 11:04:08 +01:00
John Firebaugh
de098591c5
Remove Map::cleanup and Painter::cleanup
...
Both were noops.
2014-12-06 14:08:40 -08:00
Dane Springmeyer
004d12ea0b
Merge pull request #698 from mapbox/cache-shaders
...
Add caching of compiled shaders
2014-12-05 23:37:35 -05:00
Leith Bade
67c1ff2f95
Fix rebase
2014-12-06 14:28:34 +11:00
Leith Bade
6df4e4a52c
Load program binary extension on Linux
2014-12-06 14:21:08 +11:00
John Firebaugh
ff640132de
Move setAccessToken to CachingHTTPFileSource
2014-12-04 17:03:23 -08:00
John Firebaugh
0a942b6f14
Change Map::stop to use std::function<void()>
...
Fixes #685
2014-12-04 15:58:04 -08:00
John Firebaugh
13564fb876
Create GlyphStore up front
2014-12-04 15:26:54 -08:00
John Firebaugh
0c9ae49b47
get/setBase may be called from main thread
2014-12-04 15:26:54 -08:00
John Firebaugh
36500b9f95
Add CachingHTTPFileSource::clearLoop()
...
So loop state can be cleaned up in the appropriate thread.
This is a hack; loop needs to be externalized from Map.
Fixes #686
2014-12-04 15:26:54 -08:00
John Firebaugh
16fe8e64c4
Move setReachability to CachingHTTPFileSource
2014-12-04 15:14:40 -08:00
John Firebaugh
9aff2c386c
Remove invalid map->terminate()
...
Map has already been destroyed by this point, so the
call is invalid. The work that terminate() would do
has already been done.
2014-12-04 14:31:29 -08:00
Konstantin Käfer
22f02ac007
Merge pull request #622 from mapbox/private-headers
...
make most headers private
2014-12-04 20:24:29 +01:00
Konstantin Käfer
3b190ddd0d
fix build
2014-12-04 20:13:08 +01:00
Konstantin Käfer
1e3fb3a423
remove usage of relative paths
2014-12-04 20:02:51 +01:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00
Konstantin Käfer
bff6aeb4da
switch to plain file streams rather than JSON
2014-12-04 20:00:41 +01:00
John Firebaugh
97d7f065d6
Add virtual destructor for FileSource
2014-12-04 10:52:26 -08:00
John Firebaugh
e5f70bddf6
Update mapbox-gl-cocoa
2014-12-04 10:35:50 -08:00
Konstantin Käfer
b449b22abc
remove use of std::to_string in favor of boost::lexical_cast
...
std::to_string calls sprintf() internally, which is really slow
2014-12-04 12:59:09 +01:00
Konstantin Käfer
65451187f5
[performance] remove use of snprintf in hot path; it's pretty slow on iOS
2014-12-04 12:19:21 +01:00
John Firebaugh
57249ca32c
Prefer stdlib to libuv ( fixes #688 )
2014-12-03 17:38:10 -08:00
John Firebaugh
10ebcbca93
Remove unused
2014-12-03 13:42:02 -08:00
John Firebaugh
21b4f8c501
libuv handles must be deallocated asynchronously
...
Fixes #659
2014-12-03 12:04:56 -08:00
Mike Morris
90a7be9079
Merge pull request #677 from mapbox/caching-http-file-source
...
Break out FileSource interface
2014-12-03 12:36:32 -05:00
Mike Morris
dac76a0f92
break out FileSource as an abstract class
...
add CachingHTTPFileSource implementation
2014-12-03 12:25:11 -05:00
Konstantin Käfer
d3ab895153
switch to a newer version of GLFW
...
refs #679
2014-12-03 12:30:29 +01:00
Konstantin Käfer
dbdc64592c
don't set the window title on every frame
...
this is a significant performance penalty, at least on OS X, and drops our frame rate below 60fps on even simple scenes. instead of showing the position of the map in the window, we should display it elsewhere
2014-12-03 11:59:39 +01:00
Konstantin Käfer
82f3574d09
add array overloads to make_unique and move it to mbgl::util from std
2014-12-03 11:27:24 +01:00
John Firebaugh
50669307c5
Remove unnecessary cast
2014-12-02 12:24:26 -08:00
John Firebaugh
a6522d4a5a
Texturepool ⇢ TexturePool ( fixes #655 )
2014-12-02 12:24:25 -08:00