Konstantin Käfer
b94635f704
parse cache-control and last-modified headers
2014-09-24 16:12:03 +02:00
Konstantin Käfer
28446bed24
compress data and store type
2014-09-24 16:12:02 +02:00
Konstantin Käfer
34fe7dc627
add basic request caching with sqlite
2014-09-24 16:12:02 +02:00
John Firebaugh
896379daa5
Refactor tile cover to match JS
2014-09-22 13:39:43 -07:00
Mike Morris
15564b81a3
Merge branch 'fix-context-shutdown-merge' into libuv-0.10-fix-context-shutdown
...
Conflicts:
src/map/map.cpp
2014-09-10 18:53:20 -04:00
Leith Bade
71549e7b93
Adds the function Map::terminate() to allow all GL resources held
...
by the map to be released immediately.
Map::terminate() will call any GL functions on the current thread
without blocking or defering to the rendering thread.
This function allows a GL context to be destroyed and recreated
safely without having to delete the Map object.
Fixes mapbox/mapbox-gl-native#341
Conflicts:
include/llmr/renderer/painter.hpp
test/headless.cpp
2014-09-10 18:31:20 -04:00
Leith Bade
c004c03696
Add View::make_inactive() to remove context from rendering thread
...
View::make_inactive() is called just before termination of the
rendering thread. The implementation must clear the thread's GL
context.
This ensures there is no context still bound to a thread during
GL shutdown. This is needed as GL will not actually delete a
context until it is not active on any thread.
Fixes mapbox/mapbox-gl-native#340
Conflicts:
common/glfw_view.hpp
include/llmr/map/view.hpp
test/headless.cpp
2014-09-10 18:21:03 -04:00
Mike Morris
c32bb85248
Merge branch 'master' into libuv010
2014-09-09 17:06:22 -04:00
John Firebaugh
eb4f53cbed
SDF icon support ( fixes #404 )
2014-09-08 15:12:32 -07:00
John Firebaugh
de720f3515
FrameHistory::getFadeProperties
2014-09-05 14:03:33 -07:00
John Firebaugh
9d5f02ccaa
Match js shaders
...
The only non-incidental change is to revert portions
of d5b4c116 and 3a9a9043 .
See d5b4c1162d (commitcomment-7668050)
2014-09-05 13:23:14 -07:00
John Firebaugh
f2391e25ea
TextShader ⇢ SDFShader
2014-09-04 17:59:22 -07:00
John Firebaugh
1fedf0918a
Less shader boilerplate
2014-09-04 16:22:25 -07:00
John Firebaugh
c14ae3c477
Fix text/icon-translate-anchor
...
These are style properties, not render properties.
2014-09-04 15:38:14 -07:00
John Firebaugh
4694aa40ad
Add SpriteAtlas::getPosition()
2014-09-03 18:12:40 -07:00
John Firebaugh
586cb9144a
Make renderLine more similar to JS
2014-09-03 18:12:40 -07:00
Lauren Budorick
71c31cee24
linepattern in progress
2014-09-03 18:12:40 -07:00
John Firebaugh
c1280f0b38
Revert "coalesce texture uploads at the beginning of a frame"
...
This reverts commit 8c2c7f769f .
See #454
Conflicts:
src/geometry/glyph_atlas.cpp
src/geometry/sprite_atlas.cpp
2014-09-03 18:12:39 -07:00
John Firebaugh
bb9a466adb
Revert "Avoid zero size array warning"
...
This reverts commit d4fd57aae9 .
2014-09-03 17:04:38 -07:00
Mike Morris
a8021e84f8
Merge branch 'master' into libuv010
2014-08-29 15:43:13 -04:00
John Firebaugh
2e8fb5f667
Fix text-line-height
2014-08-28 18:44:11 -07:00
John Firebaugh
e71a1a9077
Simplify
2014-08-28 17:16:37 -07:00
John Firebaugh
bfa0b7f009
Remove vtxMatrix state
2014-08-28 17:13:55 -07:00
John Firebaugh
6855590548
Fix default text-size
2014-08-28 16:48:01 -07:00
John Firebaugh
c13cc4aa38
Record frame history in the correct place
...
Fixes numerous issues with rendering tests.
2014-08-28 16:43:03 -07:00
John Firebaugh
fd40bde612
Make Glyph and Sprite Atlases noncopyable
2014-08-28 13:40:17 -07:00
John Firebaugh
d4fd57aae9
Avoid zero size array warning
2014-08-28 12:23:44 -07:00
John Firebaugh
9f734ee61d
background-opacity support
2014-08-28 10:43:53 -07:00
John Firebaugh
e2c2ab843e
Render background with plain shader
2014-08-27 18:22:20 -07:00
Mike Morris
f05610b9ab
Merge branch 'master' into libuv010
2014-08-27 14:41:30 -04:00
Konstantin Käfer
953e5524a9
fix basepath for headless stylesheets
2014-08-27 14:28:56 +02:00
Konstantin Käfer
a55be0217b
test with the current release type's settings to avoid double compiles
2014-08-27 12:37:07 +02:00
Konstantin Käfer
312cae1a05
Merge pull request #451 from mapbox/noncopyable-vao
...
VertexArrayObject and ElementGroup should be noncopyable
2014-08-27 12:36:48 +02:00
Konstantin Käfer
c3cb458225
make ElementGroup and VertexArrayObject movable to avoid using unique_ptrs
2014-08-27 12:08:21 +02:00
John Firebaugh
489b664232
Remove unused
2014-08-26 15:15:33 -07:00
John Firebaugh
42d0740ef0
VertexArrayObject and ElementGroup should be noncopyable
2014-08-26 14:43:56 -07:00
Mike Morris
050b00cb58
Merge branch 'master' into libuv010
...
Conflicts:
setup-libraries.sh
2014-08-26 16:55:08 -04:00
Konstantin Käfer
5b4ad90bac
Merge pull request #445 from mapbox/nsstring
...
Use NSString-specific case change functions on OS X/iOS
2014-08-26 17:43:02 +02:00
Konstantin Käfer
0f73a0192e
Merge pull request #439 from mapbox/clipping
...
Compute unique clip IDSs per tile
2014-08-26 17:42:53 +02:00
Konstantin Käfer
7dcc061ac5
Merge pull request #437 from mapbox/fix-gcc
...
Make linux fails
2014-08-26 17:42:34 +02:00
Mike Morris
7ae3b8e8ee
Merge branch 'master' into libuv010
2014-08-25 16:13:24 -04:00
John Firebaugh
3d9a293258
Support for Mapbox fontstack API
2014-08-22 17:14:51 -07:00
Leo Lou
c6a947de12
Use float for pixelRatio
2014-08-22 09:31:30 -07:00
Konstantin Käfer
6610a6370b
use platform-specific NSString for case changes on OS X/iOS
...
refs #309
2014-08-22 12:37:23 +02:00
Lauren Budorick
0168612ed3
Load TileJSON; support inline TileJSON sources
...
Fixes #412
Refs https://github.com/mapbox/mapbox-gl-style-spec/pull/143
2014-08-21 16:12:27 -07:00
Konstantin Käfer
f4929b0e6f
use correct implementation
2014-08-21 16:22:41 +02:00
Konstantin Käfer
178d8ca62d
also use boost codecvt on linux
2014-08-21 16:03:02 +02:00
Konstantin Käfer
6730beec0e
remove unused threadpool class
2014-08-21 15:51:10 +02:00
Konstantin Käfer
1fa3a3e85a
add a few fixes for gcc
...
fixes #437
2014-08-21 15:46:20 +02:00
Konstantin Käfer
2c6e34a4fe
add != operator for certain stdlib implementations
2014-08-21 15:39:58 +02:00