artemp
9364fd7322
make addGlyphsToAtlas static method of SymbolBucket + add addGlyphs method to minimise number of mutex locking
2014-10-27 14:18:11 -04:00
Konstantin Käfer
10cb83579f
gcc fixes
2014-10-23 02:46:15 -07:00
Konstantin Käfer
214f99673f
fix variable shadowing
2014-10-22 18:19:01 +02:00
Konstantin Käfer
087d04292a
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
2014-10-22 15:18:30 +02:00
John Firebaugh
4603ca037c
background-image support
2014-10-17 10:44:38 -07:00
Mike Morris
2d1219fa51
Merge branch 'master' into libuv-0.10-headless-display
...
Conflicts:
common/curl_request.cpp
common/glfw_view.cpp
common/glfw_view.hpp
include/mbgl/platform/request.hpp
ios/mapbox-gl-cocoa
setup-libraries.sh
src/map/map.cpp
src/platform/request.cpp
test/fixtures/fixture_request.cpp
2014-10-10 12:24:45 -04:00
Konstantin Käfer
f26bb724dc
use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness
2014-09-24 16:14:09 +02:00
Mike Morris
89f54e8789
update Painter::deleteShaders
2014-09-10 19:00:28 -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
John Firebaugh
eb4f53cbed
SDF icon support ( fixes #404 )
2014-09-08 15:12:32 -07:00
John Firebaugh
2033eb9494
Don't overrotate line labels ( fixes #462 )
2014-09-08 11:22:54 -07:00
John Firebaugh
de720f3515
FrameHistory::getFadeProperties
2014-09-05 14:03:33 -07:00
John Firebaugh
7b9ad022a9
Implement text-rotation-alignment
2014-09-04 18:12:40 -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
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
9d6c7685d0
Implement {text,icon}-translate[-anchor]
2014-08-28 17:24:29 -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
c13cc4aa38
Record frame history in the correct place
...
Fixes numerous issues with rendering tests.
2014-08-28 16:43:03 -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
Konstantin Käfer
953e5524a9
fix basepath for headless stylesheets
2014-08-27 14:28:56 +02: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
6610a6370b
use platform-specific NSString for case changes on OS X/iOS
...
refs #309
2014-08-22 12:37:23 +02:00
Konstantin Käfer
de822826c6
never place infinitely deep symbols
2014-08-21 15:52:27 +02:00
Konstantin Käfer
863b4577e4
compute unique clip ids per tile, taking covering children into account
...
fixes #206
fixes #220
refs #229
2014-08-21 15:02:08 +02:00
John Firebaugh
2660b7bd1b
Rename existing interpolate -> resample
2014-08-20 13:52:39 -07:00
Ansis Brammanis
32a1711d8c
remove support for composite layers
2014-08-15 15:52:53 +02:00
Konstantin Käfer
937f82fcda
use pimpl for collision in tile_parser
2014-08-15 15:18:29 +02:00
Ansis Brammanis
6c45972502
allow crosstile labels and add symbol-avoid-edges
2014-08-15 15:18:29 +02:00
Konstantin Käfer
8c3675755e
base static vertexbuffer on buffer object
2014-08-15 13:39:49 +02:00
Konstantin Käfer
a81c2efba2
don't replace shaders on duplicate setup() call
...
fixes #408
2014-08-15 13:36:14 +02:00
Konstantin Käfer
d6bfb4be65
fix binding to vaos
2014-08-14 18:30:45 +02:00
Konstantin Käfer
1799c1b04c
fix image pattern rendering
2014-08-14 12:58:41 +02:00
Konstantin Käfer
bfd1281285
only set changed glDepthRange values
2014-08-14 12:58:41 +02:00
Lauren Budorick
badc1ea28b
Merge pull request #418 from mapbox/raster-styling
...
Raster styling
2014-08-13 11:00:04 -07:00
Lauren Budorick
8a9a43af7f
fix std::sqrt
2014-08-13 09:52:54 -07:00
Konstantin Käfer
3492a55f97
remove unnecessary variable
...
[skip ci]
2014-08-13 10:44:44 +02:00
Lauren Budorick
b2aa60baac
std namespacing trig fns
2014-08-12 22:56:16 -07:00
Lauren Budorick
4de2aafd30
rm commented line [skip ci]
2014-08-12 19:01:40 -07:00
Lauren Budorick
0d2724dec4
Raster styling all functional except brightness -- need to rework parsing
2014-08-12 18:27:35 -07:00
Konstantin Käfer
22e179aa37
remove trailing whitespace
...
[skip ci]
2014-08-12 16:30:27 +02:00
Konstantin Käfer
18b1469e9e
use unified RenderPass type
2014-08-12 15:24:02 +02:00
Lauren Budorick
0263a9ffb7
minor access changes etc
2014-08-11 15:42:09 -07:00
Lauren Budorick
41165452bc
some cleaning up, raster spin->hue-rotate rename
2014-08-11 12:13:24 -07:00
Lauren Budorick
1ad2f26b9d
VICTORY
2014-08-11 12:13:23 -07:00