John Firebaugh
5c7dfd948f
[core] *Tile ↔ *TileData
...
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
2016-06-13 10:59:33 -07:00
John Firebaugh
3ab7c1cca3
[core] Tile ⇢ RenderTile
2016-06-13 10:57:46 -07:00
John Firebaugh
39b0b36759
[core] Remove unnecessary virtual redoPlacement overload
2016-06-13 10:57:46 -07:00
John Firebaugh
37f9e83843
[core] Privatize geojson_tile.hpp contents
2016-06-13 10:57:46 -07:00
John Firebaugh
0d2db2a5e3
[core] Privatize vector_tile.hpp contents
2016-06-13 10:57:46 -07:00
John Firebaugh
13d0a8b815
[core] Merge vector_tile_data.{hpp,cpp} into vector_tile.{hpp,cpp}
2016-06-13 10:57:46 -07:00
John Firebaugh
078392eda9
[core] Merge annotation_tile_data.{hpp,cpp} into annotation_tile.{hpp,cpp}
2016-06-13 10:57:46 -07:00
John Firebaugh
0035eb0122
[core] Merge geojson_tile_data.{hpp,cpp} into geojson_tile.{hpp,cpp}
2016-06-13 10:57:46 -07:00
John Firebaugh
06d9f8f4bb
[core] Remove unnecessary explicit destructors
2016-06-13 10:57:46 -07:00
John Firebaugh
7c282d074c
[core] Eliminate static {Vector,Raster}TileData::parseData
2016-06-13 10:57:46 -07:00
Bruno de Oliveira Abinader
bfcd21dd7e
[core] Update line-pattern shader code/tests
...
Refs:
- mapbox-gl-test-suite: https://github.com/mapbox/mapbox-gl-test-suite/pull/107
- mapbox-gl-shaders: https://github.com/mapbox/mapbox-gl-shaders/pull/17
- mapbox-gl-js: https://github.com/mapbox/mapbox-gl-js/pull/2724
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1 .
2016-06-13 13:16:47 +03:00
Konstantin Käfer
2bdecdf9f9
[core] fix pedantic warning messages
2016-06-13 11:16:19 +02:00
Bruno de Oliveira Abinader
9b6c2e6940
[test] Added Projection tests
2016-06-13 10:11:20 +03:00
Bruno de Oliveira Abinader
62d355ab15
[build] Make node_modules non-parallel
2016-06-12 11:31:55 +03:00
Young Hahn
0dee9f81f3
Don't apply textRotate twice. ( #5321 )
2016-06-11 12:37:28 -04:00
Young Hahn
ecd4aa1439
text-pitch-alignment ( #5288 )
...
* First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668
* RotationAlignmentType => AlignmentType
* Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment
* Update dependencies
* Move handling fo undefined default value out of camelize functions
2016-06-10 23:05:15 -04:00
Young Hahn
a8df0feb54
Use shaders@f0b94dcc5f782958e9aade61d592a207d8a46e0f ( #5314 )
2016-06-10 14:40:43 -04:00
Bruno de Oliveira Abinader
a78592f9f2
[core] Port pitched circle rendering from gl-js
...
Extrude scale is already multiplied with altitude by default since
62b4dd554a .
Fixes #5006 .
2016-06-10 20:59:43 +03:00
Bruno de Oliveira Abinader
80960b3939
[test] Added style layer properties tests
2016-06-10 17:35:02 +03:00
Bruno de Oliveira Abinader
6a35147fec
[core] Redundant id check in TexturePoolDeleter
2016-06-10 17:35:01 +03:00
Bruno de Oliveira Abinader
83a3c18bdb
[build] Update compdb & tidy for Linux & OS X
2016-06-10 17:35:01 +03:00
Bruno de Oliveira Abinader
07da939a76
[build] Use Debug folders by default on YCM config
...
We've recently moved from Release to Debug default build type.
2016-06-10 15:16:57 +03:00
John Firebaugh
ca8b26bbf6
[core] Inline TileSource::isRequired, remove unused isOptional
2016-06-10 12:42:14 +02:00
John Firebaugh
49120b1974
[core] Merge FileBasedTileSource and TileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
94cfb1eb5a
[core] Factor common code into FileBasedTileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
a1d1bb0c6d
[core] Simplify FileBasedTileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
4596157fe0
[core] Merge ImageTileSource into RasterTileData
2016-06-10 12:42:14 +02:00
John Firebaugh
8d8d03a451
[core] Merge VectorTileSource into VectorTileData
2016-06-10 12:42:14 +02:00
John Firebaugh
91ddcbce20
[core] Merge GeoJSONTileSource into GeoJSONTileData
2016-06-10 12:42:14 +02:00
John Firebaugh
d62baffb1b
[core] Merge AnnotationTileSource into AnnotationTileData
2016-06-10 12:42:14 +02:00
John Firebaugh
b45713e5e9
[core] Eliminate TileData dependency on TileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
dbf16440a6
[core] Eliminate Source dependency on TileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
c3a8534a43
[core] Push conditional initialization into subclasses
2016-06-10 12:42:14 +02:00
John Firebaugh
908f3f0832
[core] Introduce GeometryTileData subclasses
2016-06-10 12:42:14 +02:00
John Firebaugh
a7cc291ce1
[core] Move setObserver out of Source::createTile
2016-06-10 12:42:14 +02:00
John Firebaugh
5f05294118
[core] Move cache lookup out of Source::createTile
2016-06-10 12:42:14 +02:00
John Firebaugh
7235ba0bfb
[core] Repeat some code so that all branches are parallel
2016-06-10 12:42:14 +02:00
John Firebaugh
ebd19db42a
[core] Remove unused includes
2016-06-10 12:42:14 +02:00
Konstantin Käfer
4e5d065000
[core] load parents of missing tiles as optional
2016-06-10 12:42:14 +02:00
Konstantin Käfer
fce5dd5f6a
[core] TileData objects now store whether an optional load attempt was performed
2016-06-10 12:42:14 +02:00
Konstantin Käfer
8a8f828e41
[core] rename onPlacementRedone -> onNeedsRepaint
2016-06-10 12:42:14 +02:00
Konstantin Käfer
2c7f7fb566
[core] createTile callback can load optional and required tiles
2016-06-10 12:42:14 +02:00
Konstantin Käfer
4673a9d6b3
[core] remove unused TileSource::loaded
2016-06-10 12:42:14 +02:00
Konstantin Käfer
913d28e745
[core] TileSources always start out as Optional
2016-06-10 12:42:14 +02:00
Konstantin Käfer
91895b9aec
[core] only perform optional requests if the FileSource supports it
2016-06-10 12:42:14 +02:00
Konstantin Käfer
f180179d1b
[core] allow changing the necessity of a TileSource
2016-06-10 12:42:14 +02:00
Konstantin Käfer
4357fed93b
[core] merge similar implementation of VectorTileSource and ImageTileSource
2016-06-10 12:42:14 +02:00
Konstantin Käfer
971807d3b0
[core] move parsePending() call to TileData
2016-06-10 12:42:14 +02:00
Konstantin Käfer
436d8eb5e0
[core] introduce TileDataObserver
...
avoids passing around bound callback functions
2016-06-10 12:42:14 +02:00
Konstantin Käfer
2b6d0751cf
[core] restructure TileSource construction and callbacks
2016-06-10 12:42:14 +02:00