Konstantin Käfer
dae18cc7bc
remove some unused includes
2015-04-28 14:32:21 -04:00
Konstantin Käfer
b0a30943b4
move most private Map code to MapContext
2015-04-28 14:32:20 -04:00
Ansis Brammanis
f1edce8e21
remove linejoin shader
...
The previous commit switched to using triangles for drawing round joins.
2015-04-27 11:44:49 +02:00
John Firebaugh
691756d7dd
Move ClipID to clip_id.hpp/cpp
2015-04-09 10:58:11 -07:00
John Firebaugh
d8411f26d2
Tile::ID ⇢ TileID
...
This allows making both Tile and TileID private.
2015-04-06 13:58:56 -07:00
John Firebaugh
7e0e55e542
Eliminate StyleSource
...
Fixes #695
2015-04-06 10:30:01 -07:00
John Firebaugh
41c4d50f8a
Remove unused
2015-04-03 13:51:33 -07:00
John Firebaugh
9331acf8e6
Add typedefs for std::chrono::steady_clock types
2015-04-02 12:28:12 +02:00
John Firebaugh
5264982ba7
Eliminate StyleLayerGroup
2015-04-01 11:14:20 -07:00
Konstantin Käfer
220ebf61dd
replace iterator variable types with auto
2015-04-01 16:42:42 +02:00
Ansis Brammanis
31a3d3603c
clip fill antialiasing with depth buffer to avoid overlapping
...
https://github.com/mapbox/mapbox-gl-native/pull/381
2015-03-24 16:08:26 -07:00
John Firebaugh
0c985c024b
Revert "Move atlas ownership to Style"
...
This reverts commit bffee07154 .
2015-03-13 13:05:32 -07:00
John Firebaugh
bffee07154
Move atlas ownership to Style
...
This follows gl-js and just makes sense -- whenever the style changes
the atlases should be blown away.
Refs #957
2015-03-13 10:55:47 -07:00
Thiago Marcos P. Santos
124b49562d
Get rid of printf and cout by using Log::*
...
Use our logging system that will route the message accordingly on
the target platform.
Fixes #613
2015-03-12 14:19:32 +02:00
Konstantin Käfer
0151fe6c01
pass StyleLayer objects as const ref instead of a shared pointer
2015-03-06 13:26:11 +01:00
Justin R. Miller
6e41664cb0
fixes #476 & #853 : pixel/meter/latlng conversion routines in core & iOS
2015-02-16 09:52:36 -08:00
Ansis Brammanis
6d47e9b684
use correct interpolation for background images
2015-02-10 10:59:32 -08:00
Ansis Brammanis
4ec0028856
switch from low/high to from/to
2015-02-04 12:08:29 -08:00
Ansis Brammanis
465b1ac3eb
Merge branch 'master' into pattern-functions
...
Conflicts:
src/mbgl/renderer/painter.cpp
src/mbgl/renderer/painter.hpp
src/mbgl/renderer/painter_fill.cpp
src/mbgl/renderer/painter_line.cpp
src/mbgl/style/style_layer.cpp
src/mbgl/style/style_layer.hpp
src/mbgl/style/style_layer_group.cpp
src/mbgl/style/style_layer_group.hpp
2015-02-04 11:05:36 -08:00
Leith Bade
89bbd29278
Use std::chrono
2015-02-04 09:39:25 +11:00
Ansis Brammanis
c9f8de863d
remove old version of zoomHistory
2015-02-02 18:27:55 -08:00
Ansis Brammanis
322f46a5db
implement functions for line-image
2015-02-02 17:57:12 -08:00
Ansis Brammanis
b3ca6fcca6
implement functions for background-image
2015-02-02 16:23:10 -08:00
Ansis Brammanis
d532824aec
implement functions for patterns
...
It introduces a new function type, FadedStopsFunction, that transitions
between the stops values instead of interpolating between them.
2015-02-02 14:46:48 -08:00
Ansis Brammanis
60035d7728
Merge branch 'no-crossfade'
...
Conflicts:
src/mbgl/renderer/painter_line.cpp
2015-01-26 12:19:40 -08:00
John Firebaugh
7694b0c1ec
Merge pull request #771 from mapbox/visibility
...
Add visibility property for v7
2015-01-26 11:09:16 -08:00
Ansis Brammanis
c5d5a799be
Don't permanently crossfade fill patterns.
...
js: 00e11591106dae7eb02eff0328364d8ec03fdaa5
2015-01-23 17:05:30 -05:00
Lauren Budorick
66355b7d86
Add visibility property for v7.
2015-01-22 17:11:07 -08:00
Ansis Brammanis
2643a0efc7
start porting dash lines from js
...
- switches to dash units that are scaled by line width
- adds a lineatlas to store patterns line dashed lines
- adds linesdf shader which renders line fill from the lineatlas
js: 8e83d76af3bd877eb9639c02e296363e2c0186f8
2015-01-14 20:56:18 -05:00
Konstantin Käfer
f8ba23377d
[performance] remove glFlush()
2014-12-12 12:37:55 +01:00
Konstantin Käfer
93d56294cf
update error reporting function
2014-12-10 13:21:08 +01: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
John Firebaugh
de098591c5
Remove Map::cleanup and Painter::cleanup
...
Both were noops.
2014-12-06 14:08:40 -08:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00